Synopsis
stemprint {{-f|-F} P | {-g|-G} YYYY MM DD } {[-long]} [ -csv [ -title ] ]} [-vparam] [-sys subsystem number]
Description
The stemprint -f(-F)/-g(-G) command outputs the history information of job nets.
Options
{-f|-F} P
Outputs the history information of job nets that can be browsed by the user executing this command, on a daily basis.
When the management server does not have the right to access the Schedule by dates project or the Schedule by dates project has been deleted, it outputs the history information depending on the access rights of the master project. The schedule server outputs the history information for the number of generations being specified from the [Store schedule Information for] in the Master Schedule Management Environment Setup dialog box - [Schedule].
Specify how far back (days) to output the history information with a numeric value ranging from 0 to 5.
{-g|-G} YYYY MM DD
Outputs the history information of job nets that can be browsed by the user executing this command.
When the management server does not have the right to access the Schedule by dates project or the Schedule by dates project has been deleted, it outputs the history information depending on the access right of the master project. The schedule server outputs the history information for the number of generations being specified from [Store schedule information for] of Master Schedule Management Environment Setup.
Specify the dates on which you want to output the history information in the format "YYYY MM DD" by using a space to separate the parts of the date.
-long
Outputs the full value of the "Job Net" and "Job Net Comment" output items.
-csv
Outputs the job net's history information in CSV format.
You can save the output in a file and manage the job net's history information with spreadsheet software. (Note)
Before loading the above output to the spreadsheet software, it must be translated to the character code supportable by the software.
-title
The title line is output in the first line. It is specifiable only when the -csv option is specified.
-vparam
Displays the variable parameters for job nets that were started by specifying a variable parameter.
-sys subsystem number
In systems with multiple subsystems, this option is used to specify a subsystem as operating target. Specify the operating target subsystem number using a range of 0 to 9. If omitted, the subsystem number 0 is specified.
Return Values
Completed
Abended
Command Location
Windows | Systemwalker Operation Manager Installation Directory\mpwalker.jm\bin |
Solaris | /opt/FJSVstem/bin |
Privilege Required
This command is executable with the general users' privileges.
Cautions
Among the Jobscheduler's log files (jobdb1.log/jobdb2.log/jobdb3.log) placed under cyclic management, this command outputs the log files currently used and also log files of one generation ago.
The information that is to be output on a daily basis is the job net's history information whose start information is present on the target date.
Example
stemprint -f 0 -vparam -sys 2
Execution Results/Output Format
-csv option is not specified
-csv option is specified
Error contents are output to the standard output.
Output Items
The following explains the items to be output.
User Name
Name of the user who has executed the stemprint command
It is not displayed when the -csv option is specified.
Day Change Time
Day change time
It is not displayed when the -csv option is specified.
Host Name
Host name of the server that has executed stemprint command
It is displayed only when the -csv option is specified.
Sub System
Subsystem number to be operated
It is displayed only when the -csv option is specified.
Project Name
Name of the master project
Date
Job net process date from the Master Schedule Management function.
It is left blank for the non-Schedule by dates projects.
Job Net
Job net name
The first 8 bytes of the job net name are displayed. If the "-long" option is specified, all 50 bytes of the job net name will be displayed.
Job Net Comment
Job net comment.
The first 24 bytes of the job net comment are displayed. If the "-long" option is specified, all 100 bytes of the job net comment will be displayed.
Status
Status of the job net
The relevant status is selected from the following eight and displayed.
Completed (Completion code: 0)
Pseudo-normal (Completion code: From 1 to the upper limit of the normal completion code)
Abended (Completion code: From upper limit of normal completion code+1 to 255)
Cancel (Completion code: 256)
Executing
Refused
Interrupted (Completion code: 239)
Skipped
Start Time
The date and time the job net started
It is displayed in "month/day/calendar-year hour:minute:second" format.
End Time
The date and time the job net was completed
It is displayed in "month/day/calendar-year hour:minute:second" format.
End Code
Completion code of the job net
Variable Parameter
This is the variable parameter for job nets that were started by specifying a variable parameter. The variable parameter is displayed only if the "-vparam" option was specified.