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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Can EDCICONV convert EBCDIC to ASCII... natt.sut IBM Tools 3 Fri Nov 17, 2017 8:46 pm
No new posts Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm

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