OOPS VALIDATE TIME (1398)    REMOTE PROCEDURE (8994)

Name Value
NAME OOPS VALIDATE TIME
TAG DTVALID
ROUTINE OOPSGUI2
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
WORD WRAP ON FALSE
DESCRIPTION
This broker call will compare two dates (which are part of the input) based 
on the 3rd input paramater which is a flag indicating which type of compare 
should be done.  The RESULTS output indicates whether the dates pass (VALID
DATE) or fail (DATE ERROR) the compare.
INPUT PARAMETER
  • IDT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    This is the base date/time in external format. In the case of testing
    whether one date is before another, this would be the "base" date. 
    
  • PDT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    This is the post date or benchmark date in external format.  In the example 
    of testing if one date is earlier/less than another, this would be the 
    latter date. 
    
  • FLAG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    This input parm indicates the type of comparison to be done. 
    
    -2 means PDT must be <  IDT (The DAY only)
    -1 means PDT must be <  IDT (The DAY&TIME)
    0 means PDT must be =  IDT (The DAY&TIME)
    1 means PDT must be >  IDT (The DAY&TIME)
    2 means PDT must be > IDT (The DAY only)
    
RETURN PARAMETER DESCRIPTION
The return parameter, RESULTS, indicates if the compare was good (VALID DATE)
or bad (DATE ERROR).