beautypg.com

Table 26. summary of command syntax—by command – Visara Master Console Center Scripting Guide User Manual

Page 254

background image

Appendix B Command Syntax

Scripting Guide

254

TEMP

Physical
Interface

Control

Reads the current temperature from a sensor
unit.

TEMP(%Port)==>%Temp

TIME

Time

Converts a time string to a time value.

TIME([TimeString])==>%MidnightSeconds

TIMESTR

Time

Formats epoch seconds into a date/time string.

TIMESTR(%EpochSeconds,$Format)==>$For

matted

TRIMSTR

Variable

Removes leading and trailing spaces from a

string.

TRIMSTR( $String [,

%Where])==>$TrimmedString

TSOEREXX

Event

Enters commands to TSO/E REXX.

TSOEREXX( %ObjID, $CmdArray,
%ErrorArray, $ErrorTextArray) ==>

%ReturnValue

UPPER

Variable

Converts lowercase characters to uppercase.

UPPER($String)==>$UpperString

VAL

Variable

Converts a string expression to a number.

VAL($String)==>A%Number

VERSION

Variable

WAITFOR

Time

Pauses script execution for the specified number
of seconds.

WAITFOR(%Seconds)

WAITUNTIL

Time

Pauses current script execution until the

specified time is reached.

WAITUNTIL(%MidnightSeconds)

WHILE

(ENDWHILE)

Flow

Control

Repeats a sequence of commands while an

expression evaluates to TRUE.

WHILE…ENDWHILE

Table 26. Summary of Command Syntax—By Command