The EX(EC) command allocates the library according to several rules.
-- EX MYLIB(SCRIPT) attempts to run member SCRIPT in library
'tso-pref.MYLIB.CLIST'
-- EX MYLIB(SCRIPT) EXEC attempts to run member SCRIPT in library
'tso-pref.MYLIB.EXEC'
-- EX 'hlq.SOMELIB.PROC(SCRIPT)' attempts to run member SCRIPT in the library
exactly as named, no assumptions.
-- Parameters passed to the exec must be enclosed in single quotes. This means
that any single quotes passed in the parms must be doubled:
-- EX MYLIB(SCRIPT) 'DS(''hlq.a.b.c(member)'' ' These are two single quotes,
not a double quote. This can be a major typing challenge. Best executed from
another script.
.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
[email protected]
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of J R
Sent: Saturday, March 19, 2016 8:29 AM
To: [email protected]
Subject: (External):Re: SYSPROC Concatenation?
> o Isn't the argument to EX a DDNAME, not a DSNAME?
No!
> o What causes that PDS to be allocated?
The EX command.
________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Paul Gilmartin <[email protected]>
Sent: Saturday, March 19, 2016 10:25 AM
To: [email protected]
Subject: Re: SYSPROC Concatenation?
On Fri, 18 Mar 2016 23:28:46 -0500, Ed Gould wrote:
>The way I learned to do it was that logon procs did a universal ex
>sysproc(logon) and if you had a pds that had the member logon in it
o Isn't the argument to EX a DDNAME, not a DSNAME?
o What causes that PDS to be allocated? That was the OP's
question.
Or is the assumption that there's an optional
'prefix.SYSPROC(LOGON)'
and that failure of the EXEC command is tolerable.
>it would exec that clist and in that clist you could allocate the
>libraries to your liking. With the understanding that if didn't have
>IBM libraries first don't come trouble shooting to us.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN