On Mon, 6 Sep 2010 15:28:50 -0400, Thompson, Steve wrote:
>
>drives/mounts and JES3 requires the data sets to exist before the JOB
>starts (otherwise you get a JCL error -- UNLESS the data set is created
>in the JOB via JCL) is hard for some to get their hands around.
>
And if you code DISP=NEW you get a JCL error if the data set
already exists.  And JES3 setup is oblivious to COND, IF, THEN,
ELSE, etc, and operates as if every step will be executed, even
those in both branches of THEN and ELSE.  And it doesn't count
if you create or delete a data set in an IDCAMS step -- JES3
setup only understands JCL allocation.  And the diagnostics are
unsatisfactory to someone minimally familiar with JES3.

Circumventions take the form such as:

    //STEP0 EXEC PGM=IEFBR14
    //STEP1 EXEC PGM=IEFBR14,COND=(0,LE)
    //DD1   DD   DISP=(MOD,CATLG),DSN=DATA.SET.ONE
    //DD2   DD   DISP=(MOD,CATLG),DSN=DATA.SET.TWO
           etc.

-- gil

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

Reply via email to