> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Henrique Seganfredo
> Sent: Monday, June 29, 2009 3:33 PM
> To: [email protected]
> Subject: Overriding PARM from the START JOB command
> 
> Hello, I was looking for a way of dynamically changing EXEC 
> PARM contents 
> when starting a new job.
> 
> A friend of mine, after scanning some SYSLOGS, found this 
> interesting piece:
> 
> START JOB,NAME=MYJOB,P='''PARM=XYZ'''
> 
> I did not find anything related in the MVS System Commands 
> manual, which 
> lists only these possible job-level keywords:
> ADDRSPC v BYTES v CARDS v COND v JESLOG v LINES v MSGCLASS v 
> MSGLEVEL v NOTIFY v PAGES v PERFORM v PRTY v REGION v TIME
> 
> So, whats is this 'P' keyword? Is it undocumented? 

An example of this might be something like:

//JOB PROC P=,NAME=
//STEP EXEC PGM=MYPGM,&P
//INPUT DD DISP=SHR,DSN=some.dsn(&NAME)
//* OTHER JCL

Remember that STC JCL is usually just a simple PROC, just like any other PROC.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

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