IMS™ DB/DC and IMS Connect for z/OS®
IMS DB/DC is an optional product available upon request for the z/OS remote access environment. Please contact the IBM Innovation Center, Dallas if you wish to add IMS DB/DC to your guest z/OS system.
Table of contents
-
1 IMS DB/DC Installation and Configuration
2.1. Dataset Information
-
2 Instructions to start/stop the IMS subsystem
3.1. Starting IMS
3.2. Stop IMS
-
A.1. IMS Connect PROCS and PARMS
A.2. Implementation
1 IMS DB/DC Installation and Configuration
When requested to be connected to the guest z/OS system, IMS DB/DC will be installed and configured as documented in the IMS DB/DC program directory and installation guide, with some minor modifications to conform to IBM Innovation Center, Dallas installation guidelines.
In this environment, only one IMS subsystem can run at a time because two SVCs are required for IMS and only one pair of SVCs is defined. A separate pair of SVCs would be needed for each version of IMS to run multiple versions simultaneously.
IMS Connect is also configured on the system, but it is not activated. Please follow instructions found in Appendix A. IMS Connect to activate it.
1.1 Dataset Information
IMS DB/DC datasets will have the following format and contain information as described below:
- The older versions high‑level qualifier (HLQ) will be
IMSxxx, withxxxrepresenting the version and release of IMS (e.g.,IMS1110,IMS1210). Newer versions use HLQsDFSD10(version 13) andDFSE10(version 14). - The sample installation and IVP jobs are found in library
[hlq].INSTALIB. - Installation, maintenance information, and configuration samples are provided in datasets named
[hlq].SVSC.*. - The Stage 1 input macros reside in dataset
[hlq].IMSGEN.CNTL(STG1MACS). - The jobs that run after the Stage 1 and Stage 2 jobs also reside in dataset
[hlq].IMSGEN.CNTL.
1.2 Special Instructions for doing STAGE1 Gen
All of these instructions must be performed with IMS NOT running.
-
Run
[hlq].IMSGEN.CNTL(STAGE1). This uses memberSTG1MACSas input and generates a jobstream that isSTAGE2. -
Modify the
STAGE2job to have the output go to[hlq].USER.SDFSRESL. You can perform this modification using a clist. -
To execute the clist, go to TSO option
6and enter the following command (with correct HLQ):EX '[hlq].SVSC.CLIST(STAGE2U)' '[hlq].IMSGEN.CNTL'This will take STAGE2, apply the needed modifications, and create
STAGE2U. Run all the steps or jobs ofSTAGE2U. -
Then run
SECURITY,DEFLTAGN,OLCUTL.
In Summary:
- PREPROC – checks names (not currently used)
- STAGE1 – uses
STG1MACSas input[hlq].IMSGEN.CNTL(STAGE1)
- STAGE2 – output created by
STAGE1- Go to TSO option
6, copy step 4, press ENTER
- Go to TSO option
- This REXX exec stores the updated
STAGE2inSTAGE2Umember:EX '[hlq].SVSC.CLIST(STAGE2U)' '[hlq].IMSGEN.CNTL'
- STAGE2U –
STAGE2Uclist creates this job:[hlq].IMSGEN.CNTL(STAGE2U)
- SECURITY – turns off security on these systems
[hlq].IMSGEN.CNTL(SECURITY)
- DEFLTAGN – replaces Resource Access Security module
DFSISIS0[hlq].IMSGEN.CNTL(DEFLTAGN)
- OLCUTL – Online Change Utility - makes the changed objects available.
[hlq].IMSGEN.CNTL(OLCUTL)
The same process exists for IMS1210, DFSD10, and DFSE10. Only the dataset HLQ changes.
2 Instructions to start/stop the IMS subsystem
Depending on when IMS was requested for the system, the IMS started tasks are found in either
SVTSC.PROCLIB or VENDOR.PROCLIB and follow a naming standard of IMSnn*, where nn is 12, 13, or 14
representing the IMS version.
The following commands can be issued from the LOG display in SDSF. From the TSO Primary
Option Menu, type SD.LOG and press ENTER. In the following examples, IMS V9 is being
started. To start IMS V13, substitute 13 for 12 in the commands below. To start IMS V14,
substitute 14 for 12 in the commands below.
2.1 Starting IMS
In order to start IMS, the IRLM task must be started first. To start IRLM for IMS V9 issue the following command from SDSF command line:
/S IMS12RL1
This will start the task for the IRLM associated with IMS V12. The two digits in the task name refer to the version.
Next you will start the control region for IMS V12. Issue command:
/S IMS12CR1
As IMS starts running it will issue a write to operator with reply (WTOR). For a normal restart, you must reply with a command like:
/R 03,/NRE CHKPT 0 FORMAT ALL
In this example the 03 matches the reply number in the IMS response. This will cold start
IMS.
2.2 Stop IMS
To stop IMS, issue the following commands from SDSF:
/R 04,/CHE SNAPQ
/R 05,/CHE FREEZE
These commands will close the checkpoint dataset and bring down the control region. You will still need to stop the IRLM with the following command:
/P IMS12RL1
3 IMS terminals in full screen APPLication mode
In order to connect to IMS, the IMS version you want to connect must be started and the VTAM
APPL must be activated. The current highest level of IMS supported on the system will be the
active VTAM APPL. i.e IMS14APL You can display which VTAM APPLs are active by
issuing the following command:
/D NET,APPLS
To display the specifics about the IMS VTAM APPL that is active, issue the following command:
/D NET,ID=IMS14APL,E
If you want to activate a different IMS, you must first stop the current VTAM APPL and start the new VTAM APPL. For instance, to stop the IMS V14 APPL and start the IMS V13 APPL, issue the following commands:
/V NET,INACT,ID=IMS14APL
/V NET,ACT,ID=IMS13APL
Note: Since we only include one set of SVC's defined for IMS, you can run only one version of IMS at a time.
In the default STAGE1 for each version of IMS, there are predefined terminals named for LF02,
LF03, LF04 which correspond to the F02, F03, F04 terminal attribute used on the DIAL
command. To be connected as one of those predefined terminal names, use the DIAL command
and specify one of the terminal IDs (either F02, F03, or F04). Following is an example of this
command:
D ETPGyyy F02
To see the definitions for the terminals refer to the STAGE1 input found in the IMSGEN.CNTL
library. i.e. IMS1010.IMSGEN.CNTL(STG1MACS).
When you specify IMS on your "WELCOME TO THE SOFTWARE VENDOR SYSTEMS CENTER" , you may see differences in the screen you are presented based on which terminal id you selected.
- Terminal ID
F02is defined as the Master Terminal, you will get an MTO session - Terminal IDs
F03andF04will give you a regular IMS terminal session (no/SIGNsignon required)
If you connect without one of these Terminal IDs, a signon screen will appear.If you get the sign on screen, you must specify a user ID but no password is needed. Neither the user ID nor the password are checked.
Note: To drop the VTAM terminal session to the IMS application, issue the following command from any terminal connected to IMS:
/RCL
Appendix A. IMS Connect
This appendix provides instructions for solution developers to implement IMS Connect with IMSPlex support, on their remote development system. These instructions assume that the guest z/OS system is active and that the solution developer is logged on to TSO to perform the tasks.
Additional information can be found in the IMS V9 Connect Users Guide and Reference here: http://www.elink.ibmlink.ibm.com/publications/servlet/pbi.wss?CTY=US&FNC=SRX&PBL=SC18-9287-02
A.1 IMS Connect PROCS and PARMS
There are several additional started task procs and parm members required for IMS Connect
with IMSPlex support (used to access Operations Manager). These members are in addition
to the normal IMS control and dependent region procs/parms. You will find these members
located in [hlq].PROCLIB (hlq represents the high level qualifier of your version of IMS). Please
verify that you have these members on your system, if not, please contact the IBM Innovation
Center, Dallas support team:
IMSxxHWS— IMS Connect taskIMSxxRM1— Resource ManagerIMSxxSCI— Structure Call InterfaceIMSxxOM1— Operations ManagerDFSPBIV2DFSCG001HWSCFG02
A.2 Implementation
Copy member IMSxxCR1 from SVTSC.PROCLIB into VENDOR.PROCLIB. Change the
RGSUF parm to RGSUF=IV2. This is all the cusomization you should need to do, provided
all of the above members exist on your system.
A.3 Start IMS and IMS Connect Tasks
Once IMS connect is implemented, you must start the IMS tasks in the following order. Below are commands to complete this task:
S IMSxxRL1
S IMSxxSCI
S IMSxxRM1
S IMSxxOM1
Start IMS Control Region:
S IMSxxCR1
(Follow normal IMS start procedure in 2.1 Starting IMS)
S IMSxxHWS
A.4 Stop IMS and IMS Connect Tasks
Use the following order and commands to stop the IMS tasks – please wait for each shutdown to complete before continuing on to the next one:
-
Look in
SYSLOGfor the outstanding reply number forDTSCHWS. Respond withxx,CLOSEHWS QUIESCE -
Shut IMS control and dependent regions down using normal shutdown commands (see 2.2 Stop IMS).
-
P IMSxxOM1 -
P IMSxxRM1 -
P IMSxxSCI -
P IMSxxRL1