IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert the compressed fields to readable format


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lavudu

New User


Joined: 26 Feb 2008
Posts: 9
Location: Mumbai

PostPosted: Wed Mar 19, 2008 10:24 am
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Mar 19, 2008 12:34 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 19, 2008 7:38 pm
Reply with quote

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
View user's profile Send private message
lavudu

New User


Joined: 26 Feb 2008
Posts: 9
Location: Mumbai

PostPosted: Thu Mar 20, 2008 12:55 pm
Reply with quote

I have done it with the sort fields in jcl.

Thanks a lot,

Lavanya
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 20, 2008 1:55 pm
Reply with quote

lavudu wrote:
I have done it with the sort fields in jcl.
Hi,

Good, that you got the desired result... icon_smile.gif. As the post was in COBOL forum so no one thought about SORT though ...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts InfoSphere OPTIM CSV ouput vs DSNTIUA... IBM Tools 3
Search our Forums:

Back to Top