In batch mode (SRVBATCH), use the LOADIMOD() function to enable an IMOD to load other IMODs and make them available for execution as external subroutines.
The LOADIMOD() function has this syntax:
failed_list = LOADIMOD(iset,namelist)
The LOADIMOD() function takes these arguments:
|
failed_list |
Returns a blank-delimited list of IMODs that could not be loaded (or other error messages). |
|
iset |
ISET name of the IMOD file to be accessed. |
|
namelist |
List of IMODs to be loaded into storage, separated by blanks. The maximum list length is 256 characters. |
The LOADIMOD() function produces these return codes:
101 - 102 ARG n MISSING OR INVALID
121 A list of the IMODs not loaded, separated by blanks.
123 OPEN FAILED
122 FUNCTION ONLY VALID IN BATCH MODE
Example
loadimod('GSSTECH',asid_00 not_here hello) == 'NOT_HERE'
/* rc==121 */
/* This runs in batch only */
/* IMOD 'not_here' does not exist */
/* Following messages appear in ISRVLOG: */
/* 11:24:38 SRV282 Loading IMOD's from GSSTECH File Version:
02.03.02 */
/* 11:24:38 SRV168 ASID_00 loaded. 05664D38 EWF.IMOD.GSSTECH */
/* 11:24:38 SRV168 HELLO loaded. 056649F8 EWF.IMOD.GSSTECH */
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |