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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!