When transferring a file to the Z/OS (MVS) Agent via a JOBF, the transfer fails with:
U00011402 Cannot open file 'JOBF.NAME'. Error code: '121(EDC5121I Invalid argument.)', error description: 'svc99 0h/lastop 0'.
Release : 12.3
Component : AUTOMATION ENGINE
Improper Configuration of JOBF
Review the configuration of the JOBF, to make sure it is using the syntax and commands available to LCE or TSO, not combining both. In the example above:
fopen(//'JOBF.NAME',wb,RECFM=FB,LRECL=1200,BLKSIZE=0,UNIT=VIRTUAL,RETPD=99000)
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/Content/AWA/Integration/File_Transfer_Support_zOS.htm
This is using a combination of LCE and TSO Allocate syntax which is causing the failure.