Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Convert the compressed fields to readable format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Convert the compressed fields to readable format
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    Post subject:
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

Site Director


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

PostPosted: Wed Mar 19, 2008 7:38 pm    Post subject:
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    Post subject: Reply to: Convert the compressed fields to readable format
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

Senior Member


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

PostPosted: Thu Mar 20, 2008 1:55 pm    Post subject: Re: Reply to: Convert the compressed fields to readable form
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us