@broadcom/ca7-for-zowe-cli
Version:
CA 7 Workload Automation Plug-in for Zowe CLI
102 lines • 3.89 kB
JavaScript
"use strict";
/*
* Copyright (c) 2025 Broadcom. All Rights Reserved. The term
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This software and all information contained therein is
* confidential and proprietary and shall not be duplicated,
* used, disclosed, or disseminated in any way except as
* authorized by the applicable license agreement, without the
* express written permission of Broadcom. All authorized
* reproductions must be marked with this language.
*
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostRequirementPredecessorDefinition = void 0;
exports.PostRequirementPredecessorDefinition = {
name: "post-requirement-predecessor",
aliases: ["prp"],
summary: "Create requirement definition for a job for CA 7 instance specified in path",
description: "Create requirement definition for a job",
examples: [
{
options: "--job JOBA --schid 001 --predtype JOBA --nextrun YES --predobject JOBA --ca7Id INSTANCE1",
description: "Create requirement definition for a job on INSTANCE1"
}
],
type: "command",
handler: __dirname + "/PostRequirementPredecessor.handler",
profile: {
optional: ["ca7"]
},
options: [
{
name: "ca7Id",
description: "CA7ONL Instance",
type: "string",
required: true
},
{
name: "job",
description: "The name of the job that requires the predecessor",
type: "string",
required: true
},
{
name: "schid",
description: "The schedule id of requiring job",
type: "string",
required: true
},
{
name: "predtype",
description: "The predecessor type\n" +
"[ JOB, DSN, USER ]\n",
type: "string",
required: true
},
{
name: "nextrun",
description: "The status of predecessor for next run of job\n" +
"[ YES, ONLY, SKIP ]\n\n",
type: "string",
required: true
},
{
name: "predobject",
aliases: ["po"],
description: "The predecessor. Values vary with predtype." +
"\nWhen predtype:JOB, predobject is 1-8 character name of required job." +
"\nWhen predtype:DSN,predobject is 1-44 name of required dataset." +
"\nWhen predtype:USER then predobject is 1-44 character user requirement text.",
type: "string",
required: true
},
{
name: "leadtime",
description: "The satisfaction lead time in hours." +
"\nThis may be honored when predtype is job or DSN",
type: "string",
required: false
},
{
name: "permanent",
description: "Indicates that this predecessor is permanent, that is always considered satisfied." +
"\nThis parameter only applies when predtype is DSN.\n" +
"[ Y, N ]\n\n",
type: "string",
required: false
}
]
};
//# sourceMappingURL=PostRequirementPredecessor.definition.js.map