Previous Topic: $SRV_MVS_DATANext Topic: $SRV_PDS_LIST


$SRV_IDR_LIST

The $SRV_IDR_LIST routine reads a load module and returns IDR information about the stack.

Syntax

CALL $SRV_IDR_LIST ddname module

Parameters

ddname

DDname of the library that contains the load module.

module

Name of the load module to be listed.

Returned Data

If the request was successful, RC is set to 0 and the IDR data is returned on the stack, one IDR record per stack record. All fields are blank delimited. The first field is IDR. The second field indicates the type of IDR:

LINK

Link Editor IDR.

ZAP

IDR assigned by AMASPZAP utility.

USER

IDR included as the result of a linkage editor IDENTIFY statement.

TRANSLATOR

IDR created by the assembler or compiler.

The remaining fields depend upon the type of IDR and are listed in the following table.

IDR Type

Field

Description

LINK

Date

Version

ID

Date of the last link edit in the form mm/dd/yy.

Linkage editor version user ID.

ID assigned (by IBM) to the linkage editor.

ZAP

Date

CSECT

Data

Date the zap was applied in the form mm/dd/yy.

CSECT that was zapped.

Eight-byte data field specified at the time of the zap. If no data was supplied, the string NO_IDENT is returned.

 

USER

Date

CSECT

Data

Date that the IDR was inserted, in the form mm/dd/yy.

CSECT to which the data applies.

Data from the IDENTIFY statement. This data may contain blanks.

TRANSLATOR

CSECT

Length

Date

Version

Name

Date

Version

Name

Name of the CSECT.

Length of the CSECT.

Date of translation in the form mm/dd/yy.

Version of the translator.

Name of the translator. This is a numeric sequence for IBM translators.

Date of pre-compilation (if pre-compiled).

Version of the pre-compiler (if any).

Name of the pre-compiler (if any).

Return Codes

The RC special variable contains one of the following return codes:

Code

Meaning

0

The request was successfully processed.

121

The library could not be opened.

122

The load module could not be found.