I am having trouble immbedding parameters in a CL program with quotes, within a ADDJOBSCDE command. See below.
ADDJOBSCDE JOB(&JOB) CMD(RUNC90JOB SEQ(*SUBJB) +
PGM(UN798CL) PARM('''' *TCAT &PARM *CAT +
'''')) FRQ(*ONCE) +
The problem is with the 4 quotes the system adds a quote after the translation, which I do not want. If I use only 3 quotesthe translation does not occur, causing other errors. I need the translation to produce the following:
PARM('XXXXXXX') where XXXXXX is the value in &PARM.
Can someone assist?