|
> Murali wrote: > I have the following command in my CL > FMTDTA INFILE((&FLIB/YCP05305)) + > OUTFILE(&FLIB/YWKCP53T) + > SRCFILE(YGSC/QDDSSRC) SRCMBR(YCP05310S) + > OPTION(*NOPRT) > > I know that some sorting is going on the infile > YCP05305 and producing the outfile YWKCP53T > based on the selection criteria written in the text > file YCP05310S. > when i saw this text file YCP05310S, i could see > following > HSORTR 24A 3X 83 N N > I > FNC 10 17 ACCOUNT > FNC 4 5 EXCH > FNC 2 3 FC > FNC 25 26 YEAR > FNC 23 24 MONTH > FNC 58 58 P/C > FNC 39 43 STRIKE > FNC 76 77 PROMPT DAY > FDC 1 83 > Can anyone let me know how the selection criteria is > happening here in the above text file(what is this > code doing), I could not understand. Also I have seen > some folks suggesting some time back some manual on > this textfiles to read. Murali, Try the Sort Users Guide and Reference. Here is a link to the V4R5 manual: http://publib.boulder.ibm.com/pubs/html/as400/online/v4r5eng.htm The source member YCP05310S contains the "sort" specifications. See chapter 8 for a description of the Header specification, chapter 9 for the record specifications (the FN statements), and chapter 10 for the field specifications (the FD statements). Steve Landess Austin, Texas (512) 423-0935
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.