Hi Robert,
Input File:
//SETVAR01 SET DDD='719'
I wrote once sort step that will increment the DDD value.
//STEP0010 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=TRANSMIT.XXX.AUTO.DDD,DISP=SHR
//SORTOUT DD DSN=TRANSMIT.XXX.AUTO.DDD,DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY
OUTREC IFTHEN=(WHEN=(21,3,ZD,EQ,999),
OVERLAY=(21:C'700')),
IFTHEN=(WHEN=(21,3,ZD,NE,0),
OVERLAY=(21:+1,ADD,21,3,ZD,EDIT=(TTT)))
After that by using the file.. i have to assign that value to a symbolic parameter.
// SET HLQ2=NPDBCBS
// SET HLQ=DN6VM0BN
//SETVAR01 SET DDD=[color=#FF4000]'713' [/color]
So i want to assign the value to the DDD parameter. Please advice me whether we can use the value from the file and can we assign to the ddd parameter