read a binary file as binary in cobol



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

read a binary file as binary in cobol

Postby kilgortrout » Mon Apr 13, 2009 6:59 pm

I need to read a binary file as binary not text anyone know how to do that
kilgortrout
 
Posts: 5
Joined: Tue Jun 10, 2008 10:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: read a binary file as binary in cobol

 

Re: read a binary file as binary in cobol

Postby dick scherrer » Tue Apr 14, 2009 6:22 am

Hello,

Every file read on the mainframe reads binary. . . How the data is used is determined by the code.

What is it you are trying to do that is not working as you want it to?

If you post a small example of the data and explain what you want to do, someone will probably have a suggestion.
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