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 data format in files mapping it with copybook

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Convert the data format in files mapping it with copybook
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

Moderator Team Head


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

PostPosted: Fri Dec 14, 2007 7:22 am    Post subject: Reply to: Convert the data format in files mapping it with c
Reply with quote

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

http://ibmmainframes.com/viewtopic.php?t=24228
http://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    Post subject: Re: Reply to: Convert the data format in files mapping it wi
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am


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