Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
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
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.
Table 3-1 Format indicators for outputting definitions for specified JP1 users
Format indicator Output information Unit type abbreviations %ON Full path object name
Character string of up to 124 bytesbs, ajsu %on Object name
Character string of up to 30 bytesbs, ajsu %TY Object type
bs: Business scope
ajsu: AJS3 unit monitored objectbs, ajsu %cm Comment
Character string of up to 80 bytes. By default, no characters are outputbs, ajsu %if Icon file name
Character string of up to 255 bytes. By default, no characters are outputbs, ajsu %mh Name of the host to be monitored
Character string of up to 255 bytesajsu %mu AJS3 unit name
Character string of up to 2,047 bytesajsu %eH Horizontal position at which the object appears on the window
0 to 9,552 pixelsbs, ajsu %eV Vertical position at which the object appears on the window
0 to 9,552 pixelsbs, ajsu %sH Number of objects subordinate to the object to be displayed horizontally on the window
1 to 100bs %sV Number of objects subordinate to the object to be displayed vertically on the window
1 to 100bs %mm Monitoring method
t: Prioritize current time
a: Prioritize all unit times
th: Prioritize current time schedules
ah: Prioritize all unit time schedulesbs (root) %mt Monitoring interval
30 to 3,600 secondsbs (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: Displaybs %bf Background file name
Character string of up to 255 bytes. By default, no characters are outputbs %bz Standard zoom percent
A value of 20 to 200bs
- Legend:
- bs: Business scope
- bs (root): Root business scope
- ajsu: AJS3 unit monitored object
Table 3-2 Other format indicators
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
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.