View previous topic :: View next topic
|
Author |
Message |
lavudu
New User
Joined: 26 Feb 2008 Posts: 9 Location: Mumbai
|
|
|
|
Hi
How to convert the compressed fields(comp variables) to readable format.Can it be done using sort cards or any cobol program??????????\
Thanks,
Lavanya |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
if comp-3 couldn't be displayed in a 'readable' format using Cobol then maybe, just maybe, the Cobol forum in this site...wouldn't exist.
read about the PIC clause. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
How to convert the compressed fields(comp variables) to readable format |
Simply MOVE them to either a zoned-decimal field or an "edited" field (i.e. ZZZZ9).
If you have questions, post a few of the field definitions you are having problems with as well as how you would like to "see" them. |
|
Back to top |
|
|
lavudu
New User
Joined: 26 Feb 2008 Posts: 9 Location: Mumbai
|
|
|
|
I have done it with the sort fields in jcl.
Thanks a lot,
Lavanya |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
lavudu wrote: |
I have done it with the sort fields in jcl. |
Hi,
Good, that you got the desired result... . As the post was in COBOL forum so no one thought about SORT though ... |
|
Back to top |
|
|
|