Since version 12 the call of PREP_PROCESS_FILE instruction fails if the user in the LOGIN does not has a password on z/OS.
This command will abort :
:SET &HND# = PREP_PROCESS_FILE('&AGENT#','ZOS.TEST.JOB', ,'COL=DELIMITER','DELIMITER=*,*','UC_LOGIN=ZOS_USER_PSTTR')
The following error is present in the agent log:
U00029000 Report '48770205' for file 'ZOS.PCDTAB' has been started.
U00011457 User ID 'PSTTR' or password not authorized.
U00029002 Report '48770205' ended abnormally.
In version 12 the submission mechanism of PREP_PROCESS_FILE has changed for EVENTS. AWA v12 performs a user switch, which implies that the User specified in the LOGIN must be able to perform the LOGON step on the z/OS system. However, if the user has the Security Property PROTECTED in its RACF settings, he will no longer be able to perform the logon step. This is why the job aborts with this kind of message U00011457 User ID 'PSTTR' or password not authorized.
It is possible to submit PREP_PROCESS_FILE without adding a Login object. In this case PREP_PROCESS_FILE will be submit by the User that started the agent process on the z/OS system, the STC user.
Another workaround is simply to provide LOGIN with a LOGON enabled user.