MIMIX provides a set of options on various “Work with” interfaces for performing common operations on the selected objects, such as displaying the description, authorities, or locks. The actual command performed by the options varies based on the selected object type. Additionally, MIMIX allows you to use option 99 to run any
command against the object of the specified command line, provided the object's
parameters are accepted.
This capability supports both running and prompting the options. Furthermore, the parameters are specified for object name/member and OBJTYPE; all other parameters use the command's default value. However, additional parameters can be specified on the command line for use instead of the command's default value.
Use the option… |
To display… |
91 |
Description This option displays the description of the object on the local system. |
92 |
Authorities This option displays the authorities of the object on the local system. |
93 |
Locks This option displays locks against the object on the local system. |
94 |
Contents This option displays the contents of the object on the local system. |
95 |
DB Relations This option displays the database relations of a file on the local system.
Note: This option is only
valid for database files.
|
99 |
Run command This option allows a command specified on the command line to be run against the object on the local system. The parameters for the object name (either OBJ or the object type, such as PGM) and the object type (OBJTYPE) are added to the specified command if supported by the command. |
Options 91 to 95 are shared by all WRK panels and perform similar operations. Option 99, on the other hand, allows you to run additional commands against the object associated with a row on a WRK panel. You can type the command you want on the panel's command line and enter or prompt, or even specify additional parameters on the command line with the command and run it.
Example,
For LIB1/PGM1 *PGM, the following are the commands that appear for the options
when you press Enter or press F4 (Prompt):
- Option 91 display the description:
- DSPOBJD OBJ(LIB1/PGM1) OBJTYPE(*PGM)
- Option 92 display the authority:
- DSPOBJAUT OBJ(LIB1/PGM1) OBJTYPE(*PGM)
- Option 93 display the work object lock:
- WRKOBJLCK OBJ(LIB1/PGM1) OBJTYPE(*PGM)
- Option 94 display the content of the object:
- DSPPGM PGM(LIB1/PGM1)