Works OK with my code
"ISPEXEC LMCOPY FROMID("INLIB") FROMMEM("ZLMEMBER") ,
IF RC = 0
THEN SAY ZLMEMBER "SUCCESSFUL COPY"
ELSE SAY ZLMEMBER "COPY FAILED - RETURN CODE "RC
Or do you mean why does the previous code eliminate the ISPF error messages.
Because it returns control to the ISPF function being actioned when an error is encountered to allow for user written error handling routines.