Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Sum Fields ballaswaroop DFSORT/ICETOOL 4 Tue May 02, 2017 11:07 am
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us