Hmmm - I'm not altogether sure that I'm comfortable with IDCAMS and "efficient" being mentioned in the same sentence. Be that as it may, for large runs, I did find that assembler invocations of the CSI were significantly faster than REXX doing likewise. Horses for courses - REXX is fine for quick jobs.
But to the task at hand - these days I might be inclined to mangle the output of a LISTCAT with perl to get what was wanted. We've probably all got some REXX that'll do (some of) it somewhere, but perl (or awk) are designed for this sort of thing, and reformatting would likely be easier. After my experiences early last year, I might be inclined to make sure I wasn't feeding VBA into it though ... Shane ... On Fri, 28 Oct 2011 00:57:43 -0400 Gerhard Postpischil wrote: > On 10/27/2011 6:36 PM, Dale Miller wrote: > > Frank Bonaduce wrote: "Another possibility ... is ... IGGCSI00. > > If you are versed in Assembler ...". I need to point out that > > Assembler is not necessary. REXX will do just fine. > > The only thing that counts is getting things to work, so if you > use REXX rather than assembler that's fine. However, IDCAMS may > be invoked from assembler using the SYSIN/SYSPRINT exits, making > the process more efficient. ---------------------------------------------------------------------- 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

