gtpd1m1y | Database Reference |
An offline (MVS) program that requires a file address can link or call DFAD. To do this, code the following statement in the MVS program:
CALL DFAD, (recid,ord,ret,nn)
Where:
In this mode of operation no external (for example, print or console) communication is used.
DFAD loads the FACE table (FCTB) and gets a single file address. If no errors occur, a zero return code is set in register 15, and DFAD returns to the calling program with the file address placed at the location specified by the user.
If the version of the FCTB specified is not available, the job ends with system completion code of 806.
A return code is placed in R15: