Traditionally, JCL is used to compile and install the physical and symbolic description maps for use within CICS transactions. Another useful feature of the BMS Editor is functionality to generate JCL for a BMS map set that was created and saved into an existing z/OS project. The JCL is generated and written to an existing PDS on the z/OS.
We used the following process to generate the JCL for one of our map sets.
1. Establish a connection to the host
A z/OS project must be created, which is a PC-based representation of artifacts, PDSs, and data set members that also exist on the host. Any objects that are created or edited in the z/OS project are also created on the MVS™ host in real time. This makes development of projects for z/OS almost seamless as there is no need to worry about uploading or creating objects on the host as WD/z does this for you.
Before a z/OS project can be created, a connection to the host system needs to be established.
Figure : Defining a Remote Connection
Figure: A successful connection and Explorer view of the host file groups
2. Filtering and data set mapping tasks
Now that there is a connection to a host z/OS system, there are a couple of set up tasks to complete. These tasks ensure that the workstation view of the host and the file transfer to and from the host are customized to accommodate local naming conventions and workstation file extensions.
We customize the Remote Systems view of the host file subsystems through the filtering function in WD/z, and ensure that there are mapping rules in place to accommodate the differences in the naming of PDS members and Windows-based filenames.
Filtering the Explorer View of the host connection
The z/OS file systems contain hundreds of data sets and even more members, which you do not necessarily need to display. The tooling allows you to filter the data set and job names, just as you would by using the asterisk on the PDF Dslist function or the prefix command in SDSF on the host system.
As an example, in this book we are interested in the data sets associated with our CICS application CICSWSAP and in the jobs associated with our CICS region SCSCPJA6. The method to filter just these files is as follows:
Figure: Creating a filter for JES jobs
Figure : JES Job Filter
Figure:A filtered data set view for our project
z/OS File System Mapping
As part of the default z/OS perspective, there is a view on the work space called z/OS File System Mapping that provides a list of mapping criteria for the lowest level qualifier of a PDS and the workstation file extension. If there is a mapping defined, you can see the workstation file extensions in the Remote Systems view of the members in a PDS.
Use the following steps to add a map definition:
Figure: Adding a mapping rule between a PDS member and workstation filename
Figure: Specifying the mapping rule
3. Create a z/OS Project for the map set
To generate JCL for our BMS and work with a host z/OS system, including the utilization of the Editors in WD/z to edit existing BMS map sets, JCL, and other files, we need to create a z/OS Project and associate the map sets to that project.
Use the following steps to create an z/OS Project.
Figure :Creating a z/OS Project
Figure: Creating a subproject
The new project should appear in the z/OS Projects view with the associated subproject and host name. This is seen in Figure.
Figure : z/OS Project Explorer view of z/OS project and subproject
4. Import map sets into the z/OS Project
You may already have several map sets created in your traditional CICS environment that you want to edit or copy. The BMS Editor provides a modern tooling technique to simplify this process. The BMS Editor can be used on existing map sets on a host system by importing them into a z/OS subproject, or map sets created locally can be copied into the z/OS Project from a local, eneral project type on the work space.
The effect of copying artifacts from a local project into a z/OS Project is that these are also created in the PDS on the host. In our demonstration, we will now allocate a PDS for the z/OS Project to hold our maps and map sets.
This is shown in Figure.
Figure: Allocating a PDS on the z/OS host
5. Create the JCL for the map set
Use the following procedure to create the JCL for assembly of a map set:
Figure : Customizing map set properties
This brings up an Options view where the destination libraries and procedure name can be edited according to your site specifications.
6. Submit the JCL and test in CICS
Now we are ready to submit the JCL using the following steps.
IBM-CICS Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-REXX Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||COBOL Interview Questions|
|IBM-JCL Interview Questions||DB2 Using SQL Interview Questions|
|IBM-JCL&VSAM Interview Questions||IBM Mainframe Interview Questions|
|Mainframe DB2 Interview Questions|
Service-oriented Architecture And Cics
Cics As A Service Provider And Requester
Modern Web Services Development Tools
Development Of The Change Of Address Cics Application
Exposing Our Application As A Web Service
Developing Web Service Clients
Tracing The Change Of Address Scenario
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.