I want use the value of the rc of a previous step in a next one.
For example:
-BACKUP 00
-RUNCOB 01
-DELETE 00
-RENAME 00
after that I want to use the value "01" of the RUNCOB in a new step and that's exactly the instruction &RUNCOB.RC. PACOTES that is not resolved
//HISTADD EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=A
//SYSIN DD DUMMY
//SYSUT2 DD DSN=&LIBRARY..PT.PRDBLU.HIST,
// DISP=(MOD,CATLG),
// UNIT=SYSDAPRD,LRECL=80,RECFM=FB,SPACE=(CYL,(1,1))
//SYSUT1 DD *,SYMBOLS=EXECSYS
&ACNAME. | D&YYMMDD | T&LHHMMSS | &RUNCOB.RC. PACOTES | SUBMETIDO
//*
-BACKUP 00
-RUNCOB 01
-DELETE 00
-RENAME 00