Peter, here is the clist.
PROC 0 DEBUG()
IF &DEBUG = DEBUG THEN -
CONTROL PROMPT NOFLUSH MSG CONLIST SYMLIST LIST END(ENDO)
ELSE -
CONTROL PROMPT NOFLUSH NOMSG END(ENDO)
ISPEXEC CONTROL ERRORS RETURN
IF &DEBUG = &STR(DEBUG) THEN +
CONTROL NOFLUSH LIST SYMLIST CONLIST
ELSE +
CONTROL NOFLUSH NOMSG MAIN
ERROR DO
WRITE (&SYSICMD - &LASTCC) LAST COMMAND EXECUTED = &SYSPCMD
WRITE (&SYSICMD - &LASTCC) ERROR IN EXECUTING CLIST
WRITE (&SYSICMD - &LASTCC) CALL MIS OKC IMMEDIATELY!!!!
CONTROL MAIN NOFLUSH
GOTO QUIT
ENDO
ACFHTZ02
SET &ACFAPPL = &SUBSTR(45:242,&ACFREC)
SET &GAREA = &SUBSTR(2:5,&ACFAREA)
SET &GLOC = &SUBSTR(7:8,&ACFAREA)
SET &GUSER = &SUBSTR(1:10,&STR(&ACFUSER. )
SET &GZONE = &SUBSTR(2:3,&ACFAREA)
SET &USERCODE = &STR(&ACFUSER)
SET &ACFARLOC = &STR(&GAREA&GLOC)
ISPEXEC VPUT (ACFARLOC USERCODE ACFID ACFUSER SYSPROC) PROFILE
SELECT
WHEN (&SYSPROC = &STR(FSTEST) ) +
DO
SET &ACFARLOC = &STR(023800)
ISPEXEC VPUT (ACFARLOC) PROFILE
SET &DETTBLDS = &STR(XT.XRTS.TABLOUT1)
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
ENDO
WHEN (&SYSPROC = &STR(FSQUAL) ) +
DO
SET &DETTBLDS = &STR(XQ.XRTSD010.TABLOUT)
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
ENDO
WHEN (&SYSPROC = &STR(FSPROD) ) +
DO
SET &DETTBLDS = &STR(XP.xRCOMMON.TABLOUT)
SET &SECTBLDS = &STR(xP.xRCOMMON.TABLOUT)
ENDO
ENDO
WRITE &DETTBLDS
WRITE &SYSPROC
WRITE &SECTBLDS
ISPEXEC VPUT (DETTBLDS SECTBLDS) SHARED
WRITE &SYSPROC
WRITE &SYSPROC
ISPEXEC SELECT PGM(XRTSI010) PARM(XRTSI010&ACFID&SYSPROC)
WRITE &SYSPROC
WRITE (&LASTCC) ERROR CODE1!
WRITE &SYSPROC
ISPEXEC SELECT PGM(XRTS2600)
WRITE &SYSPROC
WRITE (&LASTCC) ERROR CODE2!
WRITE &SYSPROC
ISPEXEC SELECT PGM(XRTSI020) PARM(XRTSI020&ACFID&SYSPROC)
WRITE &SYSPROC
WRITE (&LASTCC) ERROR CODE3!
QUIT: +
ERROR OFF
EXIT
Below mentioned is the error, which i am getting after executing clist.
Error
ISPN104
Invalid dsname list
Data set name(s) incorrectly specified.
How to make it work?