[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: SQR JCL to pass a Run-Time Parm?



Les,

You could set up a declaration in your JCL or you can include it in a parm
file...

i.e.:

//          PRMID=JCLPARM1,

Then in your PARMLIB, you can set up a file that has input parameters.  If
this SQR is for PeopleSoft, and the SQR contains run control SQCs, then you
will need to set up your parm file this way:

[JCLPARM1 file]

0
OPRID
RUN_CNTL_ID
<INPUT>         <--------- whatever the value is for the input statement.

Hope this helps.

Michael K. Lee
mlee@agconsult.com
Consultant
AG Consulting, an ADP Company
http://www.agconsult.com






Les Hancock <les_hanc@YAHOO.COM> on 08/03/98 09:15:54 AM

Please respond to SQR-USERS@USA.NET

To:   Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc:    (bcc: Michael Lee/Application Group)
Subject:  SQR JCL to pass a Run-Time Parm?




I would like to put the Run-Time parameter in my JCL. In my SQR, I
would have an Input statement.

Where and how would I put the parm?


Thanks in advance.



Normal JCL:


//STEPONLY   EXEC SQRPROC,SQRID='PYCALLD'
//SQR.SYSTSIN  DD *
DSN SYSTEM(KFT1)
RUN PROG(SQR) -
  PLAN(DB2CALLS) -
  LIB('TSHR.SQR.LOAD') -
  PARMS('DDN:SQRIN DSN/LSH1 -FDDN:SQROUTF -GPRINT=NO -
     -IDDN:SQRINC( -TBZ -DDN:MAXIN')
END
/*

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com