No, its simply like we need to run a particular program for day Numbers starting from 01 to 99. I tried to generate the control card dynamically and could write it into DHBK.BLQSAM.PARMS file using the symbolic parameter but when this file was given as input in SYSTSIN, did not work. Could not find out the problem.
Reading a PARM file into a program would be, probably, preferable. If you still need
to to generate PARM file thru symbolics, AND you have CA-Endevor on your system, then you could use Endevor program that generates 80-byte file based on your symbolic input. You can concatenate it into your SYSTSIN DD.
See this example with some comments:
Code:
//*************************************************************
//* C1PRMGEN PGM IS LINKLIST PGM, AND DOES NOT NEED STEPLIB.
//* C1PRMGEN IS CA > ENDEVOR < UTILITY.
//* THE VERTICAL LINE(|) ALLOWS NEWLINE SPLIT.
//* PARMS PASSED ARE WRITTEN OUT 1 RECORD PER LINE.
//*************************************************************
//STEPXXX EXEC PGM=C1PRMGEN,
// PARM=' PARMS(&SYMBOLICS)'
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//PARMOUT DD DSN=<YOUR>,
// DISP=(,CATLG,KEEP),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
All times are GMT - 5 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum