Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

binary data in cobol

Status
Not open for further replies.

vivekiny2k

Programmer
Jan 8, 2003
1
US
Hi,
Is there any way to store data in binary format in cobol.
I need to store 12 digit no. in 5 byte field ( unsigned)
( it would have worked with fixed bin in PL/I)

thanks.
 
Yes. Look at USAGE BINARY in your language reference manual.

More detailed advice might be appropriate if you tell us more about your environment. Mainframe? Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top