Synopsis
(1) To register
jobschnetmemo -ent [project name/] job net name memo contents [-sys subsystem-number](*1)
(2) To delete
jobschnetmemo -del [project name/] job net name [-sys subsystem-number](*1)
(3) To output contents
jobschnetmemo -out [project name/] job net name [-sys subsystem-number](*1)
(4) To search
jobschnetmemo -find [-p project name] -e regexp [-m] [-sys subsystem-number](*1)
[-sys subsystem-number] is the option of Systemwalker Operation Manager EE.
Description
The jobschnetmemo command registers/deletes a memo to/from the job net. It also outputs the contents of the memo.
When a search is performed, a list of job nets is output if they have memos registered containing the regular expressions.
Options
project name (to register or delete)
Specify the project name where the job net information is to be stored. This can be omitted if there is only one project that has job nets registered and that the execution user can operate or update.
project name (to output contents)
Specify the project name where the job net information is to be stored. This can be omitted if there is only one project that has job nets registered and that the execution user can refer to.
-p project name (to search)
Specify the project name where the job net information is to be stored. If this is omitted, searches are performed on all job net information in the projects that can be referenced by the user executing the jobschnetmemo command.
job net name
Specify a job net that you want to register, delete or output its contents.
memo contents
Specify character strings to be registered as a memo within 128 bytes. Any user-defined characters cannot be contained.
-e regexp
Specify no more than 256 bytes. The special characters ^$.*+?[]|() can be used.
-m
Memo content is output after the job net name, delimited by spaces. If this option is omitted, only the project name and job net name are output.
-sys subsystem-number
In the system with multiple subsystems, this option is used to specify the subsystem that you want to operate. Specify the target subsystem number using a range of 0 to 9. If omitted, the default is subsystem 0.
Return Values
Indicates that the process (register/delete/output content) ended normally. For searches, this indicates that one or more job nets that have memos registered containing the regular expressions were found.
For searches, this indicates that no job nets that have memos registered containing the regular expressions were found.
Indicates that the project does not exist or that access permissions are inadequate. If the project was omitted, it means that there are no projects with access permissions, or that there are multiple projects with access permissions.
Indicates that the specified job nets were not found with register/delete/output content.
Indicates that memo content was invalid with register. This return value occurs if the memo content is too long or includes invalid characters.
For searches, this indicates that the regular expression was invalid. This return value occurs if the regular expression is too long or is invalid.
Indicates that an invalid option was specified. This return value occurs if an invalid option was specified or the option combination is invalid.
Indicates that a system error or error with the user's environment occurred.
Indicates that a Systemwalker Operation Manager environment error occurred.
Indicates that reading or writing of job net information failed.
Command Location
Windows | Systemwalker Operation Manager installation directory\MpWalker.JM\bin |
Solaris | /usr/bin |
Cautions
If the regular expression includes spaces or special characters, enclose the regular expression with double quotation marks. When including double quotations in the regular expression, put the escape character "\" before the double quotation mark so that the double quotations can be treated as a character. In this way, double quotation marks escaped with the "\" will not be treated as one of the quotation marks enclosing the regular expression.
Example
An example of registering is shown below:
jobschnetmemo -ent GeneralAffairs/payroll PayrollAndBonusCalc -sys 1 |
An example of deleting is shown below:
jobschnetmemo -del GeneralAffairs/payroll -sys 1 |
An example of outputting content is shown below:
jobschnetmemo -out GeneralAffairs/payroll -sys 1 |
An example of searching is shown below:
jobschnetmemo -find -p GeneralAffairs -e "Data.*Management" -m -sys 1 |
Output Example
An example of outputting content is shown below.
PayrollAndBonusCalc |
An example of searching performed with the -m option specified is shown below:
GeneralAffairs cashier CashierDataManagement |