Hi, I have a falt file.i want to sort it using a customised format source file.Please tell me how to create a source file for formatting the flat-file.I want the sample of a DDS of sort.
Software/Hardware used:
as400
ASKED:
October 6, 2010 6:22 AM
UPDATED:
October 6, 2010 11:36 PM
At the moment, I can’t find a decent link to describe source statements for the Sort (FMTDTA) command. The best that I can find is in SEU help text.
Create a source member with type SRT, SRT38 or SRT36. Each one has different SEU line prompts, but they all tend to work out the same.
When you start a SEU edit session over the source member, type “IP?” in the sequence number field to request a list of valid input prompt types.
Choose each of the prompt types for the type of member that you created. When the prompt is displayed in the SEU edit window, press <F1> to see the help for each field in that specification type. Press <F2> to see the extended help for the entire specification type. Press <F14> to print a copy of the help that is being displayed.
By printing the extended help for all of the prompt types, you will have a simple set of documentation. That all I can give unless I can track down the old manuals on-line.
Tom
Try this:
publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0918260.pdf
The other Phil