Section
2, Task 2: Create Your Production PDB Action 3: Create your production PDB |
|
You can do this interactively or in batch.
From the main window, follow this path:
PDB Admin -> Manage PDBs/Switch PDB -> Actions -> Create/Add
Type in the name of the (high-level qualifiers of the) production PDB and then select OK and OK. IT Service Vision displays the PDB Allocation window. Enter your space estimates and make any other changes as needed.
To allocate your production PDB, select Run.
To return to your list of known PDBs, select Goback. Your new PDB is now in your list of known PDBs.
Activate the new PDB by selecting the PDB and then selecting:
ItemActions -> Activate -> WRITE access -> OK
Review the ALLOC job step in the following code:
//CMQSTART JOB (accounting info),'ITSV Quick Start', #1 // MSGLEVEL=(1,1),TIME=20,REGION=32M,NOTIFY= . . #2 . //******************************************************************* //* ** //* Delete the old PDB data libraries, to make this job re-runnable.* //* ** //******************************************************************* //CLEANUP EXEC PGM=IDCAMS #3 //SYSPRINT DD SYSOUT=* //SYSIN DD DATA,DLM='$$' DELETE 'YOUR.NEWPDB.*' SET MAXCC=0 $$ //******************************************************************* //* ** //* Allocate IT Service Vision for MVS Performance Data Base data ** //* libraries. ** //* ** //******************************************************************* //ALLOC EXEC PGM=IEFBR14 #4 //DETAIL DD DSN=YOUR.NEWPDB.DETAIL,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(120,20)),UNIT=SYSDA #5 //DAY DD DSN=YOUR.NEWPDB.DAY,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(99,25)),UNIT=SYSDA //WEEK DD DSN=YOUR.NEWPDB.WEEK,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(30,25)),UNIT=SYSDA //MONTH DD DSN=YOUR.NEWPDB.MONTH,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(99,10)),UNIT=SYSDA //YEAR DD DSN=YOUR.NEWPDB.YEAR,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(20,5)),UNIT=SYSDA //ADMIN DD DSN=YOUR.NEWPDB.ADMIN,DISP=(NEW,CATLG,DELETE), // SPACE=(TRK,(15,10)),UNIT=SYSDA //COLLECT DD DSN=YOUR.NEWPDB.COLLECT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(9,9)),UNIT=SYSDA //PDBWORK DD DSN=YOUR.NEWPDB.PDBWORK,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(180,80)),UNIT=SYSDA
Notes:
Warning: This will delete all datasets that started with this prefix, so be sure that you have no other datasets that begin with the same qualifiers!
Set up and submit a batch job with a SAS job step (using JCL like that used in the LOAD job step in the CMQSTART job, except that you can remove the definition of the SMF ddname). In the job step, include the following macro calls:
%CPSTART(MODE=BATCH SYSTEM=MVS, ROOT='itsv.prefix.', PDB='your.test.pdb', DISP=OLD,SHARE=N/A, MXGSRC=('MXG.USERID.SOURCLIB' 'MXG.MXG.SOURCLIB'), MXGLIB=MXG.MXG.FORMATS ); %CPDBCOPY(your.test.pdb, your.production.pdb);
where your.production.pdb is the high-level qualifiers of your production PDB and the other values are as described in Section 1, Task 3: Create a Test PDB and Process, Reduce, and Report on Your Data.