ca datacom®/ad report utilization, and information gather for support

34
World ® ’1 6 CA Datacom®/AD Report Utilization and Information Gathering for Support Dale Russell, Director Software Engineering and Product Owner CA Technologies MFX97S MAINFRAME AND WORKLOAD AUTOMATION

Upload: ca-technologies

Post on 16-Apr-2017

48 views

Category:

Technology


1 download

TRANSCRIPT

World®’16

CADatacom®/ADReportUtilizationandInformationGatheringforSupportDaleRussell,DirectorSoftwareEngineeringandProductOwnerCATechnologies

MFX97S

MAINFRAMEANDWORKLOADAUTOMATION

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

CometothissessiontolearnwhatinformationshouldbegatheredbyaCADatacom®/ADwhencallingCAsupport.

ThesessioncoversthebasicsoftheCADatacom®/ADrepositoryandhowtousethebuilt-inutilitiestogeneratekeysystemreports.

CADatacom®/ADisaspecialpackagingofCADatacom®productsthatprovidesahighperformancedatarepositoryforCAmainframeproductssuchasCAWorkloadAutomationRestartOptionforz/OSSchedulersandCAWorkloadAutomationCA7®Edition.

DaleRussell

CATechnologiesDirectorSoftwareEngineeringandProductOwner

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHATARETHEMAINCOMPONENTSOFANDADREPOSITORY?

WHATISDBUTLTY?

WHATREPORTSSHOULDIGENERATE?

WHATOTHERREPORTINGCAPABILITIESAREAVAILABLEINAD?

GATHERINGDOCUMENTATIONBEFORECALLINGSUPPORT

1

2

3

4

5

SUMMARY6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository

§ Multiple-UserFacility(MUF)– Singleaddressspaceusedtomanagealluserdatarequests– Doesmostofthesystemrequests– Executes“online”portionofcertainutilities

§ Server(optional)– Oneormoreaddressspacesusedtomanagedatarequestscomingin

fromdistributedenvironments– SupportsODBC/JDBC– UtilizesTCP/IPorCACCIforcommunications

KeyComponents– AddressSpaces

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ CICS– OneormoreCICSaddressspacesusedtoexecuteCICStransactions

thatmakedatarequeststotheMUF

§ Batch– Oneormorebatchaddressspacesusedtoexecute

§ VariousutilitiesusedtomanagetheADenvironment§ UserprogramsaccessingthedatamanagedbytheMUF

KeyComponents– AddressSpace(s)

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ CXX(Catalog)providesadirectoryofalldataintherepository– SimilartotheVSAMmastercatalogortheDB2catalogtables

§ LXX(Logfile)isthatactivetransactionlog– Storesdatarowchangesforusertablesusedfordatarecovery– StoressystemstateinformationusedtorestartafailedMUF

§ RXX(RecoveryFile)isthepermanenttransactionlog– Storestransactionlogrecordsthathavebeencommittedandspilled

(moved)fromtheLXX

KeyComponents– ControlDatasets

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ FXX(ForceArea)usedtospeedrestartprocessing– Trackslongrunning“uncommitted”transactions– OnlyusedduringawarmrestartafteraMUFabend

§ PXX(PrintandDiagnosticsArea)usedfordiagnostics– Containsinformationthatcouldbeutilizedfortuningordiagnosing

issuesintheMUF§ Performancemetrics§ DumpsofkeyMUFmemoryduringfailedrequests§ DumpsofMUFmemoryduringaMUF

KeyComponents– ControlDatasets

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ Datadictionary(DD0002)providesmetadatamanagement– AlldatabaseandtablesmustbedefinedtoDDbeforetheycanbeused– UsedtopopulateinformationintotheCXXviathecatalogfunction– UsedbySQLandotherrequeststhatutilizemetadata

§ DataDefinitionDirectory(DDD0015)providesextendedmetadatamanagementforSQLaccess– HoldsSQLmetadataextractedfromtheDDduringtheCXXcatalog– HoldsSQLmetadatacreatedduringprogramcompiles(PLANs)and

selectedDDLoperationssuchasdefiningintegrities(CONSTRAINTs)

KeyComponents– ControlDatabases

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ SQLDefault(SQL0016)storestablescreatedbySQLDDL– UsedwhenSQLDDLcommandscreatetableswithoutspecifyingana

dataareatoholdthetable

§ SQLTTM(TTM0017)usedtobuildinterimtemporarytables– UsedwhenSQLDMLcommandsgenerateasubsetofdatathatmust

beheldforashortperiodoftimewhilethequeryisprocessed

