|
Mary, I just know enough to be dangerous here is a sample: CL Code: FMTDTA INFILE((NLLLIB/EXPSUMPF)) + OUTFILE(NLLLIB/EXPSUMT) + SRCFILE(NLLLIB/SRCPNC) SRCMBR(PRD71901) + OPTION(*NOCHK *NOPRT *NODUMP) Expsumpf is input file,expsumt is output sorted file,prd71901 is a txt type that defines the sort. Prd71901.txt Code: HFILE 13A X FNC 14 15 EXSTNO FNC 31 32 EXTTRR FNC 3 8 EXPNO1 FNC 11 13 EXCOVC FDC 1 111 RCD First H spec defines total length F specs define fields by position number in file and field names. NC and DC beat me. It does work though. You would use expsumt as input to RPG program. HTH -----Original Message----- From: Mary Lynn Riggins <cmcd@radiks.net> To: RPG400-L@midrange.com <RPG400-L@midrange.com> Date: Thursday, July 22, 1999 12:19 AM Subject: FMTDTA >Does anyone have any information about the CL cmd: FMTDTA used to sort input >files. I have not been able to find any info and just curious as to how the >process works. > >Thank you, > >M. L. Riggins > >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >* This is the RPG/400 Discussion Mailing List! To submit a new * >* message, send your mail to "RPG400-L@midrange.com". To unsubscribe * >* from this list send email to MAJORDOMO@midrange.com and specify * >* 'unsubscribe RPG400-L' in the body of your message. Questions should * >* be directed to the list owner / operator: david@midrange.com * >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.