On Wed, 18 Apr 2012 08:02:20 -0500, Victor Zhang wrote:
>
>So I code:
>//ABC PROC VER='620'
>//IF620 IF (&VER=620) THEN
>//PGMNAME EXEC PGM=PGM
>//STEPLIB DD DNS=LOADMOD.V620
>//     ELSE
>//PGMNAME EXEC PGM=PGM
>//STEPLIB DD DNS=LOADMOD.V710
>//    ENDIF
> 
A possible drawback of such a scheme is that at job initiation
both data sets will be ENQueued.  Worse, JES3 setup will
require that both data sets be available regardless that only
one will be used.

The ALIAS suggestion is risky.  Job initiation will ENQueue
only on the ALIAS name.  Step initiation will attempt to ENQueue
on the RELATED name; if it is not instantly available the job will
terminate without waiting for it.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to