KeyComponents– ControlDatabases

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ CBS(CBS0006)workareautilizedtoprocessSELcommands– SELxxcommandscanrequestdatabasedoncontentandnotkeyvalue– PrimarydataextractioncommandsforSQLrequests

§ CBSHistorical(Heur1006)storesinformationonpreviouslyexecutedSELcommands– Providesrun-timeoptimizationofrepeatedSELxxcommands

§ DynamicSystemTables(DST1000)– virtualdatabase– Provideskeymetricsfortuninganddiagnostics

KeyComponents– ControlDatabases

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)

§ Additionaldatabases-– NotessentialtotheexecutionofADrepository– DefinedsothatthecanbeactivatedifneededbytheADuser

§ HR0001/OE0010– sampledatabasesusedduringIVP§ DQ0003– housesCADataqueryproducttables§ PRM0004/ACCT0005– optionalaccountinganddiagnosticcapabilities§ DST1000– virtualdatabaseusedtosupporttuninganddiagnostics§ AutostatusSTA1018– optionaldatabasefordiagnosticcapabilities§ AutocollectSNP1019/DEL1020– optionaldatabasesfortuning

KeyComponents– ControlDatabases

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainComponentsoftheADRepository(Cont’d)KeyComponents– Schematic

zOSLPAR

MUFAddressspace• Start-upparameters• Executingcode• Sharedmemory(buffers)• 31bitdataspacesattachedasneeded

ServerAddressSpace(s)• Start-upparameters• Executingcode• Sharedmemory• TCP/IPorCCIconnectivity

BatchAddressSpace(s)

• Databaseutilities• Userprograms

CICSAddressSpace(s)• Databasetransactions• Usertransactions

DatabasesubsystemandPCCallsinstalledduringCAS9(CACommonServices)initiation

CXX

LXX

FXX

PXX

RXX

DD0002

DDD0015

SQL0016

TTM0017

CBS0006

HEUR1006

DST1000

STA1018

SNP1019

DEL1020

PRM0004

ACCT0005

HR0001

OE0010

DQ0003

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheMainDatabaseUtility- DBUTLTY

§ INIT– initializedatasetsanddatabasesforusebyAD

§ LOAD– loaddatatocontroldatasetsanddatabases

§ BACKUP– createbackupsofalldatasetsanddatabases

§ REPORT- providesreportsfromcontroldatasets

§ RECOVER– rebuilddatabasefrombackupplusrecoveryfiles

§ Other– variousfunctionalitythatisusedtomanagetheADenvironment

KeyFunctions

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DBUTLTYReports

§ CXXreport– Dumpsthecatalogedinformationforoneormoredatabases

§ Physicalmetadatasuchasrowlength,keydefinitions,etc.§ Contentinformationsuchasdatasetnames,size,blocksin-use,rows,etc.§ Statusinformationsuchastableloaded,SQLconstraintin-place,etc.

– Usedtodeterminethestatusandcontentsofdatabasesintheenvironment

– Variousreportstypesavailable

KeyReports

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CXXReportFullReport- REPORTAREA=CXX,DBID=400

Databaseinfo

Indexinfo

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CXXReport(Cont’d)FullReport– OnepagePerLogicalTable(AreaInfoRepeatedOnceforEachTableinArea)

Table Area

Keys

Elements

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CXXReportTypeA- REPORTAREA=CXX,DBID=400,TYPE=A

Spaceinfo

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DBUTLTYReports

§ PXXreport– DumpsthecaptureddiagnosticsfromtheMUF

§ DUMPS=FULLprintsalldumpsinthePXX(useafterMUFabend)§ DUMPS=REQUESTprintsonlyrequestfailures

– RunonlyifrequestedbyCAsupport

§ DUMPS=TRACEprintsonlyoutputfromtracesthathavebeenenabled– RunonlyifrequestedbyCAsupportraceoutputfromenabledtraces

– Printsprocessingstatistics/metricsfromspecificpointsintime§ JOBSTAT=DETAIL/DETAILX/SUMMARY– metricsaftereachjobcompletes§ SYSSTAT=DETAIL/DETAILX/SUMMARY– metricsaftereachcloseandcurrent

KeyReports

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PXXReport- DUMPSPXXReport- REPORTAREA=PXX,DUMPS=FULL

AfterMUFabends.

ProvidetoCAsupport

forprocessing.

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PXXReport- StatisticsPXXReport- REPORTAREA=PXX,SYSSTAT=SUMMARY

AtanypointtogetcurrentMUF

processinginformation.

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReplacingthePXXReportsWithStandardJESOutput

