I have difficulty in passing a parm 'CASCPEX,CAAFCEX' along with quotes to DBCAEXIT program.
Below are the description of the issue.
The proc has the following Symbolics
SSID=DQA0,
PLAN=KBBBATD3,
DBPARM=,
QT=''''
PGM=IKJEFT1B,DYNAMNBR=20,
PARM=('%DB2BATCH,'SYS(&SSID)','PROG(DBCAEXIT)',
'PLAN(&PLAN)','PARM(&QT.&DBPARM.&QT)')
PLAN=KBBBATD3,
DBPARM=,
QT=''''
PGM=IKJEFT1B,DYNAMNBR=20,
PARM=('%DB2BATCH,'SYS(&SSID)','PROG(DBCAEXIT)',
'PLAN(&PLAN)','PARM(&QT.&DBPARM.&QT)')
The JCL has DBPARM='CASCPEX,CAAFCEX' passed to the proc. I am getting the symbolics substitued as below.
PGM=IKJEFT1B,DYNAMNBR=20,
PARM=(%DB2BATCH','SYS(DQA0)','PROG(DBCAEXIT)',
'PLAN(KBBBATD3)','PARM('CASCPEX,CAAFCEX')')
PARM=(%DB2BATCH','SYS(DQA0)','PROG(DBCAEXIT)',
'PLAN(KBBBATD3)','PARM('CASCPEX,CAAFCEX')')
But on executing the above proc from the jobs am getting the below error
IEFC629I INCORRECT USE OF APOSTROPHE ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF APOSTROPHE ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF PARENTHESIS ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF APOSTROPHE ON THE EXEC STATEMENT
IEFC622I UNBALANCED PARENTHESES ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF APOSTROPHE ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF PARENTHESIS ON THE EXEC STATEMENT
IEFC629I INCORRECT USE OF APOSTROPHE ON THE EXEC STATEMENT
IEFC622I UNBALANCED PARENTHESES ON THE EXEC STATEMENT
Can some one help me on this?
Thank You
Regards
Prasanna G.