Output register information for the FTP client API
For the Cobol, C, assembler, and PL/I programming languages,
when control returns to the caller, the general purpose registers
(GPRs) contain the following:
Register | Contents |
---|---|
0-1 | Used as work registers by the system |
2-13 | Unchanged |
14 | Used as a work register by the system |
15 | Used to contain a return code |
Restriction: The REXX programming language does not use output
registers to return information to the REXX program. For information about REXX program output,
see FTP client API for REXX function.
When control returns to the caller, the access registers
(ARs) contain:
Register | Contents |
---|---|
0-1 | Used as work registers by the system |
2-15 | Unchanged |
If a caller depends on the contents of a register that is to be used by the system, the caller must save the contents of that register before invoking the interface and restore the contents after the system returns control.