11.3.18 Allowing execution of JP1/AJS3 commands
You can execute JP1/AJS3 commands from JP1/AJS3 - View.
- Specify from:
-
A JP1/AJS3 - Manager file (jajsExecutableCommand)
For details, see 11.1.1 Types of customization methods.
- Specification
-
In the above JP1/AJS3 - Manager file, make sure to:
-
Use only lowercase alphabetic characters.
-
Specify each command on a separate line.
-
Add a hash mark (#) at the beginning of any lines to be treated as a comment.
The file specification format is as follows:
command-name-1 command-name-2 :
The JP1/AJS3 commands that can be executed from JP1/AJS3 - View are as follows:
-
ajslogprint
-
ajsprint
-
ajsshow
-
ajsstatus
- Cautionary notes:
-
-
If the following lines are specified for the command, they will be ignored, and no error message will be displayed:
- Lines that include uppercase alphabetical characters
- Lines with commands that cannot be executed from JP1/AJS3 - View
- Lines containing only space characters
- Lines containing only linefeed characters
- Misstatements and duplicated lines
-
The Command field of the JP1/AJS3 Command Entry dialog box displays JP1/AJS3 commands in the order that they were specified in the jajsExecutableCommand file.
-
The specified contents will be referenced by JP1/AJS3 - View when a user logs in to JP1/AJS3 - Manager. While logged in to JP1/AJS3 - View, to apply the changes made to the file (jajsExecutableCommand) in JP1/AJS3 - Manager, restart JP1/AJS3 - View.
-
-
- Example 1
-
The specification in this example allows execution of the ajsshow and ajsprint commands.
ajsshow ajsprint
- Example 2
-
The specification in this example includes a JP1/AJS3 command that cannot be executed and a comment line that begins with a hash mark (#). In this example, only the ajsshow command on the second line can be executed.
ajsdefine ajsshow (return) #ajsprint