On Fri, 6 Nov 2015 14:31:21 -0800, Charles Mills wrote:

>Hmmm. JCL processing versus run-time? When does the SET V2= happen? When JES 
>reads the job in? I suspect so. Or when it runs?
> 
BTW, that was on z/OS 2.1.  The result was the same on 2.2.

But if I add a following step referencing &V2 in the PROC:

//  EXPORT SYMLIST=*
//P     PROC
//GEN   EXEC  PGM=IEBGENER
//SYSPRINT  DD  SYSOUT=(,)
//SYSIN     DD  DUMMY
//SYSUT2    DD  SYSOUT=(,)
//SYSUT1    DD  *,SYMBOLS=JCLONLY
GENER step;
  with V2=&V2..
//*
//BR14  EXEC  PGM=IEFBR14,PARM='Value of V2 is &V2..'
//P     PEND

... the processing appears correctly sequential.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to