When handing over a transfer to the XCOM Server on z/OS your Job normally ends with message
XCOMM0300I REQUEST # nnnnnn PROCESSED SUCCESSFULLY
This only informs that the transfer was succesfully scheduled - but what about the transfer itself?
You can use a TYPE=INQUIRE Step after the TYPE=SCHEDULE Step to get informations on that transfer.
For that you need to do the following:
1. Define an Inquire dataset (RECFM=FB,DSORG=PS,LRECL=80)
This dataset contains informations on the transfer.
2. Add a TYPE=INQUIRE Step which will check the status of the job every 10 seconds until the INQWAIT-time (up to 99 hours) is expired.
The Returncode of that Step then informs you about the success of the transfer.
Possible Returncodes are:
0: Transfer ended succesful
4: Inquire dataset empty
8: Unable to access Inquire dataset
36: Transfer still active
40: Transfer did not complete succesful
Alexander thank you for sharing this information.
Has anyone used this in the user shops?