reading a file in easytrieve and need to pass it



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

reading a file in easytrieve and need to pass it

Postby kilgortrout » Wed Jun 03, 2009 10:26 pm

I,m reading a file in easytrieve and need to pass it to a called cobol subroutine. The problem is that easytrieve reads the file as text I need it read as binary. Do you know anyway to convert the file to binary?
kilgortrout
 
Posts: 5
Joined: Tue Jun 10, 2008 10:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: reading a file in easytrieve and need to pass it

 

Re: file wrong

Postby Bill Dennis » Wed Jun 03, 2009 10:31 pm

Text or binary is the same data...it's how you define the fields.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: file wrong

Postby dick scherrer » Thu Jun 04, 2009 1:25 am

Hello,

Do you have this working? If not, you need to post more info so someone might be able to help.

Why do you believe the "file wrong"?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post