Previous Topic: #LOAD ParametersNext Topic: #LOAD Example


#LOAD Status Codes

By default, the #LOAD request is unconditional. Error conditions that can occur are:

The issuing program can request return of control with the COND parameter to

avoid a delay or an abend.

After completion of the #LOAD function, the value in register 15 indicates the outcome of the operation:

Register 15 Value

Meaning

X'00'

The request has been serviced successfully.

X'04'

The request cannot be serviced due to insufficient storage in the program pool.

X'08'

The request cannot be serviced due to an I/O error during a load from a load library.

X'0C'

The requested program is nonconcurrent and in use.

X'10'

The requested program has been overlayed temporarily in the program pool, resulting in a storage conflict.

X'14'

The requested program is not defined to the PDT, is marked as out-of-service, or a null PDE could not be allocated for the program.

X'18'

The requested program cannot be loaded immediately (insufficient storage); to wait would cause a deadlock.

X'20'

The requested program cannot be loaded immediately due to an I/O error during a load from the dictionary DDLDCLOD area.

The values in a user-defined register and register 1 also contain the following information: