Error Handling and Return Codes

An error handling routine should be coded to handle nonzero return codes from DMSLADAD in register 15. The following errors (with condition code = 2) may occur on a call to DMSLADAD:

Description DMSLADAD Request Type Return Code
The auxiliary directory address is not specified in the PLIST. initialize, clear 1
The target mode specified at GENDIRT time is not accessed. initialize 1
The target mode specified at GENDIRT time accesses an OS or DOS disk. initialize 1
The address of the nucleus copy of the auxiliary directory is not specified in the third parameter of the PLIST. clear 2
No auxiliary directory has been initialized on the given disk. clear 2
The target mode specified at GENDIRT time is accessed in shared storage. initialize 3