How to find out the total number of lines in an Endevor Element
search cancel

How to find out the total number of lines in an Endevor Element

book

Article ID: 263301

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Need to get the total number of lines of components in ENDEVOR component/elements.

Environment

Release : All supported Releases

Resolution

This can be done thru the panels - just type an S (for summary of levels) next to the element and it will show this screen which will give the # of statements, inserts and deletes 

 -----------------------------  SUMMARY OF LEVELS  ------------ Row 1 to 6 of 6
 COMMAND ===>                                                  SCROLL ===> CSR 
                                                                                
ELM: ELEMENT1                                                                  
 ENV: ENV1      SYS: SYS1       SUB: SUB1        TYPE: TEST      STAGE ID: 2      
                                                                                
 -------------------------  SOURCE LEVEL INFORMATION  --------------------------
      VVLL     USER     DATE     TIME      STMTS    INSERTS   DELETES    SYNC   
      0100     USER01   22APR22  07:22           20      0         0            
    0101     USER01  17MAY23  14:14           22      2         0       H    
      0102     USER01   17MAY23  14:15           21      0         1       H  
      0103     USER01   17MAY23  14:16           22      1         0       H  
      0104     USER01   17MAY23  14:23           23      2         1       H  
      0105     USER01   03NOV23  10:29           25      4         2          
 ******************************* Bottom of data ********************************

Or run the CSV - List Element using the JCL below - once the data is gathered, create an excel spreadsheet from the sequential file and review the data using these instructions

//********************************************************
//* DELETE WORKFILES                                      
//********************************************************
//DELETE   EXEC PGM=IDCAMS                                
//SYSPRINT DD   SYSOUT=*                                  
//SYSIN    DD   *                                         
DELETE 'uprfx.uqual.CSVLST'                            
/*                                                        
//********************************************************
//* RUN CSV - WITH HEADER                                 
//********************************************************
//STEP1  EXEC PGM=NDVRC1,REGION=4M,                     
//         PARM='CONCALL,DDN:CONLIB,BC1PCSV0'             
//STEPLIB  DD DSN=iprfx.iqual.CSIQAUTU,DISP=SHR        
//                 DD DSN=iprfx.iqual.CSIQAUTH,DISP=SHR        
//CONLIB  DD DSN=iprfx.iqual.CSIQLOAD,DISP=SHR        
//CSV1     DD DSN=uprfx.uqual.CSVLST,                    
//         DCB=(DSORG=PS,RECFM=VB,LRECL=4092,BLKSIZE=0),  
//         DISP=(NEW,CATLG,DELETE),                       
//         SPACE=(CYL,(15,5),RLSE),                       
//         UNIT=SYSDA                                     
//C1MSGS1  DD SYSOUT=*                                    
//CSVIPT01 DD *                                          
LIST ELEMENT *                                          
FROM ENVIRONMENT XXXXXXXX                              
    SYSTEM      XXXXXXXX                                
    SUBSYSTEM   XXXXXXXX                                
    TYPE        XXXXXXXX                                
    STA         *                                       
TO DDN CSV1                                             
DATA SUMMARY.