§ UsingSYSOUTforsavingdiagnosticandtuninginformation– SYSOUTparameterintheMUFStartupOptions(AXDATIN1)

§ AllowsyoutospecifynewoutputprocessingfordiagnosticsandtracinginformationthatwouldotherwiseberoutedtotheStatisticsandDiagnosticsArea(PXX)

§ CLASS– TheJESclasswhichisallocatedSYSOUTdatasetwhenclosed/deallocated

§ xM– ThenumberoflinesofoutputbeforethisDDisclosedandreopened

UsingSYSOUTforPXXData

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReplacingthePXXReportsWithStandardJESOutput(Cont’d)UsingSYSOUTforPXXdata

SYSOUTdatasetscontaincurrent

information.

• CanbeviewedlikeanySYSOUTdataset• Assignedclassdeterminesiftheywillremainafterjobends• Providesimprovedaccesstogenerateddumps,traces,etc.whileMUFisup

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DBUTLTYReports

§ AUTOINFOReport– Buildsaformattedreportofallperformancemetrics– StandardtoolforDatacomtuning– OptionallyabilitytogeneratemetricstoaQSAMfileforparsinginto

EXCEL

KeyReports

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DBUTLTYReportsAUTOINFODDNAME=DSVOUT

OndemandwhileMUFisUP.

Provides18differenttablesofperformanceinformation.

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Whatotherreportcapabilitiesareavailable?

§ MUFEOJReports– SYSPRINTwillhaveasubsetoftheperformancemetricsdiscussedsofar

§ DynamicSystemTables– setofdatabasetablesthatallowstheusertobuildhisonlyperformancemetricqueries

§ DBSQLPR– batchfacilitythatallowstheusertoexecutead-hocSQLqueries– WorksreallywellwhenusedinconjunctionwithDynamicSystem

Tables

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DynamicSystemTables

§ CXXinformation– themajorityoftheinformationintheCXX

§ MUFinformation– themajorityofperformancemetrics,start-upoptionsandmuchmore

§ SQLusageinformation– informationontheSQLDDLdefinitionssuchasconstraintsandviews,currentexecutingSQLqueries,SQLtaskinformation

SeetheSystemsTableReferenceGuideforaFullListofAvailableData

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Ad-hocDSTReportsUsingBatchDBSQLPR

DBSQLPRallowsuserstodoad-hocSQLqueriesagainsttables.

WorksgreattopullinformationfromDynamicSystemtables.

InformationcanevenbeenoutputinastandardCSVformatforloadingto

spreadsheet.

WhattableshavebeencreatedusingtheSQL

defaultdatabase0016?

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

GatheringDocumentationBeforeCallingSupport

§ IfMUFcrashed– MUFaddressspacedump(SVCDUMPifpossible)– MUFbatchjoborstartedtaskoutput– MUFJESLOG– DBUTLTYPXXDUMPS=FULLreport

§ IfMUFdidnotcrash,butperformanceisbad– IssueconsolecommandCOMMSTATUStoMUFseveraltimes– MUFbatchjoborstartedtaskoutput– MUFJESLOG– DBUTLTYAUTOINFOreport

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Summary

§ GettingfamiliarwithDBUTLTYreportswillincreaseyourabilitytounderstandtheADenvironment

§ SettingupstandardDBSQLPRjobstoqueryDynamicSystemTableswillhelptoquicklylookforinformation

§ Havingachecklistofwhattogatherintheeventofaproblemwillreducethetimeittakestoresolveanissue

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessionsSESSION# TITLE DATE/TIME

MFX92S StrategyandVisionforCADatacomandCAIdeal™ 11/16/2016at12:45pm

MFX93S What’snewinCADatacom 11/16/2016at1:45pm

MFX94S ReducingTCOwithDatacomCompression(Presspack) 11/16/2016at3:00pm

MFX95SA ModernizingtheCADatacomdata – SQLAccessPartI 11/16/2016at3:45pm

MFX95SB ModernizingtheCADatacomdata – SQLAccessPartII 11/16/2016at4:30pm

MFX96S CADatacom/ADInstallation/UpgradeandMaintenance 11/17/2016at12:45pm

MFX97S CADatacom/ADReportUtilization,andinformationgatherforSupport 11/17/2016at1:45pm

MFX98SUsingCASYSVIEW®tomonitorandmeasureyourCADatacomenvironment– ADandDB

11/17/2016at3:00pm

MFX99S BirdsofaFeather/StumptheTechie! 11/17/2016at3:45pm

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.34 @CAWORLD#CAWORLD

MainframeandWorkloadAutomation

FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI