View previous topic :: View next topic
|
Author |
Message |
sudhaaa
New User
Joined: 24 Mar 2005 Posts: 51
|
|
|
|
Hi,
One of my Pl/1 copybook is having below fields. I need to create a COBOL copybook for the same. Please advise
DCL 1 WK_GROUP;
5 WK_NUMBER FIXED DEC;
5 WK_SIM FLOAT DEC;
I referred PL/1 manuals to find FIXED DEC will occupy 5 bytes, where FLOAT DEC occupy 6 bytes. But not sure how I can define these in Cobol
Also, please let me know what the conversion for FIXED BINARY and FLOAT BINARY
Kindly suggest if this need to be posted under Mainframe Cobol section...
Sudhaaa |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Suggestion: use the link at the top of the page to get to the PL/I manual to determine the default attributes for FIXED and FLOAT variables. Then use the same link to access the COBOL manual to determine which COBOL attributes are needed to match the PL/I attributes. |
|
Back to top |
|
|
|