Creating a template of a command file for the command FIND-CMD-OUTPUT
Component: | FIND-CMD-OUTPUT |
Functional area: | Command processing |
Domain: | UTILITIES |
Privileges: | STD-PROCESSING TSOS HARDWARE-MAINTENANCE SAT-FILE-EVALUATION SAT-FILE-MANAGEMENT SECURITY-ADMINISTRATION |
Function
The command GENERATE-FIND-CMD-TEMPLATE creates a template of a command file for the command FIND-CMD-OUTPUT. This file can then be adjusted as required and used as an input file (operand CMD=*FROM-FILE(...)) for the command FIND-CMD-OUTPUT.
All SHOW* and LIST* SDF commands (with their default parameters) allowed under the current privileges are included in the template. If a command cannot be executed successfully with its default parameters, the command is only added as a comment. In this case, the reason for the error is given next to the corresponding command in the template file.
GENERATE-FIND-CMD-TEMPLATE | |||||
|
Operands
TEMPLATE-NAME = <filename_1..54 >
Specifies the name of the template command file. If a file with this name already exists, it will be overwritten.
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
---|---|---|---|
0 | CMD0001 | Command executed | |
1 | CMD0202 | Syntax error in command | |
32 | CMD0221 | Internal error |
Example
Create a template command file with the name FIND-CMD-OUTPUT. TEMPLATE:
/GENERATE-FIND-CMD-TEMPLATE FIND-CMD-OUTPUT.TEMPLATE
Part of the generated template: