Zowe profiles let you store configuration details so you don't have to repeat them every time you use a Zowe CLI command.

See Zowe CLI profiles for an overview of profiles.

The CICS® deploy plug-in makes use of the following profiles:

Profile Used by command Connects to z/OS® server
z/OSMF profile zowe cics-deploy …
zowe console …
zowe zos-files …
zowe zos-jobs …
zowe zos-tso …
zowe zos-workflows …
zowe zosmf …
zowe provisioing …
z/OSMF
SSH profile zowe cics-deploy push …
zowe zos-uss …
SSH
CICS deploy profile zowe cics-deploy …  
CICS profile zowe cics-deploy push …
zowe cics …
CICSPlex® SM WUI

z/OSMF profile

The z/OSMF profile defines the options needed to connect to the z/OSMF server on z/OS. You need to know the following from your z/OS system administrator:

Option Description
host Host name of the z/OSMF server.
port Port number of the z/OSMF server.
user User ID to identify yourself to the z/OSMF server.
password Password to identify yourself to the z/OSMF server.

For example, to create a z/OSMF profile:

zowe profiles create zosmf-profile myzos --host myzos.example.com --port 3000 --user myuserid --password mypassword --reject-unauthorized false --overwrite

For help on using the options:

zowe profiles create zosmf-profile --help

To test the connection to the z/OSMF server using the profile:

zowe zosmf check status

SSH profile

The SSH profile defines the options needed to connect to the SSH server on z/OS. You need to know the following from your z/OS system administrator:

Option Description
host Host name of the SSH server.
port Port number of the SSH server. This will default to 22.
user User ID to identify yourself to the SSH server.
password Password to identify yourself to the SSH server.

For example, to create an SSH profile:

zowe profiles create ssh-profile myzos --host myzos.example.com --user myuserid --password mypassword --overwrite

For help on using the options:

zowe profiles create ssh-profile --help

To test the connection to the SSH server using the profile:

zowe zos-uss issue ssh 'uname -a'

CICS deploy profile

The cics-deploy profile identifies the CICS environment for deployment. See Provisioning a CICS region using z/OS PT for an example of how to create an environment using z/OS Provisioning Toolkit. You need to know the following from your CICS system administrator:

Option Description
cicsplex CPSM CICSplex name.
cics-hlq High Level Qualifier (HLQ) for the CICS data sets.
cpsm-hlq High Level Qualifier (HLQ) for the CPSM data sets.
scope CPSM scope to identify the CICS region or group of regions to deploy your application.
csd-group or res-group CICS CSD group name or CPSM BAS resource group name into which the bundle is defined. If not specified, BUNDLE resources are defined in CPSM BAS for installation and then removed.
job-card JCL jobcard to use when submitting JCL that will run the CICS utility DFHDPLOY. If not specified, a default job card will be used.
target-directory Target directory on z/OS to which CICS bundles should be uploaded.

For example, to create a cics-deploy profile:

zowe profiles create cics-deploy-profile cics --cicsplex PLEX1 --cics-hlq CICSTS55.CICS720 --cpsm-hlq CICSTS55.CPSM550 --scope CICPY000 --csd-group BUNDGRP1 --target-directory /var/cicsts/bundles --overwrite

For help on using the options:

zowe profiles create cics-deploy-profile --help

To test the cics-deploy profile, follow the steps in Deploying a Node.js application.

CICS profile

The CICS profile identifies the connection to the CICS Web User Interface (WUI) server to query application resources. You need to know the following from your CICS system administrator:

Option Description
cics-plex CPSM CICSplex name. This will typically be set to the same as cicsplex in the cics-deploy profile.
region-name The name of the CICS region name to interact with.
protocol HTTP or HTTPS to use to connect to the CICS WUI server.
host Host name of the CICS WUI server.
port Port number of the CICS WUI server.
user User ID to identify yourself to the CICS WUI server .
password Password to identify yourself to the CICS WUI server.

For example, to create an SSH profile:

zowe profiles create cics-profile cics --cics-plex PLEX1 --region-name CICPY000 --protocol https --host myzos.example.com --port 1490 --user myuserid --password mypassword --overwrite

For help on using the options:

zowe profiles create cics-profile --help

To test the connection to the CICS WUI server using the profile:

zowe cics get resource CICSRegion | grep -E "applid|cicsstatus|jobname|mvssysname|strttime|cputime"
applid:       CICPY00V
cicsstatus:   ACTIVE
cputime:      0000:02:29.2824
jobname:      CICPY00V
mvssysname:   MV2C
strttime:     2019-06-13T16:08:15.938572+00:00