McKown, John wrote: > Would I gain very much if I subset my input file using DFSORT instead of subsetting in my REXX code. Seems to me that using DFSORT to subset the data, even if only used once, would result in less CPU, I/O, and elapsed time.
Interpreted REXX is expensive in terms that each source line is interpreted during runtime. I'm not even speaking about inefficient memory usage. DFSORT do make better usage of intermediate workspace on disk and in memory. It is also easier to use different subsets of record type 0200, by changing or expanding the INCLUDE statement. Or you can use ICETOOLS for it. Look for IRRICE in SYS1.SAMPLIB. So, in INMHO, go for DFSORT, that will sort out your problem... :) (You could write a very short assembler program and just scan the first few bytes for 0200. If no match, just move on to the next record.) HTH and SORT it out! ;-D Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

