Re: How to resolve ISPN104 error in ISPF?
Posted: Wed Nov 21, 2012 2:44 am
mainframegeek wrote:Actually while executing Clist using 6 option, the error has been thrown. Then i executed the panel separately, above given error thrown in panel.
I have a statement given below in the clist.PROC 0 DEBUG()
You want me to put it like mentioned below?
PROC 0 DEBUG()
CONTROL PROMPT NOFLUSH MSG CONLIST SYMLIST LIST
ISPEXEC CONTROL ERRORS RETURN
Am i right?
Actually if your PROC statement is as you provided you can do something like this to turn debugging on or off by executing the clist like:
CLISTNAME DEBUG
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 = DEBUG THEN -
CONTROL PROMPT NOFLUSH MSG CONLIST SYMLIST LIST END(ENDO)
ELSE -
CONTROL PROMPT NOFLUSH NOMSG END(ENDO)
ISPEXEC CONTROL ERRORS RETURN