ROR TASK VALIDATE RESCHEDULING

TITLEVALUE
NAMEROR TASK VALIDATE RESCHEDULING
DESCRIPTIONThe ROR TASK VALIDATE RESCHEDULING remote procedure validates the
rescheduling code and returns the next date/time to run.
TAGVALIDSCH
ROUTINERORRP012
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSCHCODE
DESCRIPTIONRescheduling code ("1D", "1M", "D@12:00", etc).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSCHDT
DESCRIPTIONDate when a task is scheduled to run for the first time (FileMan). By
default (if $G(SCHDT)'>0), the current date/time is used.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
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

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].
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED