| United States-English |
|
|
|
![]() |
NS 3000/iX Operations and Maintenance Reference Manual: HP e3000 MPE/iX Computer Systems > Chapter 6 Using NETTOOLAdding Your Own Tools |
|
You can add you own diagnostic tools to by following some simple rules. You can also provide help information on the user-provided tools. Information needed to run a user-provided tool must reside in USERINFO.NET.SYS. You can create this file with any text editor. It must have a record length of 80 characters or less. You can describe up to 20 user tools in the file. For each tool, two types of entries are needed: the one word command which will initiate the tool from the root level of NETTOOL, and a list of the MPE commands required to start the tool (as if it were being used standalone). The first character in the tool command must be alphabetic. The command can be up to 20 characters in length. It must not duplicate any NETTOOL global command, core tool name, or associated tool name. The first character in a line containing an MPE command must be an exclamation mark. Characters may be either lower or upper case, but NETTOOL does not distinguish between the two. NETTOOL does not interpret the string after the exclamation mark in any way. Up to 79 characters may follow the exclamation mark. The list of MPE commands must follow the command name. For example, a valid set of entries in the file might be:
To run MYPROG.MAUI.HAWAII from the NETTOOL root, a user would enter the command NEATPROG2. To run TESTTOOL.NET.SYS, the user would enter TESTTOOL. Any first character in a line other than !, a..z, or A..Z is an error and will cause all subsequent entries to be ignored. Also, if you specify more than five MPE commands for a tool, all subsequent entries in the file will be ignored. Blank lines have no effect. Lines with only a ! will be sent to MPE as a carriage return. A sample USERINFO file is included as part of the NETTOOL package. To provide help on user tools, you must create the file USERHELP.NET.SYS. This file should contain help text for all user tools defined in USERINFO.net.sys. Use the following format for help text:
A sample USERhelp file is included as part of the NETTOOL package. For a user-defined tool defined as follows:
The user help might look like this:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||