Generating and viewing Log Analyzer JCL


At any time while you are specifying values for Log Analyzer control statements and keywords through the ISPF interface, you can see how the values will be used in generated JCL.

When you are ready to submit the job for execution, you can view the generated JCL first to ensure that it is complete and correct.

To generate and view JCL

  1. Generate the JCL by using one of the following methods:

    • On the Build JCL panel or any of its dependent panels, enter the VIEW command in the Command area.
    • On the Build JCL panel or any of its dependent panels, select File from the action bar and enter 1 in the choice entry field.
    • On the JCL Menu panel, enter 2 in the JCL actions field.

    The ISPF interface generates the JCL and displays it in a temporary data set in an ISPF Browse session, such as shown in the following example. You can use standard Browse commands (such as DOWN, UP, CREATE, and SUBMIT) to work with this data set.

     File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help                    
                                                                                          
    ISREDDE2   PAG.SYSP.SPFTEMP2.CNTL                                  Columns 00001 00080
    Command ===>                                                          Scroll ===> CSR
    ****** ********************************* Top of Data *****************************
    000001 //PAGTEST JOB (5711),'LOG ANALYZER',CLASS=Q,MSGCLASS=X,TIME=1440,               
    000002 //  NOTIFY=&SYSUID                                                              
    000003 //*                                                                             
    000004 //*                                                                             
    000005 //* BMC Log Analyzer for IMS                                                    
    000006 //*                                                                             
    000007 //LUIMAIN  EXEC  PGM=LUIMAIN,REGION=0M                                          
    000008 //STEPLIB  DD DSN=BMCLUI.LOADLIB,DISP=SHR                                   
    000009 //SYSUDUMP DD SYSOUT=*                                                          
    000010 //SYSOUT   DD SYSOUT=*                                                          
    000011 //SYSIN    DD *                                                                 
    000012 ANALYZE                                                                         
    000013         IMSID=ALL                                                               
    000014         MAXLOGS=999                                                             
    000015 FILTER                                                                          
    000016         CONTENT0103=DATA                                                        
    000017 REPORTS                                                                         
    000018 EXTRACT                                                                         
    000019 INDEXFILE
  2. You can work with the generated JCL as follows:
    • Check the JCL to ensure that JOB, EXEC, STEPLIB, DD, and control statements have been generated as expected and required. For more information, see Working-with-BMC-AMI-Log-Analyzer-for-IMS-jobs.
    • If all statements appear to be correct, you can enter the SUBMIT command to submit the analysis job for execution.
    • If a statement appears to be incorrect or incomplete, enter the END command to return to the panel from which you generated the JCL. Change the incorrect value or provide a value, and view the JCL again.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*