Joined: 14 Jun 2006 Posts: 281 Location: Jacksonville, FL
The HELP panel for HMIGRATE command (TSO HELP HMIGRATE) indicates:
Code:
EXTENDRC - specifies that DFSMShsm will return a return code
and reason code to your CLIST or batch TSO job
(job that executes the program IKJEFT01).
The &LASTCC control variable (in the case of a CLIST)
or register 15 (in the case of a batch TSO job)
will contain the return code in the high-order two bytes
and the reason code in the low-order two bytes.
Notes:
This option is only appropriate when the command is issued
in a CLIST or TSO batch job, and when the WAIT option is
also specified.
If you are not executing the HMIGRATE command in a CLIST or TSO batch job, EXTENDRC may not be necessary and may result in the odd return code.
Is the HMIG command failing and not migrating the requested dataset?