On 20/10/2017 12:29 AM, Paul Gilmartin wrote:
On Thu, 19 Oct 2017 17:47:47 +0800, David Crayford wrote:
Thanks Kirk!
Using your _BPX_SHAREAS=MUST tip with __spawnp2() I was able to knock up
something similar to COZBATCH. While not anyway near as comprehensive it
does allow us to ship a batch job utility that can install a web server
>from a PDS pax member using a script inspired by your Tomcat
installation comments. It was surprisingly easy using pipes and select()
as you suggested. It's mind boggling why the IBM utilities are so poor.
pax works well with archives in Classic data sets. (I've used DSORG=PS;
never tried PO.) But why not pass the DSN(MEMBER) in PARM rather than
a DD statement. If 100-character limit is intolarable, alternatives include
STDPARM, PARMDD, and STDENV.
Data set names in parms are ugly!
And beware. No standard utilities (e.g. pax) are specified to work with //DD:
and only a handful with //DSN. Otherwise, it's an accident if they work, and
unsupported if they break.
What's the difference between //DSN and //DD:? The way I see it it's
just an argument to fopen() and either will work. Maybe IBM should give
an example with DD: to keep the pedants quiet but I wont lose any sleep
over it.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN