Professional Documents
Culture Documents
Naviquest
Naviquest
Naviquest
Neal Bohling
DFSMS Defect Support, IBM
Insert
Custom
Session
QR if
Desired.
Goal of this Presentation / Agenda
2
Overview
3
What can it do?
4
When it gets powerful:
5
Finding NaviQuest
6
What it looks like
7
Using NaviQuest
8
Deep Breath.
Now we'll dive into the details.
9
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report (in batch)
• Using model command generation
• Adding a set of volumes to a Storage Group
10
COPYFILT
11
COPYFILT Example
• Update FILTLIST to look like:
/*_*_*_*_*_*_*_*_*_*_*_*_*_*_*/
FILTLIST RLS INCLUDE('RLS')
FILTLIST RLS64 INCLUDE('RLS64')
FILTLIST SMS INCLUDE('SMS')
FILTLIST NONSMS INCLUDE('SMSN')
/**_**_**_**_**_**_**_**_**_**/
PROC STORCLAS
/*_*_*_*_*_*_*_*_*_*_*_*_*_*_*/
/**_**_**_**_**_**_**_**_**_**/
SELECT(&DSN(2))
12
COPYFILT Example
13
COPYFILT Example
14
COPYFILT Example - Result
15
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report (in batch)
• Using model command generation
• Adding a set of volumes to a Storage Group
16
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
17
ACS Testing – Generating a Data Set List
18
ACS Testing - Generate Data Set List
19
ACS Testing – Generate DS List
* Note: you can see and edit your saved lists from ISMF Option L (LISTS)
20
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
21
ACS Testing – Generate Testcases
22
ACS Testing – Generate Testcases
* there is a special prefix – NEVR – for data sets that should never be managed
23
ACS Testing – Generating Testcases
24
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
25
ACS Testing – Generate Baseline
26
ACS Testing – Generate Baseline
27
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
28
Make Changes to ACS
29
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
30
ACS Testing – Run tests
31
ACS Testing – Run Tests Again
32
ACS Testing - Process
Generate
Generate Generate
Data
Testcases Baseline
Set List
33
ACS Testing – Compare Results
34
ACS Testing – Compare Results
35
ACS Testing - Summary
36
Now for Batch
37
NaviQuest Batch
• Same functions, different interface
• Plenty of sample JCL exists – start there
• Update the JOBCARD
• Update everything after the SYSTSIN DD *
• Controlled by parameters of format PARM(VALUE)
• Well-documented in JCL Comments
• Also documented in DFSMSdfp Storage Administration
• CLISTS and JCL stored in SYS1.SACBCNTL
• EXEC ACBJBAOB
• Specific CLIST called via ISPSTART CMD(cmd name)
38
ACS Testing in Batch
39
ACS Testing in Batch - Testing
000041 //********************************************************************
000042 //* *
000043 //* TEST STEP *
000044 //* *
000045 //* SCDS - NAME OF SCDS THAT CONTAINS THE TRANSLATED, @D1C*
000046 //* VALIDATED ACS ROUTINES TO BE TESTED (INPUT) *
000047 //* TESTBED - PDS CONTAINING TEST CASES THAT THE ACS ROUTINES *
000048 //* SHOULD BE TESTED FOR (INPUT) *
000049 //* MEMBER - MEMBERS TO BE TESTED IN TESTBED (INPUT) *
000050 //* DC,SC,MC,SG - ROUTINES TO BE TESTED Y OR N (INPUT) *
000051 //* LISTNAME - TEST LISTING (OUTPUT) *
000052 //* *
000053 //********************************************************************
000054 //********************************************************************
000055 //TESTACS EXEC ACBJBAOB,
000056 // PLIB1='SYS1.DGTPLIB',
000057 // TABL2=userid.TEST.ISPTABL
000058 //SYSTSIN DD *
000059 PROFILE PREFIX(IBMUSER)
000060 DEL NEW.TESTLIST
000061 ISPSTART CMD(ACBQBAIA +
000062 SCDS(MYSCDS) +
000063 TESTBED(TESTCASE.LIBRARY) MEMBER(*) +
000064 LISTNAME(NEW.TESTLIST) +
000065 DC(Y) SC(Y) MC(Y) SG(Y)) +
000066 NEWAPPL(DGT) BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(99999999)
000067 /*
40
ACS Testing in Batch - Testing
000041 //********************************************************************
000042 //* *
000043 //* TEST STEP *
000044 //* *
000045 //* SCDS - NAME OF SCDS THAT CONTAINS THE TRANSLATED, @D1C*
000046 //* VALIDATED ACS ROUTINES TO BE TESTED (INPUT) *
000047 //* TESTBED - PDS CONTAINING TEST CASES THAT THE ACS ROUTINES *
000048 //* SHOULD BE TESTED FOR (INPUT) *
000049 //* MEMBER - MEMBERS TO BE TESTED IN TESTBED (INPUT) *
000050 //* DC,SC,MC,SG - ROUTINES TO BE TESTED Y OR N (INPUT) *
000051 //* LISTNAME - TEST LISTING (OUTPUT) *
000052 //* *
000053 //********************************************************************
000054 //******************************************************************** TABL2 must be allocated
000055 //TESTACS EXEC ACBJBAOB,
It is a standard ISPF table.
000056 // PLIB1='SYS1.DGTPLIB',
000057 // TABL2=NEAL.SMS.ISPTABL
000058 //SYSTSIN DD * PDS Dataset
000059 PROFILE PREFIX(USER2) RECFM=FB
000060 DEL 'NEAL.SMS.NEW.TESTLIST' LRECL=80
000061 ISPSTART CMD(ACBQBAIA + DSORG=PO (PDS)
000062 SCDS('NEAL.SMS.SCDS') +
000063 TESTBED('NEAL.SMS.ACSTST') MEMBER(*) +
000064 LISTNAME('NEAL.SMS.NEW.TESTLIST') +
000065 DC(Y) SC(Y) MC(Y) SG(Y)) +
000066 NEWAPPL(DGT) BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(99999999)
000067 /*
41
ACS Testing in Batch - Results
42
ACS Testing in Batch – Compare job
//******************************************************************** //CMPRSTEP EXEC ACBJBAOB,
//* *
//* SAMPLE JCL TO COMPARE ACS TEST LISTINGS IN BATCH * // PLIB1=SYS1.DGTPLIB,
//* * // TABL2=userid.TEST.ISPTABL
//* INSTRUCTIONS BEFORE SUBMITTING: *
//* * //SYSTSIN DD *
//* CHANGE JOBCARD * PROFILE PREFIX(IBMUSER)
//* CHANGE PREFIX *
//* CHANGE PARAMETERS * DEL COMPARE.LISTING
//*
//* PARAMETERS:
*
*
DEL TESTCASE.EXCP
//* * ISPSTART CMD(%ACBQBAC1 +
//*
//*
BASELIST - BASE ACS TEST LISTING (INPUT)
NEWLIST - NEW ACS TEST LISTING (INPUT)
*
*
BASELIST(BASE.TESTLIST) +
//* TESTBED - TEST CASE PDS (REFERENCE INPUT) * NEWLIST(NEW.TESTLIST) +
//* RSLTDSN - COMPARISON RESULTS DATA SET (OUTPUT) *
//* XCPTPDS - EXCEPTION TEST CASE PDS (OUTPUT) *
TESTBED(TESTCASE.LIBRARY) +
//* XCPSPACE - SPACE values of Except DS (Optional) 3a@WA32832* RSLTDSN(COMPARE.LISTING) +
//* Values: (Primary Tracks,Secondary Tracks,Directory Blocks) *
//* which are positional and optional. Defaults: (3,1,20). *
XCPTPDS(TESTCASE.EXCP) +
//* * XCPSPACE(5,3,30)) +
//* NOTE: If you receive message IEC217I B14-0C on your exception *
//* data set, you need to increase your data set size by using * BATSCRW(132) BATSCRD(27) BREDIMAX(3)
//* the XCSPACE parameter (specially the directory blocks) * BDISPMAX(99999999)
//* *
//******************************************************************** /*
43
ACS Testing – Compare Results
44
ACS Batch Summary
45
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report
• Using model command generation
• Adding a set of volumes to a Storage Group
46
Volume Report
47
Volume Report - Results
48
Volume Report – via Batch
• ISMF 11.7.1.“Generate DASD Volume Report”
• JCL:
//GENREP EXEC ACBJBAOB,
// PLIB1=SYS1.DGTPLIB,
// TABL2=SYS1.SMP.OTABLES
//ISPFILE DD DSN=NEAL.SMS.DASDVOL.REPT,DISP=OLD
//SYSTSIN DD *
PROFILE PREFIX(USER2)
ISPSTART CMD(ACBQVAR1 NBVOL SORT(VOLSER)) +
NEWAPPL(DGT) BATSCRW(132) BATSCRD(27) BREDIMAX(3) BDISPMAX(99999999)
/*
//SYSIN DD *
VOLSER
DEVNUM
FREESPC
%FREE
TITLE=STATUS OF VOLUMES
TOTALS
/*
49
Volume Report - Results
50
Reporting Summary
51
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report (in batch)
• Using model command generation
• Add a set of volumes to a Storage Group
52
Model Command Generation
53
Model Command Generation
54
Model Command Generation
55
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report (in batch)
• Using model command generation
• Add a set of volumes to Storage Group
56
Adding a volume to a SG - Batch
• Sample in “Change Storage Group Volume Status” - ACBQBAI9
• 3 DD : VOLADD, VOLDEL, VOLALT:
57
Demonstrations and Details:
• Using COPYFILT
• Building ACS Testcases and running them
• Then doing it in batch
• Generating a volume report (in batch)
• Using model command generation
• Adding a set of volumes to a Storage Group
58
Want More?
59
Summary
NVQ
60
For More Information:
• Manuals:
• DFSMSdfp Storage Administration (SC26-7402)
• Chapter 22 – Using NaviQuest
• DFSMS Using the Interactive Storage Management Facility
(SC26-7411)
• Redbooks
• Maintaining Your SMS Environment (SG24-5484)
• NaviQuest Demonstration and Hands-On Usage Guide
(SG24-4720)
61
DFSMS:Intermediate
NaviQuest – Streamlining SMS Work
Neal Bohling
DFSMS Defect Support, IBM
Insert
Custom
Session
QR if
Desired.
Notices & Disclaimers
Copyright © 2013 by International Business Machines Corporation.
No part of this document may be reproduced or transmitted in any form without written permission from IBM Corporation.
Product information and data has been reviewed for accuracy as of the date of initial publication. Product information and data is
subject to change without notice. This document could include technical inaccuracies or typographical errors. IBM may make
improvements and/or changes in the products and/or programs described herein at any time without notice.
References in this document to IBM products, programs, or services does not imply that IBM intends to make such products,
programs or services available in all countries in which IBM operates or does business. Consult your local IBM representative
or IBM Business Partner for information about the product and services available in your area.
Any reference to an IBM Program Product in this document is not intended to state or imply that only that program product may be
used. Any functionally equivalent program, that does not infringe IBM's intellectually property rights, may be used instead. It is
the user's responsibility to evaluate and verify the operation of any non-IBM product, program or service.
THE INFORMATION PROVIDED IN THIS DOCUMENT IS DISTRIBUTED "AS IS"WITHOUT ANY WARRANTY, EITHER EXPRESS
OR IMPLIED. IBM EXPRESSLY DISCLAIMS ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR INFRINGEMENT. IBM shall have no responsibility to update this information. IBM products are warranted
according to the terms and conditions of the agreements (e.g., IBM Customer Agreement, Statement of Limited Warranty,
International Program License Agreement, etc.) under which they are provided. IBM is not responsible for the performance or
interoperability of any non-IBM products discussed herein.
Notices & Disclaimers
The performance data contained herein was obtained in a controlled, isolated environment. Actual results that may be obtained in
other operating environments may vary significantly. While IBM has reviewed each item for accuracy in a specific situation,
there is no guarantee that the same or similar results will be obtained elsewhere.
The responsibility for use of this information or the implementation of any of these techniques is a customer responsibility and
depends on the customer's or user's ability to evaluate and integrate them into their operating environment. Customers or
users attempting to adapt these techniques to their own environments do so at their own risk. IN NO EVENT SHALL IBM BE
LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO,
LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY.
Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or
other publicly available sources. IBM has not necessarily tested those products in connection with this publication and cannot
confirm the accuracy of performance, compatibility or another claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.
The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM patents
or copyrights. Inquiries regarding patent or copyright licenses should be made, in writing, to:
Any statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals
and objectives only.
Trademarks
DFSMSdfp, DFSMSdss, DFSMShsm, DFSMSrmm, IBM, IMS, MVS, MVS/DFP, MVS/ESA, MVS/SP, MVS/XA,
OS/390, SANergy, and SP are trademarks of International Business Machines Corporation in the United
States, other countries, or both.
AIX, CICS, DB2, DFSMS/MVS, Parallel Sysplex, OS/390, S/390, Seascape, and z/OS are registered trademarks
of International Business Machines Corporation in the United States, other countries, or both.
Domino, Lotus, Lotus Notes, Notes, and SmartSuite are trademarks or registered trademarks of Lotus
Development Corporation. Tivoli, TME, Tivoli Enterprise are trademarks of Tivoli Systems Inc. in the United
States and/or other countries.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other
countries, or both. UNIX is a registered trademark in the United States and other countries licensed
exclusively through The Open Group.
Other company, product, and service names may be trademarks or service marks of others.
REFERENCE
SLIDES
ISPSTART parms