Sites running only VM on multiple CPUs must complete the following procedure before establishing a shared database. Because you cannot merge CMS databases with other CMS databases, you must convert one of the CMS databases to a VSAM database before you activate the shared database feature. You must be running VSE/VSAM Version 2 to support database sharing.
If you used CA‑ACTIVATOR to install CA ACF2 for z/VM with VSAM shared databases or the ACF2VSAM EXEC to convert your system to shared databases, the steps outlined below are already complete. If you used these execs, this section is for reference only.
Establish space on a volume and format the volume using the Data Services Facility (DSF) to create a VSAM minidisk. Below is an example of establishing a 20‑cylinder minidisk on a 3380, linked as device 300. This step requires that no class I reader queue files exist. If any of these files exist, dispose of them or transfer them to another class.
query reader all class i purge reader class i spool punch * class i punch ipl dsf s (noheader spool reader class i ipl 00c clear ICK005E DEFINE INPUT DEVICE, REPLY 'DDDD,CUU' OR 'CONSOLE' console ICK006E DEFINE OUTPUT DEVICE, REPLY 'DDDD,CUU' OR 'CONSOLE' console ENTER INPUT/COMMAND init unit(300) novfy volid(vmvsam) mimic(mini(20)) devtype(3380) ICK003D REPLY U TO ALTER VOLUME 300 CONTENTS, ELSE u
When processing completes, enter the following command:
#CP I 190 CL
You have created your VSAM minidisk. If any errors occurred during processing, reexamine the procedure.
Create a four‑cylinder VSAM master catalog named CATALOG MASTER on the OS minidisk, starting at cylinder one. Following is a sample ACF2DEFM EXEC and a DEFCAT AMSERV file to create this catalog:
Sample ACF2DEFM EXEC
/* */ /* Access the catalog master disk if not invoked */ /* thru the ACF2VSAM EXEC. */ /* */ 'SET DOS ON (VSAM' 'ASSGN SYSCAT V' queue '19 76' queue 'SET CMSTYPE HT' 'DLBL IJSYSCT V DSN CATALOG MASTER (SYSCAT PERM EXTENT' 'SET CMSTYPE RT' 'AMS ACF2DEFM' cc = rc 'SET DOS OFF' exit cc
Sample ACF2DEFM AMSERV File
DEFINE MASTERCATALOG ‑
(NAME(CATALOG.MASTER) ‑
VOLUME(VMVSAM) ‑
CYL(4) ‑
FILE(IJSYSCT))The ACF2DEFM EXEC works with the ACF2DEFM AMSERV to produce the master catalog. Insert your values into the ACF2DEFM EXEC and enter the following command:
ACF2DEFM
Examine the file's ACF2DEFM LISTING for any errors. If there are no errors, your master catalog is created.
Define your CA ACF2 for z/VM VSAM databases. The following sample ACF2DEFC EXEC and ACF2DEFC AMSERV file perform this action for you:
Sample ACF2DEFC EXEC
/* */ /* ACCESS THE REQUIRED DISKS IF NOT INVOKED BY THE ACF2VSAM EXEC. */ 'SET DOS ON (VSAM' 'SET CMSTYPE HT' 'ASSGN SYS001 V' 'ASSGN SYS002 V' 'ASSGN SYS003 V' 'ASSGN SYSCAT V' 'DLBL IJSYSCT V DSN CATALOG MASTER (SYSCAT' queue '95 76 V SYS001' queue 'DLBL LFILE V (SYS001 EXTENT' queue '02 02 V SYS001' queue 'DLBL LINDX V (SYS001 EXTENT' queue '171 76 V SYS002' queue 'DLBL RFILE V (SYS002 EXTENT' queue '04 02 V SYS002' queue 'DLBL RINDX V (SYS002 EXTENT' queue '247 76 V SYS003' queue 'DLBL IFILE V (SYS003 EXTENT' queue '06 02 V SYS003' queue 'DLBL IINDX V (SYS003 EXTENT' 'SET CMSTYPE RT' 'AMS ACF2DEFC' cc = rc 'SET DOS OFF' exit cc
Sample ACF2DEFC AMSERV File
DEFINE CLUSTER(NAME(VMVSAM.ACF.LOGONIDS) ‑
RECORDSIZE(512,1024) ‑
FREESPACE(30,30) ‑
UNIQUE ‑
OWNER(ACF) ‑
KEYS(8,0) ‑
SHAREOPTIONS(4,4)) ‑
DATA(NAME(VMVSAM.ACF.LOGONIDS.DATA) ‑
VOL(VMVSAM) ‑
FILE(LFILE) ‑
CYLINDERS(4) ‑
CONTROLINTERVALSIZE(4096)) ‑
INDEX(NAME(VMVSAM.ACF.LOGONIDS.INDEX) ‑
VOL(VMVSAM) ‑
FILE(LINDX) ‑
TRACKS(2) ‑
CONTROLINTERVALSIZE(4096))
DEFINE CLUSTER(NAME(VMVSAM.ACF.RULES) ‑
RECORDSIZE(400,4088) ‑
FREESPACE(30,30) ‑
UNIQUE ‑
OWNER(ACF) ‑
KEYS(8,0) ‑
SHAREOPTIONS(4,4)) ‑
DATA(NAME(VMVSAM.ACF.RULES.DATA) ‑
VOL(VMVSAM) ‑
FILE(RFILE) ‑
CYLINDERS(4) ‑
CONTROLINTERVALSIZE(4096)) ‑
INDEX(NAME(VMVSAM.ACF.RULES.INDEX) ‑
VOL(VMVSAM) ‑
FILE(RINDX) ‑
TRACKS(2) ‑
CONTROLINTERVALSIZE(4096))
DEFINE CLUSTER(NAME(VMVSAM.ACF.INFOSTG) ‑
RECORDSIZE(400,4088) ‑
FREESPACE(30,30) ‑
UNIQUE ‑
OWNER(ACF) ‑
KEYS(44,32) ‑
SHAREOPTIONS(4,4)) ‑
DATA(NAME(VMVSAM.ACF.INFOSTG.DATA) ‑
VOL(VMVSAM) ‑
FILE(IFILE) ‑
CYLINDERS(4) ‑
CONTROLINTERVALSIZE(4096)) ‑
INDEX(NAME(VMVSAM.ACF.INFOSTG.INDEX) ‑
VOL(VMVSAM) ‑
FILE(IINDX) ‑
TRACKS(2) ‑
CONTROLINTERVALSIZE(4096))
The ACF2DEFC EXEC works with the ACF2DEFC AMSERV file to create three VSAM clusters. Each cluster contains the catalog, the data component, and index component. The data components must reside on a cylinder boundary.
CA ACF2 for z/VM creates the data component immediately following the master catalog on cylinders 5 through 8. It puts the LOGONID data component on cylinders 9 through 12. CA ACF2 for z/VM puts the INFOSTG data component on cylinders 13 through 17. There are no cylinder boundary restrictions for the index components, so CA ACF2 for z/VM puts them on cylinder zero following VTOC.
To accomplish this task, enter the following command:
ACF2DEFC
When the ACF2DEFC EXEC finishes processing, your databases are defined. Examine the ACF2DEFC LISTING for errors.
Initialize the CA ACF2 for z/VM VSAM databases through the ACFLINIT EXEC. Below is a sample of this exec.
Sample ACFLINIT EXEC
/* */
/* Access the required disks if not invoked by the ACF2VSAM EXEC. */
arg ar TM93507
'DLBL * CLEAR'
'DLBL IJSYSCT V DSN CATALOG MASTER'
'DLBL LID V DSN VMVSAM ACF LOGONIDS (VSAM'
'DLBL RULES V DSN VMVSAM ACF RULES (VSAM'
'DLBL INFO V DSN VMVSAM ACF INFOSTG (VSAM'
'QUERY CMSLEVEL (STACK LIFO'
parse pull . . cmslevel .
cmslevel = translate(cmslevel,' ',',')
cmslevel = strip(cmslevel,t)
if cmslevel < 5.5 then 'EXECOS ACFLINIT' ar
else 'ACFLINIT' ar
exit rc
To initialize the database, enter isoid, where isoid is the logonid of the security administrator. (If the isoid operand does not exist, CA ACF2 for z/VM assumes ACFUSER is the logonid.) Ensure that the logonid exists in the system directory so that the security administrator can log on.
Convert the system directory for CA ACF2 for z/VM use. For information on converting your VM/SP directory to the LIDREC format, see ACF2TASK EXEC Step 1.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|