-----------------------<snip>-------------------
I write a lot of code in REXX. I also like Perl, but rarely use it on z/OS. Anyway, I was just trying to think (hard on the lead in to a 3 day weekend in the states). Would I gain very much if I subset my input file using DFSORT instead of subsetting in my REXX code. My example in this is the output from IRRDBU00. That creates a "flat file" unload of the RACF database, which I use to write a report. I use the 0200 records. In my shop they account for less than 5% of the records in the file. 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. What say ye?
---------------------<unsnip>------------------
GO FOR IT! Unless you're writing in Assembler, SORT will subset the records MUCH faster than REXX or Perl. And you'll find REXX and Perl execution times considerable reduced. This is one case where I learned that adding a step can actually shorten run time. (I was using the DATASET profile records.)

----------------------------------------------------------------------
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

Reply via email to