Updates an existing timer definition.
&CONTROL SHRVARS=($TI)
-EXEC $TICALL FUNC=PUT
[ CLASS=classname ]
[ SUBCLASS=subclassname ]
NAME=name
[ SDATE=startdate ]
[ EDATE=enddate ]
[ STIME=starttime ]
[ ETIME=endtime ]
[ FREQ={ nnnn | HH.MM.SS } ]
[ FTYPE={ MONTHS | DAYS | TIME } ]
[ LIMIT= nnnn ]
[ DAYLIST=(MON,TUE,…..) ]
[ CATCHUP={ YES | NO } ]
[ DELEXP={ YES | NO } ]
[ STATUS={ ACTIVE | INACTIVE } ]
[ SAVE={ YES | NO } ]
[ ROUTE={ * | userid | MON | LOG | SYS } ]
[ KEEP={ MON | LOG | SYS } ]
[ COMMAND=command ]
[ DESC=description ]
Updates an existing timer definition. If a same named definition does not exist, then the $TICALL FUNC=PUT will fail.
Operands:
Updates an existing timer definition.
The description of all the other operands is the same as $TICALL FUNC=ADD, except that there are no defaults for the PUT function. If an operand is not specified, then that particular field will not be updated in the timer definition.
Return Codes:
$TICALL completed successfully. Data is returned in the following variables:
CATCHUP
CLASS
Create date
COMMAND
DELEXP
EDATE
ETIME
FREQ
FTYPE
KEEP
LIMIT
NAME
ROUTE
SDATE
STATUS
STIME
SUBCLASS
Modify user ID
Modified date
Modified time
User authority of $TIUSER
An error occurred. &SYSMSG is set with an error message.
Example: FUNC=PUT
&TOMORROW = &DATECONV DATE8 &DATE8 DATE8 +1 &DESC = &STR 'Updating the start date and description' &CALL PROC=$TICALL SHARE=($TI>) PARMS=(FUNC=PUT CLASS=USER + NAME=CMD1 SDATE=&TOMORROW DESC=&DESC)
Note: If the text entered in the Description and Command fields contains imbedded blanks, they must be enclosed in quotes.
| Copyright © 2009 CA. All rights reserved. |
|