@broadcom/ca7-for-zowe-cli
Version:
CA 7 Workload Automation Plug-in for Zowe CLI
67 lines • 3.25 kB
JavaScript
"use strict";
/*
* Copyright © 202X Broadcom Inc. and/or its subsidiaries
* © 202X Broadcom Inc and/or its subsidiaries; All rights reserved
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddrqDefinition = void 0;
const Constants_1 = require("../../../Constants");
exports.AddrqDefinition = {
name: "addrq",
aliases: ["ar"],
summary: "Adds temporary user or predecessor job requirements",
description: "Manually adds temporary, one-time, preexecution user or predecessor job requirements",
examples: [
{
options: "--ca7num 0016",
description: "Adds the job requirement ca7 number, 0016 from CA 7"
}
],
type: "command",
handler: __dirname + "/Addrq.handler",
profile: {
optional: ["ca7"]
},
options: [
{
name: "ca7num",
description: "ca7num=0016\n\n" +
"Defines the job to which you want to add the job requirement.\n" +
"The job must be in the request queue.\n" +
"Defines the CA 7 job number to which you want to add the requirement for this run of the job.\n" +
"Limits: 1 to 4 numeric characters",
type: "string",
required: true
},
{
name: "depjob",
description: "example: PAYJOB\n\n" +
"Defines a temporary one-time job dependency requirement.\n" +
"The DEPJOB value specifies the job name that must complete execution\n" +
"or must be manually posted complete before the job identified by JOB is eligible for submission.\n\n" +
"DEPJOB is required unless USR is used, in which case, omit DEPJOB.\n" +
"This requirement is satisfied automatically when the predecessor job completes.\n" +
"Only in unusual situations would this requirement must be satisfied manually.\n" +
"That is, any time that a normal completion did not occur.\n\n" +
" Required: Yes, unless USR is used.\n\n" +
"Limits: 1 to 8 alphanumeric characters",
type: "string"
},
{
name: "usr",
description: "example: USER WILL CALL TO RELEASE\n\n" +
"Defines the description of a temporary, one-time user requirement.\n" +
"This requirement must be manually satisfied before the job identified by JOB is eligible for submission.\n" +
"If any commas are included as part of the text, enclose the entire requirements text in parentheses.\n" +
"This requirement is satisfied automatically when the predecessor job completes.\n" +
"Only in unusual situations would this requirement must be satisfied manually.\n" +
"That is, any time that a normal completion did not occur.\n" +
"Required: USR is required unless DEPJOB is used, in which case, omit USR.\n\n" +
"Limits: 1 to 36 alphanumeric characters",
type: "string"
},
Constants_1.Constants.CLI_JOB_RMTJOB,
Constants_1.Constants.CLI_JOB_RMTSCHD
]
};
//# sourceMappingURL=Addrq.definition.js.map