Default language.

Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.
Space announcement To view the latest version of the product documentation, select the version from the Product version menu above the navigation pane.

WRPT Setup


WRPT is a batch reporting function provided by

BMC AMI DevX Code Pipeline

to disseminate information about the objects stored within Code Pipeline . The Code-Pipeline-User-Guide describes executing this facility.

Adding the WRPT Exits

You can provide the input for the reporting function via an interactive dialog. This can also be supported and managed using a regular Code Pipeline Component Type which implements special S, SU, and EX exit points.

After executing the WRPT function and going through the dialog box, you are presented with JCL to execute. This JCL is based on a skeleton member, WZZWRSU.

  1. After the components of Code Pipeline have been copied to their respective libraries, check out skeleton WZZWRSU to the SITE skeleton library. Consider updating the job card and the Customize section.
  2. Update the ISPF Command Table to add the new command WRPT and make it available via the command line to Code Pipeline users. To do this, use the original Code Pipeline install job $WZB3TBL or use ISPF 3.9 to add the new command as follows:
    WRPT 0 SELECT CMD(%WZZWRCMD)

    Important

    When the preceding steps have been completed, Batch Reports can be generated and submitted via the WRPT command from within Code Pipeline.

  3. Select a Code Pipeline Component Type to use for saved Batch Reports (for example, WRPT) and create a cycle type entry for that Component Type in the M.CT table.
  4. Add entries to the M.EX table for the new WRPT Component Type to define S, EX, and SU exit points as listed in Table n-xx.
  5. Define the new WRPT Component Types in the M.AD tables for applications that need to create and save Batch Reports. These Components are managed in regular PDS or PDSE data sets.

Table n-xx. M.EX Values for WRPT

Op

Field

Value

S

Exit Key

WRPT

Description

Batch Report Selection Exit

Pre-op

