On Wed, 4 Sep 2013 11:27:32 -0400, Shmuel Metz (Seymour J.) wrote:
>on 09/03/2013 at 07:30 PM, Paul Gilmartin said:
>
>>It's logically impossible for JES3 setup to exploit or even
>>accommodate the newer features of JCL, even dating back to
>>IF...THEN...ELSE...ENDIF.
>
>Nonsense.
>
OK. At least extraordinarily cumbersome. Consider:
...
// IF some-condition THEN
//LARGE EXEC PGM=IEFBR14
//SYSUT1 DD DISP=(,CATLG),DSN=FOO.BAR,UNIT=SYSALLDA,SPACE=(1000,1000)
// ELSE
//SMALL EXEC PGM=IEFBR14
//SYSUT1 DD DISP=(,CATLG),DSN=FOO.BAR,UNIT=SYSALLDA,SPACE=(1000,10)
// ENDIF
Works in JES2; fails allocation setup in JES3. Can be repaired by the
Byzantine circumvention of adding a dummy step with COND=(0,LE)
which appears (in setup's myopic view) to DELETE data set FOO.BAR.
JES3 setup assumes every step will be executed, even those that are
logically mutually exclusive, such as by ELSE or COND=(0,LE).
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN