|
|
| Author |
Message |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 107 Location: India
|
|
|
|
Hi,
I need the code to display non displayable data(packed decimal)
in spool.
I just remember that we can use COBOL for this by moving the PD data to another variable and applying some editing formats; not in touch with the exact code, please help!
Thanks. |
|
| Back to top |
|
 |
References
|
|
 |
Terry Heinze
Senior Member
Joined: 14 Jul 2008 Posts: 1041 Location: Richfield, MN, USA
|
|
|
|
| By spool, do you mean SDSF or IOF? If SDSF, look up the SET HEX ON command. F1 is your friend. |
|
| Back to top |
|
 |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 107 Location: India
|
|
|
|
I mean SDSF, i'll check for HEX ON command but still i would like to know the COBOL code for it, i know there is some way of conversion and then we can display it in spool..
Thanks. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 13554 Location: 221 B Baker St
|
|
|
|
Hello,
If you want to see packed data you might simply DISPLAY the packed fields. . . |
|
| Back to top |
|
 |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 107 Location: India
|
|
|
|
| but then it might not give me the exact value |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 13554 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| but then it might not give me the exact value |
Huh? Of course it will give you the exact value. . .
How might something other than the exact value be shown? |
|
| Back to top |
|
 |
Terry Heinze
Senior Member
Joined: 14 Jul 2008 Posts: 1041 Location: Richfield, MN, USA
|
|
|
|
Meenakshi,
Don't you have access to a mainframe so you can test the suggestions you've gotten so far? |
|
| Back to top |
|
 |
Anuj Dhawan
Global Moderator
Joined: 22 Apr 2006 Posts: 4067 Location: Mumbai, India
|
|
|
|
| Suggest you search on keyword "display" on "Mainframe COBOL" part of the forum, you'll get enough working examples around. |
|
| Back to top |
|
 |
|
|