Establish the date format for the DATEMSK environment variable - assure_mimix - 6.0

Assure MIMIX for AIX Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software for AIX
Version
6.0
ft:locale
en-US
Product name
Assure MIMIX for AIX
ft:title
Assure MIMIX for AIX Guide
Copyright
2025
First publish date
2003
ft:lastEdition
2025-10-08
ft:lastPublication
2025-10-08T06:18:25.453000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Assure
L4_Investment_Segment
IBM i HA
L5_Product_Group
IBM i HA
L6_Product_Name
Assure MIMIX for AIX

To specify a date format:

  1. Create a file that contains the date format for the DATEMSK environment variable. In this example, create /tmp/mdm.

    Note: The DATEMSK environment variable must be set to the full-path of a file that contains the date format template.
  2. Enter the following:

    export DATEMSK=/tmp/mdm
    The following shows two examples based on the different date formats.

    If the content of /tmp/mdm is...

    Then the date format for DATEMSK is...

    %m/%d/%y %H:%M:%S

    scrt_ra -C310 -D "05/05/18 16:15:00"

    %y.%m.%d %H%M%S

    scrt_ra -C310 -D "09.05.18 161500"

where:

  • %m–Month

  • %d–Day

  • %y–Year

  • %H–Hour

  • %M–Minute

  • %S–Second

Note: The date format must be specified exactly as it is in the DATEMSK environment variable. For example, if you do not specify seconds (%S) in DATEMSK, you cannot specify it in the command.