This function loads the tables for an application (typically during system initialization). You perform the LOAD TABLE function before you can use 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=field_name]’
[PARMS=‘RELOAD={YES | NO}’]
Specifies the identifier of the application.
(Optional) Specifies the name of the table if you only want to load one table.
Default: All tables for the specified application are loaded.
(Optional) Specifies whether you want to reload previously loaded tables for the application.
Default: 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 © 2008 CA. All rights reserved. |
|