Re: JCL SET command and instream SYSIn



On Mon, 30 Jun 2008 03:28:19 -0600, i_mugzach@xxxxxxxxxxxxxxxx wrote:

I already tried that and it doesn't work: A jcl set variable orks only on real JCL not on instream SYSIN (DD *). Any workaround? Any alternative to modify JCL and SYSIN (for example, deleting/definning datasets with IDCAMS) at one parameter without having to use ISPF CHANGE ALL?

Nope.

Thanks for your ideas

I keep some of my JCL members, including one which renames data sets
and defines aliases with IDCAMS, as UNIX shell scripts in which the
actual JCL appears as a here-document. The shell scripts filter
and submit the JCL using parameter substitution in the simpler cases
and sed or awk in the more complicated. One substitution I regularly
do is to create data set names incorporating the current date, not
possible with pure batch JCL.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: passing parameter data in BPXBATCH
    ... command of any length using the + continuation character. ... I try to call a C program via a JCL script. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Resolving an ALIAS
    ... Review figure 38 on page 44 in the manual Bruno Sugliani referenced - http://www.redbooks.ibm.com/redbooks/pdfs/sg245336.pdf ... What is not clear from the example is your user will use SYS5.MQ.whatever in their JCL but will reference SYS5.MQ.XXXX.whatever where ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: passing parameter data in BPXBATCH
    ... BPXBATCH. ... I try to call a C program via a JCL script. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • AW: passing parameter data in BPXBATCH
    ... Maybe it's easier to use the STDENV or STDPARM parameter. ... I try to call a C program via a JCL script. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Antwort: IF-Statement in JCL
    ... This is similar to the COND parameter in the EXEC ... From my experiences you cannot evaluate JCL symbols. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)