If you are getting abend S047, at the time of the abend your jobstep is not APF-authorized. This can easily be verified within a dump looking at JSCBAUTH..
As to why, it is because one (or more) of the following is true -- the steplib/joblib from which the jobstep program is fetched is not APF authorized, which in turn means that one or more data sets in that concatenation is not APF authorized. Check bit DEBAPFIN in the DCB pointed to by TCBJLB -- the lnklst data set from which the jobstep program is fetched is not individually APF authorized and the LNKAUTH=APFTAB system parameter is in effect -- the jobstep program is not linkedited AC 1. I'm not sure about authorized TSO commands, whether TSO/E changes the jobstep to APF authorized (while making the user tasks non-dispatchable). Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

