CA 7 hyper PTF LU09021 (SQL query for schid elements >20)
search cancel

CA 7 hyper PTF LU09021 (SQL query for schid elements >20)

book

Article ID: 259674

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

This document provides a SQL query to determine if any SCHIDs have greater than 20 elements. This is related to hyper PTF LU09021

Environment

Release : 12.1

Resolution

jobcard

//STEP1 EXEC PGM=DBSQLPR                                      
//STEPLIB  DD  DISP=SHR,DSN=your.datacom.CUSLIB          >>>>change
//                DD  DISP=SHR,DSN=your.datacom.CAAXLOAD    >>>>change
//SYSPRINT DD SYSOUT=*                                        
//STDOUT DD SYSOUT=*                                          
//OPTIONS DD *                                                
PRTWIDTH=255                                                  
INPUTWIDTH=70                                                 
ROWLIMIT=5000                                                 
AUTHID=MFWA                                                   
NOTYPE                                                        
//SYSIN DD *                                                  

SELECT SUBSTR(OBJECT_NAME,1,8) AS JOB,
 SCHID, SEQUENCE
 FROM CA7_SCHEDULE_ELM
 WHERE DB= 'your_logical_database_name'       >>>>change
 AND SEQUENCE > 20 ;