Default language.

Information
Space announcement This space provides the same content as before, but the organization of the home page 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.

SmartSwitch output


SmartSwitch output can combine output from REORG PLUS and BMC AMI Reorg, depending on whether SmartSwitch switches a job to BMC AMI Reorg: 

  • If SmartSwitch switches a job to BMC AMI Reorg, output is written to CDBPRINT, SYSERROR, SUMMARY, and OBJREPRT DD statements (the norm for BMC AMI Utilities output), as it is for other BMC AMI Reorg output. BMC AMI Reorg dynamically allocates these DD statements, using SYSPRINT as a model.
  • If SmartSwitch does not switch a job to BMC AMI Reorg, the REORG PLUS continues to write output to SYSPRINT (the norm for REORG PLUS). The REORG PLUS also issues UTILITY COMPLETE messages and a final condition code.

The following table displays sample messages that are displayed in various scenarios:

Scenario

Sample message

The following message is displayed in SYSPRINT:

BMC54002ISMARTSWITCH BLUE SOLUTION LICENSE NOT FOUND
  • SmartSwitch is enabled.
  • The rules table does not contain any rules.
BMC50004I  UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC54003I  SMARTSWITCH RULE: FORCE_NO__SWITCH  COMMENT: SMARTSWITCH NOT ACTIVATED, NO ROWS ON POLICY TABLE

The following message is also displayed in the Comments column of the rules table: 

SMARTSWITCH NOT ACTIVATED, NO ROWS ON POLICY TABLE
  • SmartSwitch is enabled.
  • The rules table contains at least one rule.
  • The job does not match any of the rules in the rules table.
BMC50004I UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC54003I SMARTSWITCH RULE: FORCE_NO__SWITCH  COMMENT: SMARTSWITCH IS ACTIVATED, BUT NO RULE APPLIES. CLASSIC UTILITY WILL BE USED
BMC50004I NGTUTIL PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC50199I REORG PLUS PROCESSING CONTINUES

The following message is also displayed in the Comments column of the rules table: 

SMARTSWITCH IS ACTIVATED, BUT NO RULE APPLIES. CLASSIC UTILITY WILL BE USED
  • SmartSwitch is enabled.
  • The job matches a rule that contains ALLOW_SWITCH.
BMC50004I UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC54003I SMARTSWITCH RULE: ALLOW_SWITCH  COMMENT: SEND JOBS FROM RDARKB TO BMC AMI UTILITIES
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS LOAD.
BMC50184I SMARTSWITCH PROCESSING SUCCESSFUL. RETURN CODE=0.  UTILITY OUTPUT CAN BE FOUND IN BMC AMI UTILITIES DD CDBPRINT, SUMMARY AND OBJREPRT.
BMC50200I SMARTSWITCH ALWAYS SENDS DELETEFILES TO BMC AMI UTILITIES AND OVERRIDES +DELETEOUTPUT VALUE.

The following message is also displayed in the Comments column of the rules table: 

SEND JOBS FROM RDARKB TO BMC AMI UTILITIES
  • SmartSwitch is enabled.
  • The job matches a rule that contains ALLOW_SWITCH.
  • The job cannot switch from REORG PLUS to BMC AMI Reorg.
BMC50004I UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:01
BMC54003I SMARTSWITCH RULE: ALLOW_SWITCH  COMMENT: SEND JOBS FROM RDARKB TO BMC AMI UTILITIES
BMC50183I SMARTSWITCH PRECLUDED FROM SWITCHING.  REASON DDTYPE LOCPFCPY FOUND WITH IFALLOC USE
BMC50004I NGTUTIL PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC50199I REORG PLUS PROCESSING CONTINUES

Message BMC50183I describes the reason preventing the job from switching from the REORG PLUS to BMC AMI Reorg.

  • SmartSwitch is enabled.
  • The job matches a rule that contains ALLOW_SWITCH.
  • The BMC AMI Utilities parser prevents the job switching from REORG PLUS to BMC AMI Reorg.

 

