Listing CA7 VIEWS in Datacom
search cancel

Listing CA7 VIEWS in Datacom

book

Article ID: 378986

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

This article explains how to obtain a list with all SQL VIEWS that have been created on CA7 SQL Tables. 

Environment

z/OS

Datacom/AD 15.1

Workload Automation CA7 12.1 

Resolution

SQL VIEWs are stored in Datacom Datadictionary. 

Run batch utility DDUTILTY ( or DDUPDATE ) as shown below:

//REP     EXEC PGM=DDUTILTY,REGION=4096K                      
//STEPLIB  DD DSN=your AD 15.1 .CUSLIB,          
//         DISP=SHR                                          
//         DD DSN=your 15.1 CAAXLOAD,                 
//         DISP=SHR                                          
//SYSPRINT DD  SYSOUT=*                                      
//SYSOUT   DD  SYSOUT=*                                      
//SYSPUNCH DD  SYSOUT=*                                      
//DDSNAP   DD  SYSOUT=*                                      
//SNAPER   DD  SYSOUT=*                                      
//SYSUDUMP DD  SYSOUT=*  

//SYSIN    DD  * 
-USR DATACOM-INSTALL,NEWUSER
-RPT INDEX,VIEW,MFWA-*(PROD)
-END