The $SRV_READ_IMOD routine returns the source code for an IMOD on the stack.
Syntax
Use this syntax:
CALL $SRV_READ_IMOD name iset
Parameters
The $SRV_READ_IMOD service routine takes these parameters.
Name of the desired IMOD.
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
Successful completion is indicated by the RC special variable being set to 0 and a null string returned as the result. Errors are indicated by a non-zero value in RC and an error message returned as the result.
The source text is returned in the current stack, one line per record.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |