Previous Topic: $SRV_PDS_LISTNext Topic: $SRV_SYS_STAT


$SRV_READ_IMOD

The $SRV_READ_IMOD routine returns the source code for an IMOD on the stack.

Syntax

CALL $SRV_READ_IMOD name iset

Parameters

name

Name of the desired IMOD.

iset

Name of the ISET that contains the IMOD. This ISET must be defined to the ISERVE address space and the ISET itself must be accessible under the user ID of the caller.

Usage Notes

Returned Data

The RC special variable being set to 0 indicates a successful completion and the result is a returned null string. A non-zero value in the RC indicates that there are errors and the result is a returned error message.

The source text is returned in the current stack, one line per record.