Page 1 of 1

Data storage fields in cobol

PostPosted: Thu Nov 11, 2010 4:18 pm
by kunal3963
Can any one tell me memory layout of data storage fields like packed decimal,binary,comp,comp-1,comp-2,comp-3 with example?

Re: Data storage fields in cobol

PostPosted: Thu Nov 11, 2010 4:49 pm
by NicC
Try reading the manuals - both the Language Reference and the User Guide. Then write a little program that will create a record containing all the data types and then browse that record in ISPF. Hint: use HEX ON command when in browse/view/edit.

Re: Data storage fields in cobol

PostPosted: Fri Nov 12, 2010 1:14 am
by dick scherrer
Hello,

Read here:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0/5.3.17.1

and bookmark this manual as you will use it often. . .

If you find something n the documentation that is not clear, post whatyou found and your doubt.

Someone will be able to clarify.