The functions provided by the SYSBPM utility can also be executed in batch mode.
For this purpose, we recommend that you use the SYSBPM Application Programming Interface USR4340N or USR0340N described in the section Application Programming Interfaces.
You can also use the SYSBPM utility in batch by simulating the online input command sequence.
Since SYSBPM uses functionality of the Software AG Editor, when writing your batch job, observe the following instructions:
Set the profile parameter
EDPSIZE. As an
alternative, set the profile parameter
TYPE=EDIT for the Software AG Editor buffer pool and define the
editor work file in the batch job.
Note that the field Code is not available on every SYSBPM screen.
Note that you may have to skip input fields in order to position the cursor in the Command line input field for entering direct commands.
Simulate PF keys by using the terminal commands
%K to navigate through the SYSBPM utility. For
%K3 to leave the List
Use the continuation character defined with the session parameter
CF (default is
%) to enter more than one
line of input for a map.
Listed below are the topics and Natural documentation sources that refer to the instructions mentioned above.
|Blacklist Maintenance in Batch Mode||SYSBPM Utility|
|SYSBPM Direct Commands||SYSBPM Utility|
|EDPSIZE - Size of Software AG Editor Auxiliary Buffer Pool||Parameter Reference|
|BPI - Buffer Pool Initialization||Parameter Reference|
|Installing the Software AG Editor||
|%K and %KP - Simulate PF- and PA-Key||Terminal Commands|
|EDBP - Software AG Editor Buffer Pool Definitions||Parameter Reference|
|Editor Buffer Pool||Operations|
|Editor Work File||Operations|
|Natural in Batch Mode||Operations|
|Using the INPUT Statement in Non-Screen Modes||Statements|
|Using the INPUT Statement in Batch Mode||Statements|