|
FMTDTA reads data from an existing file and writes it to a new file. The data may be sorted in a variety of ways and some or all fields may be written to the new file. The sorting order and field selections are all specified in a script file. The sort specs are not in the SRCPF for the file itself, but rather in a FMTSRC file. It wouldn't be useful for you to see a lot of the details here but in general the script file is written as FMTSRC and has specific columns for specific functions. Column 6 determines the kind of specification line, just as you are used to with RPG. http://publib.boulder.ibm.com/pubs/html/as400/online/v4r5eng.htm from there, search for all books containing "Sort" (Only one will show up. It has the details and several examples.) --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Tuesday, February 25, 2003 00:00:32 To: rpg400-l@xxxxxxxxxxxx Subject: FMTDTA Hi all, Can any body let me know "What FMTDTA command does" . I understand that it processes series of sort spec stored in the SRCPF. What does series of sort specs mean. Can you illustrate with an example TIA Vjiayendra
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.