Download Digital SNA Data Transfer Facility for OpenVMS Use
Transcript
9.7 DTF Return Codes in DTF Batch Mode Operations The DTF command processor returns with a completion code that reflects the most severe error encountered. MVS TSO uses this completion code as the job step completion code. If other TSO commands are included within the SYSTSIN file, TSO uses the most severe error encountered in all TSO commands, including the DTF completion code, as the job step completion code. The following DTF subcommands change the completion code: • DEFINE: sets only a return code of 1 or 0 • TRANSFER: sets all return codes except 1 • RESUME: sets all return codes except 1 Note If an internal error occurs during the processing of any subcommand, a return code of 12 is generated. Return codes from the TRANSFER subcommand are grouped into the following ranges: 0—3 The transfer was partially successful. 4—7 The transfer could not begin. Cleanup of partial files is not necessary. 8—12 The outcome of the transfer request is in doubt. Some investigation must be done to determine the state of the transfer. Cleanup of partial files is necessary. A complete explanation of all return codes and suggested user action is contained in an appendix of the Digital SNA Data Transfer Facility for OpenVMS Problem Solving and Messages manual. 9.8 Initiating DTF Command Processor Operations from Command Procedures The DTF command processor can be invoked from a TSO CLIST or a CMS REXX exec. The DTF subcommands should be entered immediately following the DTF command. All records following the DTF command will be treated as input records to DTF until an END subcommand is found. Using the DTF for IBM Command Processor 9–45