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
 
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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