The user interface for batch submission of actions is very similar to the interface used for foreground submission.
- Access the CA Endevor Integration for the Natural Environment Main Menu.
Note: For more information, see Start a User Session.
- On the Main Menu, enter B on the command line and press Enter.
The Batch Processing Menu opens.
- On the Batch Processing Menu, enter the appropriate codes in the Object Code and Action Code fields and press Enter. If you want to exit this panel, enter a period (.) in either field and press Enter. The following options are available:
Code Object
N-Natural Programming Objects
E-Error Message Texts (SYSERR)
D-DDMs
P-PREDICT Objects
Code Action
D-Display
R-Retrieve
A-Add/Update
M-Move
#-Delete
G-Generate
S-Sign-in
T-Transfer
Note: PF11(SCL) can be used to build SCL from scratch.
- Select element and actions for processing. The batch processing screens are almost identical in appearance and behavior to the foreground version of the screens, except they are subtitled Batch Mode indicating they are for batch processing. However, the batch selection screens indicate your selections by displaying "Written" next to each one you select.
For example, if you select Natural Programming Objects and Retrieve on the Batch Processing Menu, after you press Enter, the Retrieve Natural Programming Objects screen opens. After you enter your selection criteria, the Retrieve Selection screen opens. On the Retrieve Selection screen, the selection of an element for processing results in the message “Written” displayed next to it, allowing for downward and upward scrolling to select other elements, prior to the your exiting this screen to optionally select other elements and actions for processing.
- Display the summary list of your selections. After elements are selected on any batch selection interface, you can display the summary list of all elements and actions that you selected, by pressing the PF10 key (BReqs). You can delete any items from the summary list that were selected in error.
- Submit the batch requests. Use PF3 to return to the Retrieve Natural Programming Objects screen or to the Batch Processing Menu. The total number of your batch action requests is noted at the top of the screen.
- Use PF5 (Submit) to submit the requests for batch processing. The Batch Job Submittal window displays.
- Use PF4 (Save) to save the generated SCL to a Natural text member in the library EINESCL. The SCL can then be edited using the Edit SCL functions or by logging on to the EINESCL library and using the standard Natural editor.
Note: Add and Retrieve actions cannot be processed by the Saved SCL submit function. These actions will be removed from the SCL before it is saved.
- On the Batch Job Submittal window, you can edit the STOPRC value for generated SCL and customize the job card, which will be submitted at the top of the generated JCL, if job card modifications have not been restricted by the EINE Administrator. Press Enter to submit the batch job for processing. If you want to cancel the submission, press PF3.
The submitted JCL consists of the following:
- Unload steps— one for each Natural/Predict element selected for ADD processing (to unload the element from Natural/Predict)
- Retrieve check steps— one for each Natural/Predict element selected for Retrieve processing (determines if the element exists in the Natural/Predict location)
- A single step for CA Endevor SCM processing of generated SCL (for all selected actions)
- Load steps— one for each Natural DDM/SYSERR/Predict element selected for Retrieve processing (to load the element into the correct Natural/Predict location).
- Load steps— three for each Natural programming element selected for Retrieve processing (to load the element into the correct Natural location).
- The first load step is a SYSOBJH LOAD with Transfer option. If the Natural element is stored in CA Endevor SCM in a SYSOBJH Internal format, this load step will fail with a condition code 50. A condition code 50 is an acceptable condition code during a batch Retrieve.
- The next step is a CATALL SAVE of the loaded object. If the SYSOBJH LOAD with Transfer completes successfully, this step is executed. If the SYSOBJH LOAD with Transfer step receives a condition code of 50, the CATALL SAVE step is flushed.
- The final step is a SYSOBJH LOAD with Internal format option.This step is executed if the load with Transfer option step receives a condition code of 50. Otherwise, this step is flushed if the load with Transfer option completed successfully.