Endevor

 View Only
  • 1.  Identify COBOL version used ?

    Posted 3 days ago

    Hello we have a set up where Endevor COBOL type is set up to use the latest version of COBOL.

    Using this caused surprises for application teams who had not migrated code from unsupported COBOL versions.

    I was asked to list the programs where there may be more surprises in store. 

    This is not available through processor groups.

    Am sure others may have needed to do something similar in the past, interested if the following makes sense or any simpler method....

    A long time ago there was a program with Endevor called Inventory Analyser but looking at docs it just talks about setting processor group for COBOL 2

    Then I remembered PDSMAN program PDSM22 and found I can report selecting member=xx and also CSECT=xx

    //STEP1   EXEC PGM=PDSM22     
    //SYSIN    DD *               
    SELECT                        
    MEMBER=xx                   
    CSECT=xx                      
    TYPE=LANGUAGE                 

    This reports writes a line for each LANGUAGE IDR in CSECT prefixed AA in each member also prefixed AA

    The CSECT I want seems to have similar name to the member as opposed to IGZ or something else.

    The VV.MM seems to be the COBOL language 42.00 for 4.2 etc



  • 2.  RE: Identify COBOL version used ?

    Broadcom Employee
    Posted 2 days ago
    You can also use FileMaster Plus to show the compiler version for load
    modules.

    //*******************************************************************
    //*** CA FILE MASTER PLUS - LOADINFO
    //*******************************************************************
    //LOADINFO EXEC PGM=CAWABATC,REGION=4M
    //STEPLIB DD DSN=your.FILEMSTR.R1200.CDBILOAD,
    // DISP=SHR
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //LOADLIB DD DSN=your endevor.LOADLIB,
    // DISP=SHR
    //SYSIN DD *
    LOADINFO,
    LOAD,
    LOADLIB(LOADLIB),
    LINEPAGE(60)
    /*

    will display the following

    ...+....10...+....20...+....30...+....40...+....50...+....60
    Module Alias of Size EPoint A/Rmode Link-date
    SAMPLE01 001600 000000 31 ANY 2023/12/18

    CSECT Class Offset Length Type Translator VV.LL
    IDR
    Class C_CODE

    SAMPLE01 000000 000880 SD 5655EC6 06.02



    The Cobol compilers are called:

    Enterprise COBOL for z/OS

    6.1

    5655-EC6

    Enterprise COBOL Value Unit Edition for z/OS4
    <https: www.ibm.com docs en cobol-zos 6.4.0?topic=overview-cobol-compiler-versions-required-runtimes-support-information#igympreab2__li-12125191121>

    6.1

    5697-V61

    Enterprise COBOL for z/OS

    6.2

    5655-EC6

    Enterprise COBOL Value Unit Edition for z/OS4
    <https: www.ibm.com docs en cobol-zos 6.4.0?topic=overview-cobol-compiler-versions-required-runtimes-support-information#igympreab2__li-12125191121>

    6.2

    5697-V61

    Enterprise COBOL for z/OS

    6.3

    5655-EC6

    Enterprise COBOL Value Unit Edition for z/OS4
    <https: www.ibm.com docs en cobol-zos 6.4.0?topic=overview-cobol-compiler-versions-required-runtimes-support-information#igympreab2__li-12125191121>

    6.3

    5697-V61

    Enterprise COBOL for z/OS

    6.4

    5655-EC6
    Attila Fogarasi

    Senior Technical Architect | Mainframe Software


    +61-4-78407849 | Attila.Fogarasi@broadcom.com




  • 3.  RE: Identify COBOL version used ?

    Posted 2 days ago

    Thanks, we don't have that installed but looks like its reporting similar to pdsman