Previewing generated syntax


DASD MANAGER PLUS

 provides two ways to simulate syntax generation. Simulation lets you preview the generated syntax before you generate the JCL.

You can preview syntax from the Edit Action Services panel or from the Service Syntax List panel.

To view syntax from the Edit Action Services panel

  1. On the DASD MANAGER main menu, select Service Action and press Enter.
  2. On the Action main menu, type an action owner and name in the format owner.name, select List, and press Enter.
  3. On the Action List panel, type E in the Act field next to an Action and press Enter.The Edit Action Services panel displays the Services that you specified for the Action.

    DEMO ------------- Edit Action Services -------------         Row 1 to 1 of 1  
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Action: RDAPKM.DEMO03                                                          
                                                                                  
    Listed is the ordered set of Services contained in the Action. Select one or   
    more options. Then press Enter.                                                
                                                                                  
    D =Delete  I =Insert  L =Like  A =After  B =Before  M =Move  P =Properties     
    S =Syntaxes  O =Syntax Options  V =View Syntax  U =Use default syntax          
    OS =Object Set                                                                 
                                                                                  
                                                                     More:       >
    Act Service   Object Name/Pattern  Type  Part  Object Set Name     Syntax Name
    *** **************************** Top of data **********************************
        BMCSTATS                                   RDAPKM.OBJSET01     (D)ALANS-BMC
    *** *************************** Bottom of data ********************************
  4. In the Act field type V next to a Service and press Enter to view the Service syntax.The generated Service syntax is displayed in an ISPF panel.

    VIEW       RDAPKM.T0291600.$ddmmmyy.$130938.$0239085       Columns 00001 00072
    Command ===>                                                  Scroll ===> CSR  
    ****** ***************************** Top of Data ******************************
    000001                                                                         
    000002 -BMCU 107795 ASUSMAIN                                                   
    000003  BMCSTATS OBJECTSET RDAPKM.OBJSET01                                     
    000004  TABLE (ALL)                                                            
    000005  UPDATEDB2 ALL                                                          
    000006  FREQVAL YES                                                            
    000007  NUMCOLS 15                                                             
    000008  COUNT 15                                                               
    000009  SORTDEVT SYSDA                                                         
    000010  IXNUMQUANTILES 100                                                     
    000011  NUMQCOLS 64                                                            
    ****** **************************** Bottom of Data ****************************

To view syntax from the Syntax List panel

  1. On the DASD MANAGER main menu, select Service and press Enter.
  2. On the Service Menu panel, in the Service field type a Service name, select List, and press Enter.
  3. On the Service List panel, in the Act field type E next to a Service and press Enter.The Service Syntax List panel displays the syntaxes for the Service.

    DEMO ---------- Service Syntax List ------- ---------       Row 3 to 18 of 28  
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Service . . . : BMCSTATS                                                       
    Default Syntax: BMC_DEFAULT                                                    
                                                                                  
    Select an option or change Display filter. Then press Enter. To change         
    the default syntax, select another syntax with the 'F' option.                 
                                                                                  
    B =Browse      C =Create         D =Delete       E =Edit   L =Like             
    P =Properties  A =Action Impact  V =View Syntax  F =Set default syntax         
                                                                                  
    Display filter                                                                 
      Owner.Name . . . %.%                                                         
                                                                     More:   - + >
    Act Dflt Name                                      Owner     Description       
          Y  BMC_DEFAULT                               BMC       BMC supplied defau
             BMC_STATS_CAT_COL_UPDATE                  BMC       Used By Automation
             BMC_STATS_CAT_UPDATE                      BMC       Used By Automation
             BMC_STATS_NOCAT_COL_UPDATE                BMC       Used By Automation
             BMC_STATS_NOCAT_UPDATE                    BMC       Used By Automation
  4. In the Act field type V next to a syntax and press Enter to view a Service syntax.The Preview Service Syntax panel is displayed.

    DEMO ------------------------- Preview Service Syntax -------------------------
    Command ===>                                                                   
                                                                                  
    Service Syntax: BMCSTATS.BMC_DEFAULT                                           
                                                                                  
    Specify the Object type to apply syntax. Then press Enter.                     
                                                                                  
    Object Type  . .    (TS, IX, TT, IS, SG, or VL)
  5. In the Object Type field enter the code for an object type. Press Enter to apply the syntax to the object type that you entered.To view a syntax from the Syntax List, you must enter the object type code manually.

    An ISPF panel displays the generated Service syntax.

    VIEW       RDAPKM.T0291600.$ddmmmyy.$131811.$1981590       Columns 00001 00072
    Command ===>                                                  Scroll ===> CSR  
    ****** ***************************** Top of Data ******************************
    000001                                                                         
    000002 -BMCS 000001                                                            
    000003  BMCSTATS TABLESPACE dbname.tsname                                      
    000004  SORTDEVT SYSDA                                                         
    ****** **************************** Bottom of Data ****************************

 

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