Note: You need a Docker runtime version 19.0.3 or later running on your
workstation to run the z/OS Connect Designer
tool.
Note: Throughout this tutorial, the tagged version of the z/OS Connect Designer image is
icr.io/zosconnect/ibm-zcon-designer:3.0.75. You might have a later version.
However, it works the same.
About this task
This topic is applicable to:
Create the directories and files on your workstation that you need to
create a z/OS Connect API project in z/OS Connect Designer.
Procedure
Create a project workspace directory.
At the command prompt on your
workstation, change to the directory where you want to create your z/OS Connect API project.
Note: You can create the project
workspace in any directory. For this tutorial, create the project workspace in the Desktop directory
if you are using a Mac or the root directory if you are using Windows.
Enter the following command.
For Windows, enter cd /.
For MacOS, enter cd
~/Desktop.
Enter the following command to create a project workspace directory called
ZCWorkspace.
mkdir ZCWorkspace
Enter the following command to change to that directory:
cd ZCWorkspace
In the ZCWorkspace directory, create the subdirectories for the
API project. These subdirectories are used for Liberty server configuration files.
In the ZCWorkspace directory, create the
logs and certs subdirectories.
Enter the
following commands:
mkdir logs
Note: Creating the /certs directory is only required if your connection CICS uses certificates. This tutorial covers Basic
Authentication with an IPIC connection. For other security configuration, see Configuring an IPIC connection to CICS.
mkdir certs
Verify that the z/OS Connect Designer image is loaded.
Run the following command to list the available docker images on your
workstation.
docker image ls
The following output shows that the z/OS Connect Designer image is now available.
REPOSITORY TAG IMAGE ID CREATED SIZE
icr.io/zosconnect/ibm-zcon-designer 3.0.75 ffba75f49b73 7 hours ago 1.52GB
Note: The creation timestamp shows when the image itself was first created, not when it was
loaded onto your workstation.
Create the docker-compose.yaml file.
Open a new file in
your text editor. Copy the contents in Figure 1 and save
the file as docker-compose.yaml in the ZCWorkspace
directory. Keep the file in the editor for the next step.Figure 1. Contents of docker-compose.yaml
file
At run time, these
environment variables are used to create a CICS
IPIC Connection.
Save and close the docker-compose.yaml file.
Verify the structure of the files on your workstation in your project workspace
directory.
On the command line, enter dir for Windows or ls for Mac. Verify that the new files and directories
are listed correctly. The following screen image shows the expected project
structure.