Endevor Users of Nearly Everywhere (EUNE)

 View Only
  • 1.  How to get Endevor daily lines of code in batch.

    Posted Mar 04, 2025 05:28 PM

    I need to find lines of code change (add, delete and/or update) in batch for each element that are that are worked on daily basis.  I can see it in online option 1 for Element then select S on element to get below information.  I need to get the value of inserts and deletes values as I highlighted in yellow.

    ELM: CHGRULES                                                                  
    ENV: VISADV01  SYS: RULES     SUB: RSI        TYPE: C390      STAGE ID: 2      
                                                                                   
    -------------------------  SOURCE LEVEL INFORMATION  --------------------------
         VVLL     USER     DATE         TIME          STMTS    INSERTS   DELETES    SYNC   
         0172     @YSAG    23OCT24  17:51          24099      0         0            
         0173     @JRAC    28NOV24  01:06        24183     86         2       H    
         0174     @JRAC    28NOV24  01:30        24231     51         3       H    
         0175     @JRAC    04DEC24  15:34         24183     10        58            
         0176     @TPOR    13DEC24  22:01          24183      1         1            
         0177     @TPOR    23DEC24  21:27          24183      1         1            
         0178     @TPOR    09JAN25  21:46          24183      1         1            
         0179     @JRAC    10JAN25  17:26           24211     29         1            
    ******************************* Bottom of data ********************************



  • 2.  RE: How to get Endevor daily lines of code in batch.

    Posted Mar 07, 2025 03:34 PM

    Hello, Sorry for the late reply.

    Note: All of the code is written REXX except for the SMF Activity SCL and the BC1PCSV0 JCL.

    We run SMF Activity Report, using CSV (Options nocsv) daily that creates a VB 4096 dataset (GDG) and from it using a REXX Version of ECHALSMF to parse out the
    data set want. Part of the data is the ENV/SYS/SUB/TYPE and the VV.LL for the ACTION. 
    The running a LIST Element using "DATA COMP CHANGE LEVEL SUMMARY" for the ELEMENT + ENV/SYS/SUB/TYPE we use a REXX version (EDIT MACRO) of ECHALELM (ALELS-RS) 
    we find the VV.LL from the SMF data and pull the ALELS-RS-STMTS, ALELS-RS-INS, ALELS-RS-DEL and create a CSV report that can been downloaded and formatted as an Excel Spreadsheet. All of this can be executed in Batch as an ISPF dialog.  

    It can also be written COBOL using the ECHAL* routines or Assembler using the ENHAL* routines found in the CSIQOPTN dataset. If you decide on COBOL, I suggest you use CCIDRPT1 as a starting point. 




  • 3.  RE: How to get Endevor daily lines of code in batch.

    Broadcom Employee
    Posted Mar 10, 2025 10:34 AM

    Hi Marcus,

    You can run Print Element with option Summary in batch using following SCL:

    PRINT ELEMENT 'BC1PACOP'                                      
      FROM ENVIRONMENT 'DEV' SYSTEM 'ESCM190' SUBSYSTEM 'SIQ22820'
        TYPE 'ASMPGM' STAGE 1                                     
      OPTIONS SUMMARY NOSEARCH                                    
     .                                                            

    C1PRINT DD should contain the same output and then you could parse it with some REXX program.

    Does this make sense?

    Best Regards,
    Andrey