ISPEXEC SELECT CMD(%WZZWRS# &DEBUG)

SU

Exit Key

WRPT

Description 

Batch Report Submit Exit

Pre-op

ISPEXEC SELECT CMD(%WZZWRSU &DEBUG)

EX

Exit key

WRPT

Description

Batch Report Execute Exit

Pre-op

ISPEXEC SELECT CMD(%WZZWREX &DEBUG)

Adding WRPT to User Fast Path Commands

Running these reports can be quick and easy if you add the command to the Fast Path list. The following screenshots illustrate this.

The following figure displays the main Code Pipeline screen. Enter Z in the OPTION field.

22.01                    CODE PIPELINE PROD ALLOCATIONS                                 
OPTION  ===>                                                                   
                                                                              
 U   USER              - User Preferences                USERIDUSER003     
                                                         PREFIXUSER003     
 A   ANALYSIS          - Cross Reference Analysis        TIME   - 16:06       
 P   CONTAINERS        - Container List                  DATE   - 2022/05/09  
 W   WORK              - Work List                              - 2022.129    
 R   REPOSITORY        - Repository List                 PROC   - ISPFPROC    
 DP  DEPLOY            - Deploy Requests                 CONFIG - PROD        
 GI  GENERATE IMPACTS  - Generate Impacts                SERVER - PROD        
 M   MAINTENANCE       - Maintenance Functions                                
 Z   FUNCTIONS         - Add Special Functions (Z1 - Z8)                      
                                                                              
Z1                                                                            
Z2                                                                            
Z3                                                                            
Z4                                                                            
Z5                                                                            
Z6                                                                            
Z7                                                                            
Z8                                                                            
                                                                              
Enter END command to return to the Primary Menu.                               

The following screen is displayed.

Z ---------------   USER COMMANDS (PROD) ------------------- Row 1 to 26 of 50
COMMAND  ===>                                                 SCROLL ===> CSR  
                                                                              
 
A - Add a command to your list             C - Change an existing command     
 
D - Delete a command from your list        S - Execute a displayed command    
                                                                              
     
ALIAS    DESCRIPTION                   ALIAS    DESCRIPTION               
     
-------- ------------------------      -------- -------------------------
  Z1                                     Z5                                    
  
Z2                                     Z6                                    
  
Z3                                     Z7                                    
  
Z4                                     Z8                                    
                                                                              
                     
COMMAND SELECTION TABLE                                   
  
ALIAS    DESCRIPTION                    INVOCATION                           
  
-------- ------------------------------ ----------------------------------   
  B        BROWSE ENTRY PANEL             PGM(ISRBRO)                          
  
BG       BACKGROUND SELECTION MENU      PANEL(ISRJPA)                        
  
CA11     CA11 SYSTEM                    CMD(%WZTCA11)                        
  
DD       PREDICT DATA DICTIONARY        CMD(%WZZDPRED)                       
  
DT       DIALOG TEST PRIMARY MENU       PGM(ISRYXDR) NOCHECK                 
  
E        EDIT ENTRY PANEL               PGM(ISREDIT)                         
  
FG       FOREGROUND SELECTION MENU      PANEL(ISRFPA)                        
  
FOC      EXECUTE ISPWFOC CLIST          CMD(%ISPWFOC)                        
  
FOCUS    EXECUTE MASFOC CLIST           CMD(%MASFOC)                         
  
FTP      FILE TRANSFER                  CMD(%FTP000)                         
  
H        HSM                            PGM(DFQFMD01) NEWAPPL(HSM)           
  
I        INFO/FAMILY MENU               PANEL(INFO@PRM)                      
  
J        JES2 COMMANDS                  PGM(VSRHSS)                          
  
JM       JES-MASTER                     PGM(JMSPF) NEWAPPL(JMS) PARM(&ZTRA   
  
L        LIBRARIAN SELECTION MENU       PANEL(LIBRSPF)                       
  
L.A      LIBADD   - ENTRY PANEL         PANEL(LIBRLA) NEWAPPL(LIB@)          
  
L.C      LIBCTL   - ENTRY PANEL         PANEL(LIBRLC) NEWAPPL(LIB@)          
  
L.D      LIBDLM   - ENTRY PANEL         PANEL(LIBRLD) NEWAPPL(LIB@)          
  
L.F      FREEDA                         CMD(FREEALL)                         
  
L.G      LIBGET   - ENTRY PANEL         PANEL(LIBRLG) NEWAPPL(LIB@)          
  
L.I      LIBINDEX - ENTRY PANEL         PANEL(LIBRLI) NEWAPPL(LIB@)                    

Place a C command next to an available Z command entry and press Enter. The following screen is displayed.

Z ---------------   USER COMMANDS (PROD) --------------------------------------
COMMAND  ===>                                                 SCROLL ===> CSR_
                                                                              
Cmd Abbr==>                                                                    
Title   ==>                                                                    
Execute ==>                                                                    
                                                                              
                                                                              
------------ Hit enter to change, or END/RETURN to cancel change --------------

The following screenshot shows this panel filled in.

Z ---------------   USER COMMANDS (PROD) --------------------------------------
COMMAND  ===>                                                 SCROLL ===> CSR_
                                                                              
Cmd Abbr==> WRPT                                                               
Title   ==> WRPT REPORTING                                                     
Execute ==> CMD(%WZZWRCMD)                                                     
                                                                              
                                                                              
------------ Hit enter to change, or END/RETURN to cancel change --------------

Press Enter to complete the setup.

Z ---------------   USER COMMANDS (PROD) ------------------- Row 1 to 26 of 50
COMMAND  ===>                                                 SCROLL ===> CSR  
                                                                              
 A - Add a command to your list             C - Change an existing command     
 D - Delete a command from your list        S - Execute a displayed command    
                                                                              
    ALIAS    DESCRIPTION                   ALIAS    DESCRIPTION               
    -------- ------------------------      -------- -------------------------
 Z1 WRPT     WRPT REPORTING             Z5                                    
  Z2                                     Z6                                    
  Z3                                     Z7                                    
  Z4                                     Z8                                    
                                                                              
                     COMMAND SELECTION TABLE                                   
 ALIAS    DESCRIPTION                    INVOCATION                           
 -------- ------------------------------ ----------------------------------   
 B        BROWSE ENTRY PANEL             PGM(ISRBRO)                          
  BG       BACKGROUND SELECTION MENU      PANEL(ISRJPA)                                                

You can now run the reports by placing an S next to Z1.

Z ---------------   USER COMMANDS (PROD) ------------------- Row 1 to 26 of 50
COMMAND  ===>                                                 SCROLL ===> CSR  
                                                                              
 A - Add a command to your list             C - Change an existing command     
 D - Delete a command from your list        S - Execute a displayed command    
                                                                              
    ALIAS    DESCRIPTION                   ALIAS    DESCRIPTION               
    -------- ------------------------      -------- -------------------------
S Z1 WRPT     WRPT REPORTING             Z5                                    
  Z2                                     Z6                                    
  Z3                                     Z7                                    
  Z4                                     Z8                                    
                                                                              
                     COMMAND SELECTION TABLE                                   
 ALIAS    DESCRIPTION                    INVOCATION                           
 -------- ------------------------------ ----------------------------------   
 B        BROWSE ENTRY PANEL             PGM(ISRBRO)                          
  BG       BACKGROUND SELECTION MENU      PANEL(ISRJPA)                                 

Press Enter and the report definition panel is displayed. From this point, refer to the Code-Pipeline-User-Guide for details on running reports.

                  Report Definition - General Specifications              
Command ===>                                                             
                                                                         
Confirm and/or Change the General Report Specifications.                 
                                                                         
  Report Type : HIST          (TASK,USER,HIST)                           
  Group Code  :                                                          
  Destination : R             (E-Extract, C-Comma Separated, R-Standard)
  Lines/Page  : 60                                                       
  Heading     : PROD User Report                                         
  Extract File:                                                          
                                                                         
Press End to save and continue, or Cancel        


 

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