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.

EX – Exits


The following figure defines the execution (processing) exits to Code Pipeline for each operation that can be executed against tasks.

Example

The commands for invoking the edit routine for a task.

Exits

M.R               REFERENCE DATA MAINTENANCE (PROD)                UPDATE MODE
Command  ===>                                                 Scroll ===> CSR  
                                                                              
List Commands: A Add, L Locate Entry, B Browse Mode                            
Line Commands: S Select, D Delete, C Clone, I Import, E Export                 
               V View, M Modify, A Activate                                    
                                                                              
  Code N/A      N/A      N/A      Vers Version Description  Actv Loaded RefrReq
   EX  ________ ________ ________ ____ ____________________   _     _      _   
S_ EX                             0001 Import from samplib    Y     Y          
__ EX                             0000 INSTALL VERSION                         
******************************* Bottom of data ********************************

Exits Definition Screen

The following figure is a list of Exits. It is the first screen displayed after entering option EX and selecting a version.

Exits Definition Screen

M.EX              PROCESSING EXITS TABLE (PROD)                    UPDATE MODE
Command  ===>                                                 Scroll ===> CSR  
                                                                              
List Commands: ADD Add Entry, LOC Locate Entry, B Browse Mode                  
Line Commands: S Select, D Delete                                              
                                                                              
  OP  ExitKey  Description                                                    
  __  _______  ____________________________________________                   
_  B    $$$$    ISPW STANDARD BROWSE OPTION                                    
_  BA   $$$$    ISPW BROWSE ASSOCIATIONS                                       
_  BL   $$$$    ISPW STANDARD BROWSE LISTING                                   
_  C    $$$$    ISPW STANDARD CHECKOUT OPTION                                  
_  CM   $$$$    ISPW STANDARD COMPARE OPTION                                   
_  D    $$$$    ISPW STANDARD DELETE OPTION                                    
_  DP   $$$$    ISPW STANDARD QUERY DEPLOY Request                             
_  DT   $$$$    ISPW STANDARD QUERY DEPLOY Task Details                        
_  EX   $$$$    ISPW STANDARD EXECUTE OPTION                                   
_  EX   WRPT    BATCH REPORT EXECUTION EXIT                                    
_  F    $$$$    ISPW STANDARD FIND OPTION                                      
_  FB   $$$$    ISPW PRODUCTION FALLBACK                                       
_  G    $$$$    ISPW STANDARD GENERATE OPTION                                  
_  GC   $$$$    CLONE THE GENERATE PARMS                                       
_  GR   $$$$    ISPW STANDARD HOLD GEN OPTION                                  
_  HK   $$$$    ISPW HK OP FOR WH DRAIN FUNCTION                               
_  I    $$$$    ISPW STANDARD IMPLEMENTATION EXIT                              
_  J    $$$$    ISPW STANDARD BROWSE JOB OUTPUT OPTION                         
_  JI   $$$$    ISPW IOF OPTION                                                

Detail Screen

The following figure shows the Exit details displayed when a specific Exit is selected from the Exit List screen.

Detail Screen

M.EX               MODIFY PROCESSING EXIT DETAIL (PROD)                        
Command ===>                                                                   
                                                                              
Enter required details:                                                        
                                                                              
 Operation  (KEY) ==> S                                                       
 Exit Key   (KEY) ==> $$$$                                                    
 Description      ==> ISPW STANDARD EDIT OPTION                               
                                                                              
 Preop Routine    ==> ISPEXEC SELECT CMD(%WZZPSS# &DEBUG)                     
                                                                              
                                                                              
 Postop Routine   ==>                                                         
                                                                              
                                                                              
 Valid In Environment  OUTS ==> Y (Y yes, N no)                               
                       TEST ==> Y (Y yes, N no)                               
                       HOLD ==> N (Y yes, N no)                               
                       PROD ==> N (Y yes, N no)                               
 Update Last Operation Code ==> Y (Y yes, N no)                               
                                                                              
Press ENTER to complete the change or END to terminate                         
Note: You can add a new entry by overtyping the Keys with new unique values    

Field Descriptions

The following table describes each field for an external reference definition:

Field Descriptions

Field Name

Description

Operation

A valid task operation, for example, S for Select (or edit).

Exit Key

Type of processing exit.

Valid values:

  • $$$$ – Standard Code Pipeline processing.
  • #### – Global exit processing.
  • @@@@ – Set pre-exit process. (See Set-Processing for details of this option.)
  • Technology code – Any one of the valid technology codes, for example, QM for QMF.
  • Component type – Any valid component types, for example, DCLG.
  • $$EP – External Process.

Description

A description of the purpose of the exit.

Pre-Op Routine

The invocation of a routine to be run prior to standard Code Pipeline processing. For a ‘$$$$’ exit definition, this is the name of the standard routine. Enter either the invocation of a panel, CLIST, or program. The field can be several lines to handle long parameters. For a ‘####’ definition, this routine is called from the standard routine prior to standard processing for all types.

Post-Op Routine

The invocation or a routine to run after standard Code Pipeline processing. For a ‘$$$$’ definition, this value is ignored. Enter either the invocation of a panel, CLIST, or program. The field can be several lines long to handle parameters. For a ‘####’ definition, this routine is called from the standard routine after standard processing for all types.

Valid in Environment Fields

A flag to indicate in which environments this operation is valid. Some operations are only valid when the task is at a specific point in the TEST, HOLD, PROD cycle.

Example:

Operation B is valid at any time, while the S operation can only be used in the TEST environment.

These fields only affect standard processing entries (exit key ‘$$$$’). Other entries are valid in the same environments as the standard exit they affect. A standard exit can be valid in one or more environments. The following is a description of the environments. Each environment requires a Y or N value.

OUTS

The task is Outstanding. It has not been checked out and may exist in another assignment.

TEST

The task has been checked out into the TEST level. This is where updates and component testing takes place.

HOLD

The task is at a HOLD level but has not been promoted to production.

PROD

The task has been promoted to the production level.

Update Last Operation Code

A flag that indicates whether or not the task status fields LAST OP, LAST OP USER, LAST OP DATE, and LAST OP TIME should be updated when the operation completes successfully. The status fields are used to show information about the last significant operation for each task.

Example:

The browse operation B is not significant, but the edit operation S is.

Enter Y for all operations that should update the task statistics and N for those that shouldn’t. This field is only used for standard processing entries (exit key $$$$).

Important

Y should not be specified if the operation is valid across several environments because it will then destroy the LAST OP field.

Example:

If the browse operation was specified as Y, the LAST OP would be set to B when a task in production was browsed. This would overlay the LAST OP of P.

 

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