REGISTER or login:
If it's being run interactive display the sessions job log (DSPJOBLOG)
If it's run in batch, change the submit parameters ...
SBMJOB CMD(CALL PGM(XYZ)) JOB(MYJOB) LOG(4 00 *SECLVL) LOGCLPGM(*YES)
this will generate a job log for the job myjob with details on commands issued and responses from the system.