I have some Perl code at work which does "things" with IDCAMS output.
I'm at home. It's 01:00 local time. I need to learn how to sleep again.
I hate being old. And yes, I do consider the alternative to be better
any more. 

Of course, as far as reading my Perl code is concerned, all I can say is
that it is easier to understand than my APL code was. <grin> Oh, how I
__LOVED__ using APL at college. 

On Fri, 2011-10-28 at 16:03 +1000, Shane wrote:
> 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 ...

-- 
John McKown
Maranatha! <><

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