CA Optimizer/II

Expand all | Collapse all

sample JCL for program CAOUOPTS

  • 1.  sample JCL for program CAOUOPTS

    Posted 04-15-2020 01:53 PM
    I need an example of the JCL for executing a batch IMS Cobol program using the CA Optimizer to produce the  PARAGRAPH EXECUTION TIME SUMMARY report.   I have used the following JCL for the Enterprise Cobol programs without IMS to create the the  PARAGRAPH EXECUTION TIME SUMMARY report.

    //STEP2 EXEC PGM=IC0185CO,REGION=512K
    //STEPLIB DD DSN=NASSCO.TESTLIB,DISP=SHR
    // DD DSN=SYSNZR.OPTII.CARXLOAD,DISP=SHR
    // DD DSN=CEE.SCEERUN,DISP=SHR
    //SYSPRINT DD SYSOUT=*
    //CAIPRINT DD SYSOUT=*
    //CAITIMSV DD DSN=&&TIMSV,DISP=(MOD,PASS),
    // UNIT=SYSDA,SPACE=(TRK,(1,1),RLSE),
    // DCB=(LRECL=20,BLKSIZE=4320,RECFM=FB)
    //CAIOPTS DD *
     XCOUNT ON
     XTIME FIRST
     XREPORT ON
     CAIOPTS
    /*
    //CAIPRNT1 DD SYSOUT=*
    //CAIPRNT2 DD SYSOUT=*
    //SYSOUT DD SYSOUT=*
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=X
    //SYSABOUT DD SYSOUT=X
    //SYSDBOUT DD SYSOUT=X

    Can I use the DFRSRRC00 program in a similiar fashion in the above JCL?
    //S010 EXEC PGM=DFSRRC00,
    // PARM='DLI,DE0058CB,DE0058CB,,,,,,,,,,,N,N',
    // REGION=6M,TIME=60



  • 2.  RE: sample JCL for program CAOUOPTS

    Posted 04-15-2020 03:17 PM
    Sorry I forgot to include the first step which executes the optimizer.

    //STEP1 EXEC CAIOPTII,
    // COBOPT='XCOUNT,XTIME,SUBRNGCK,MXREF,MMAP',
    // LOADLIB='NASSCO.TESTLIB',
    // LISTLIB='SYSNZ.OPTII.PROTSYM',
    //* SRCLIB='$64159.COBOL.CNTL',
    // LOADMEM=IC0185CO
    //PAN.SYSIN DD *
    ++WRITE WORK,IC0185CO
    /*



  • 3.  RE: sample JCL for program CAOUOPTS

    Broadcom Employee
    Posted 04-15-2020 04:17 PM
    Hi Parick,

    Optimizer/II 8.5 shipping with IMS demo JCL, which should be in HLQ.CARXJCL(RX85DEM3).

    Regards,
    Yong.


  • 4.  RE: sample JCL for program CAOUOPTS

    Posted 05-01-2020 12:11 PM
      |   view attached
    Hi Yong,
    Thank you for the assistance.   I tried running the JCL but the CA Optimizer was not invoke for the compile step  (COB2 EXEC PGM=IGYCRCTL).  Do you have the JCL for this?    ​I have uploaded the JCL that I ran.   I expected the "PARAGRAPH EXECUTION TIME SUMMARY" report appears within the CAIPRNT2 output.   I have uploaded the JCL that I modified.

    Thank you,
    Patick

    Attachment(s)

    txt
    RX85DEM3.txt   26 KB 1 version


  • 5.  RE: sample JCL for program CAOUOPTS

    Broadcom Employee
    Posted 05-01-2020 12:33 PM
    Hi Patrick,

    The program IGYCRCTL is IBM cobol compiler.
    As you see in step:
    //COB2 EXEC PGM=IGYCRCTL,REGION=4M,COND=(99,LT,DEFVSAM),
    // PARM=('APOST,DYN,RES,SOURCE,MAP,LIST,XREF')
    //STEPLIB DD DSN=&COMPLIB,DISP=SHR

    STEPLIB should be point to your IBM cobol compiler as PROC set up.
    // COMPLIB=CEE.COMPLIB, /* COBII OR ABOVE COMPILER

    This DEMO is for IMS.
    If you are looking for OPtimier/II compiler proc then it should be located in HLQ.CARXPROC(CAIOPTII).

    Regards,
    Yong.