Keven wrote...
>1. Fix STREAM subsystem to recognize VARs on the job card.
> Then I don't have to hard code account names in the jobs.
> !JOB TEST,MGR.!HPACCOUNT
> !comment
> !EOJ
Not meaning to reinvent STREAMX and similar tools (which I never
had the pleasure to use so far) but you might use this workaround:
!JOB TEST,MGR.@ACCT@
!comment
!EOJ
:/bin/sed "1s/@ACCT@/!HPACCOUNT" < yourjob > tempjob
:STREAM TEMPJOB
:purge tempjob,temp
The cryptic sed command (hopefully correct from memory only) will
(s)ubstitue the @ACCT@ string in line 1 by your logon acct name.
Same trick should also be able to work on more than just line one.
>Thoughts?
Hmmm. Maybe too much Posix lately ;-)
Lars.