UNPKG

zowe-cli-cics-deploy-plugin

Version:

IBM CICS Bundle generation and deployment for Zowe CLI

60 lines 3.01 kB
"use strict"; /* * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v2.0 which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-v20.html * * SPDX-License-Identifier: EPL-2.0 * * Copyright IBM Corp, 2019 * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UndeployBundleDefinition = void 0; const Name_option_1 = require("../../shared/Name.option"); const Cicsplex_option_1 = require("../../shared/Cicsplex.option"); const Scope_option_1 = require("../../shared/Scope.option"); const Csdgroup_option_1 = require("../../shared/Csdgroup.option"); const Resgroup_option_1 = require("../../shared/Resgroup.option"); const Cicshlq_option_1 = require("../../shared/Cicshlq.option"); const Cpsmhlq_option_1 = require("../../shared/Cpsmhlq.option"); const Jobcard_option_1 = require("../../shared/Jobcard.option"); const Timeout_option_1 = require("../../shared/Timeout.option"); const TargetState_option_1 = require("./options/TargetState.option"); const Verbose_option_1 = require("../../shared/Verbose.option"); const ZosmfOptions_1 = require("../../shared/ZosmfOptions"); /** * Imperative command for the Bundle sub-option of Deploy. * */ exports.UndeployBundleDefinition = { name: "bundle", aliases: ["b", "bun", "bund"], summary: "Deploy a CICS bundle", description: "Undeploy a CICS bundle from one or more CICS regions within a CICSplex. " + "The DFHDPLOY utility is used to undeploy and remove a BUNDLE resource " + "from the target group of CICS regions.", type: "command", handler: __dirname + "/UndeployBundle.handler", options: [Name_option_1.NameOption, Cicsplex_option_1.CicsplexOption, Scope_option_1.ScopeOption, Csdgroup_option_1.CsdgroupOption, Resgroup_option_1.ResgroupOption, Cicshlq_option_1.CicshlqOption, Cpsmhlq_option_1.CpsmhlqOption, Jobcard_option_1.JobcardOption, Timeout_option_1.TimeoutOption, TargetState_option_1.TargetStateOption, Verbose_option_1.VerboseOption] .concat(ZosmfOptions_1.ZosmfOptions.CICS_DEPLOY_ZOSMF_CONNECTION_OPTIONS), profile: { optional: ["cics-deploy", "zosmf"] }, examples: [ { description: "Undeploy a CICS bundle by using the default cics-deploy and zosmf profiles", options: `--name EXAMPLE` }, { description: "Undeploy a CICS bundle, and declare a timeout if the processing takes too long", options: `--name EXAMPLE --timeout 60` }, { description: "Undeploy a CICS bundle from a specific target environment by using specific zosmf and cics-deploy profiles", options: `--name EXAMPLE --cics-plex TESTPLEX --scope SCOPE --res-group BUNDGRP ` + `--cics-hlq CICSTS55.CICS720 --cpsm-hlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics` } ] }; //# sourceMappingURL=UndeployBundle.definition.js.map