BMC50004I UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC54003I SMARTSWITCH RULE: ALLOW_SWITCH  COMMENT: SEND JOBS FROM RDARKB TO BMC AMI UTILITIES
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000008 :  LOAD PARSER ERROR: NGTU782 TEXT IN ERROR IS: PAUSE RESUME NO SHRL
BMC50004I NGTUTIL PHASE COMPLETE.  ELAPSED TIME = 00:00:01
BMC50199I REORG PLUS PROCESSING CONTINUES

Message BMC50186I describes the reason preventing the job from switching from REORG PLUS to BMC AMI Reorg.

The full reason for the switch not occurring is described in the SYSERROR DD statement. For example:

MAIN.LD900PAR NGTU782 TEXT IN ERROR IS: PAUSE RESUME NO SHRL
MAIN.LD900PAR NGTU783 REASON FOR ERROR: PARAMETER IS NOT RECOGNIZED.
MAIN.LD900PAR NGTU783 FOR SUB KEYWORD : PRELOAD.
MAIN.LD900PAR NGTU784 EXPECTED TOKENS FOLLOWS:
MAIN.LD900PAR NGTU785 "LOAD","CONTINUE".
MAIN.RRGSRTNS NGTZ170 ERROR OCCURRED IN STATEMENT NUMBER 1 

In this example, you specified PRELOAD PAUSE in the LOAD statement.

  • SmartSwitch is enabled.
  • The job matches a rule that contains ALLOW_SWITCH.
  • The REORG PLUS can execute the job only by invoking DSNUTILB.
  • The BMC AMI Utilities parser prevents the job switching from REORG PLUS to BMC AMI Reorg.
BMC50004I UTILINIT PHASE COMPLETE.  ELAPSED TIME = 00:00:00
BMC50182I DSNUTILB REQUIRED: INDEX CONTAINS A RANDOM KEY INDEX 'RKB '.'RKBUTSCR '
BMC54003I SMARTSWITCH RULE: ALLOW_SWITCH  COMMENT: SEND JOBS FROM RDARKB TO BMC AMI UTILITIES
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000008 :  REORG PARSER ERROR: NGTU781 SYNTAX ERROR OCCURRED AT STATEMENT NO. 1
BMC50004I NGTUTIL PHASE COMPLETE.  ELAPSED TIME = 00:00:01
BMC50199I REORG PLUS PROCESSING CONTINUES
DSNU000I    108 17:45:46.99 DSNUGUTC - OUTPUT START FOR UTILITY, UTILID = RKBRSSW1

In this example, you used a DEADLINE keyword in the SYSIN that triggered the BMC AMI Utilities parser error.

  • SmartSwitch is enabled.
  • The job matches a rule that contains ALLOW_SWITCH.
  • The REORG PLUS can execute the job only by invoking DSNUTILB.
  • The BMC AMI Utilities parser determines that BMC AMI Utilities will be invoking DSNUTILB.
  • The job will run in REORG PLUS.
BMC50182I DSNUTILB REQUIRED: HASH ORGANIZED OBJECT FOUND TABLESPACE 'ARU01TSA'.'LARSSCBA'
BMC50182I DSNUTILB REQUIRED: HASH OVERFLOW INDEX FOUND INDEX 'ARU01TSA'.'LART001A_#_8YU'
BMC50004I UTILINIT PHASE COMPLETE. ELAPSED TIME = 00:00:00
BMC54003I SMARTSWITCH RULE: ALLOW_SWITCH  COMMENT: BHI ALLOW_SWITCH                            
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.                                                                                                          
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.                                                                                                              
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.                                                                                                               
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.                                                                                                                
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000000 :  BMC AMI UTILITIES CAN NATIVELY PROCESS THIS OUTPUT.                                                                                                                
BMC50186I SMARTSWITCH SYNTAX VERIFICATION RC=00000004 :  NGTU766 RESTRICTED FUNCTION "HASHED TS" DETECTED ON DB.TS=Q000294D.Q000294S.               
BMC50004I NGTUTIL PHASE COMPLETE.  ELAPSED TIME = 00:00:05
BMC50199I REORG PLUS PROCESSING CONTINUES

In this example, the job switches to the BMC AMI Utilities , but because there was HASH Object found, BMC AMI Reorg displays a message with the reason preventing the job from switching from the REORG PLUS to BMC AMI Reorg. Job continues to process in REORG PLUS.

 

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

REORG PLUS for DB2 13.1