View previous topic :: View next topic
|
Author |
Message |
srinut123
New User
Joined: 11 Oct 2005 Posts: 62 Location: India
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
srinut123
New User
Joined: 11 Oct 2005 Posts: 62 Location: India
|
|
|
|
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 |
|
|
|