ajscmprint
- Organization of this page
Format
ajscmprint -u JP1-user-name -f format-indicator [-mh logical-host-name]
Description
Outputs definitions for specified JP1 users for JP1/AJS3 Console to a standard output file in plain text format.
Execution privileges
In Windows: Administrators privileges
In UNIX: Superuser privileges
Storage directory
- In Windows:
-
JP1/AJS3 - Console-installation-folder\bin\
- In UNIX:
-
/opt/jp1ajs2cm/bin/
Arguments
-u JP1-user-name
Specify the name of the JP1 user who has the definition information to be output.
1 to 31 bytes of characters can be specified. If you omit this option, an error occurs.
-f format-indicator
Outputs the information specified by the format indicator.
Specify the format indicator by % followed by a one- or two-byte string of alphabetic characters. For details about the format indicator, see Additional information later.
-mh logical-host-name
You can specify the logical host name instead of the JP1_HOSTNAME environment variable. The specification of the -mh option overrides the value of the JP1_HOSTNAME environment variable.
Also, you can explicitly specify the physical host by specifying JP1_DEFAULT for the option. You cannot set a physical host by specifying the machine name of the physical host for the option.
Notes
-
You cannot execute this command if another user is currently defining the target definition information.
-
Always separate an option and its value by at least one space character.
Return values
0 |
Normal end |
Other than 0 |
Abnormal end |
Additional information
Table 3-1 lists the format indicators for outputting definitions for specified JP1 users for JP1/AJS3 Console.
Table 3-2 lists the other format indicators.
Format indicator |
Output information |
Unit type abbreviations |
---|---|---|
%ON |
Full path object name Character string of up to 124 bytes (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 184 bytes is output.) |
bs, ajsu |
%on |
Object name Character string of up to 30 bytes (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 45 bytes is output.) |
bs, ajsu |
%TY |
Object type bs: Business scope ajsu: AJS3 unit monitored object |
bs, ajsu |
%cm |
Comment Character string of up to 80 bytes. (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 120 bytes is output.) By default, no characters are output |
bs, ajsu |
%if |
Icon file name Character string of up to 255 bytes. (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 380 bytes is output.) By default, no characters are output |
bs, ajsu |
%mh |
Name of the host to be monitored Character string of up to 255 bytes (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 382 bytes is output.) |
ajsu |
%mu |
AJS3 unit name Character string of up to 2,047 bytes (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 3,070 bytes is output.) |
ajsu |
%eH |
Horizontal position at which the object appears on the window 0 to 9,552 pixels |
bs, ajsu |
%eV |
Vertical position at which the object appears on the window 0 to 9,552 pixels |
bs, ajsu |
%sH |
Number of objects subordinate to the object to be displayed horizontally on the window 1 to 100 |
bs |
%sV |
Number of objects subordinate to the object to be displayed vertically on the window 1 to 100 |
bs |
%mm |
Monitoring method t: Prioritize current time a: Prioritize all unit times th: Prioritize current time schedules ah: Prioritize all unit time schedules |
bs (root) |
%mt |
Monitoring interval 30 to 3,600 seconds |
bs (root) |
%mp |
Hold plan no: Do not display yes: Display (if definition or hold attribute changes) yes_attr: Display (only if hold attribute changes) |
bs (root) |
%by |
Background type n: Do not display i: Depends on upper-level unit s: Display |
bs |
%bf |
Background file name Character string of up to 255 bytes. (When the value of the CHARCODE environment setting parameter is UTF-8, a character string of up to 380 bytes is output.) By default, no characters are output |
bs |
%bz |
Standard zoom percent A value of 20 to 200 |
bs |
- Legend:
-
bs: Business scope
bs (root): Root business scope
ajsu: AJS3 unit monitored object
Format indicator |
Output information |
---|---|
%% |
% |
%n |
Line feed character |
%t |
Tab character |
Example
The following example outputs definitions for the JP1 user (jp1admin) to a standard output file in plain text format:
ajscmprint -u jp1admin -f "%ON,%TY,%cm,%mh,%mu"
- Output example
-
The definitions are output in the following format: full-path-object-name, object-type, comment, monitored-host-name, AJS3-unit-name.
/, bs, , , /Monitored-object1, ajsu, comment1, host1, AJSROOT1:/jobnet1 /Monitored-object2, ajsu, comment2, host2, AJSROOT1:/jobnet1 /Nested-business-scope3, bs, comment3,, /Nested-business-scope3/Monitored-object31, ajsu, comment31, host1, AJSROOT1:/jobnet3