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

TAB DELIMITED FILE TO FIXED FIELD LENGTH FILE


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Tue Jul 13, 2010 6:17 pm
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 Developer


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

PostPosted: Tue Jul 13, 2010 10:49 pm
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:

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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top