ROR TASK VALIDATE RESCHEDULING (1784)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR TASK VALIDATE RESCHEDULING
TAG VALIDSCH
ROUTINE RORRP012
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR TASK VALIDATE RESCHEDULING remote procedure validates the 
rescheduling code and returns the next date/time to run.
INPUT PARAMETER
  • SCHCODE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Rescheduling code ("1D", "1M", "D@12:00", etc).
    
  • SCHDT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Date when a task is scheduled to run for the first time (FileMan). By 
    default (if $G(SCHDT)'>0), the current date/time is used.
    
RETURN PARAMETER DESCRIPTION
A negative value of the first "^"-piece of the Results[0] indicates that 
  Results[i]            Error Descriptor
                          ^01: Error code
                          ^02: Message
                          ^03: Place of the error
 
Otherwise, either 1 (the rescheduling code is valid) or 0 (the code is not
valid) is returned in the Results[0]. If the code is valid then the next 
date/time to run the task (FileMan) is returned in the Results[1].
an error occurred during the execution of the remote procedure. In this 
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:
  
  Results[0]            Result Descriptor
                          ^01: The last error code
                          ^02: Number of the error descriptors