Loads the tables for an application (normally during system initialization). You must perform the LOAD TABLE function before you can the tables to validate data.
This statement has the following format:
&CONTROL NOSHRVARS
-EXEC $CACALL OPT=ACTION
ACTION=LOAD
CLASS=TABLE
NAME=‘APPL=application id
[FIELD=fieldName]’
[PARMS=‘RELOAD={YES | NO}’]
A required parameter giving the identifier of the application.
An optional parameter giving the name of the table if only one table is to be loaded. If omitted, all tables for the specified application are loaded.
An optional parameter specifying whether the tables for the application are to be reloaded if previously loaded. The default is NO.
This statement has no input variables.
This statement contains the following return variables:
System message. Contains the error message (for return code 8).
If a return code of 8 is set, then additional information is available as one of the following feedback codes, set in &$CAFDBK:
Processing error
Nesting level exceeded
The following statements load the tables for the application identified by ID ZPR. Any tables already loaded are reloaded.
&CONTROL NOSHRVARS -EXEC $CACALL OPT=ACTION + ACTION=LOAD + CLASS=TABLE + NAME=‘APPL=ZPR’ + PARMS=‘RELOAD=YES’
| Copyright © 2010 CA. All rights reserved. | Email CA Technologies about this topic |