RCM Models; How to have the DATE and TIME symbolics resolve at Batch Processor Execution
search cancel

RCM Models; How to have the DATE and TIME symbolics resolve at Batch Processor Execution

book

Article ID: 198563

calendar_today

Updated On:

Products

Database Management for DB2 for z/OS - Administration Suite RC/Migrator for DB2 for z/OS

Issue/Introduction

 When creating an RC/Migrator strategy, what is needed on the utility model to generate  a DATE and TIME symbolic (on a dataset name)  that will resolve to the execution DATE and TIME?

Environment

Release : 20.0

Component :  RC/Migrator for DB2 for z/OS

Resolution

In the Utility Models, the DSN symbolic can be coded as follows to resolve at execution: 
 

   DSN %USERID..%DSNQUAL2..D%%DATE..T%%TIME

The %% will generate in the analysis output as a single percent sign.

  DA('USER.DATABS.D%DATE.T%TIME.DATA')
  The %TIME and %DATE will resolve to the current DATE and TIME at Batch Processor execution.

To resolve to the current DATE and TIME at analysis a single % is specified on the DSN symbolic:

  DSN %USERID..%DSNQUAL2..D%DATE..T%TIME

Example:

 USERA.DSND11.TID18.D200831.T1105260

DATE: The analysis date in YYMMDD format.
TIME: The analysis time in HHMMSSH format.

 

Additional Information

For more information on Symbolics see:

 Batch Processor Automatic Symbols

Model Services Symbolics