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

Convert the data format in files mapping it with copybook


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CHIRANJEEVI GUTHULA

New User


Joined: 22 Mar 2006
Posts: 9
Location: HYDERABAD

PostPosted: Fri Dec 14, 2007 5:17 am
Reply with quote

Hi

I have a sequential file or a GDG that has a few fields that contain data in binary, packed decimal format etc(they were defined in the program as COMP and COMP-3 etc). Which means i cannot see them and read them meaningfully when i browse the data. My client wants this file to be converted so that they can read the data. So my task now is to convert this format into numeric format to read it while browsing. I need to read the respective copybook to know the data format of the fields in the flat file or GDG.

I know how to reformat the data but not sure how to map the respective copybook to the flat file so as to know the input file format to convert them into the readable format.

Is there anyway that i can map the copybook to the flatfile in the REXX

Thanks a lot
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Dec 14, 2007 7:22 am
Reply with quote

Here's two previous posts you might want to review:

ibmmainframes.com/viewtopic.php?t=24228
ibmmainframes.com/viewtopic.php?t=24244
Back to top
View user's profile Send private message
CHIRANJEEVI GUTHULA

New User


Joined: 22 Mar 2006
Posts: 9
Location: HYDERABAD

PostPosted: Fri Dec 14, 2007 10:17 pm
Reply with quote

Thanks a lot Kevin....
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top