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
 

 

TAB DELIMITED FILE TO FIXED FIELD LENGTH FILE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
srinut123

New User


Joined: 11 Oct 2005
Posts: 62
Location: India

PostPosted: Tue Jul 13, 2010 4:43 pm    Post subject: TAB DELIMITED FILE TO FIXED FIELD LENGTH FILE
Reply with quote

Hi
Can we convert a TAB delimited file to a Fixed field length file using DFSORT? If Yes, Please help by providing the sample SORT Control Card.

Thanks
Sri
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Jul 13, 2010 6:17 pm    Post subject: Re: TAB DELIMITED FILE TO FIXED FIELD LENGTH FILE
Reply with quote

srinut123 wrote:
Can we convert a TAB delimited file to a Fixed field length file using DFSORT?
Yes
Quote:
If Yes, Please help by providing the sample SORT Control Card.
Please provide the sample input data and the expected output data....
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue Jul 13, 2010 10:49 pm    Post subject:
Reply with quote

You can use DFSORT's PARSE function for that. For an example, see the "Extract and justify delimited fields" Smart DFSORT Trick at:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094

If you need more specific help, show an example of the records in your input file and what you expect for output. Explain the rules for getting from input to output. Give the hex value of the "tab" delimiter. Give the RECFM and LRECL of the input file. Give the maximum number of fields in a record.
Back to top
View user's profile Send private message
srinut123

New User


Joined: 11 Oct 2005
Posts: 62
Location: India

PostPosted: Wed Jul 14, 2010 11:55 am    Post subject:
Reply with quote

Thanks Frank

Will come back with the sample input/output data If I can't make it using the link you've given.

Thanks
Sri
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


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