beautypg.com

Visara Master Console Center Scripting Guide User Manual

Page 236

background image

Appendix B Command Syntax

Scripting Guide

236

EVENTCLOSE

Event

Closes a specified event
queue. Events are no longer

available from the specified

queue.

EVENTCLOSE(%QueueID)==>%Status

EVENTOPEN

Event

Opens a connection to the
outside event daemon, and

asks for events from a

specified source.

EVENTOPEN(%Source[,$OsNameArray])==>%QueueID

EVENTREAD

Event

Returns the next event from
any of the specified event

queues.

EVENTREAD(%QueueIdArray,$EventArray[,%Wait]
==>%Status

MVSCOMMAND

Event

Enters commands to MVS

using the GW-MVS agent
(optional software)

MVSCOMMAND( %ObjID, $CmdArray, $Output Array,

%ErrArray $ErrorTextArray[, %PortID] [, $JobName] [,
$Filter1] [, $Filter2] [, $Filter3] [, %MvsMsgCount] [,

%MvsResponseTime] ) ==> %ReturnValue

TSOEREXX

Event

Enters commands to TSO/E

REXX.

TSOEREXX( %ObjID, $CmdArray, %ErrorArray,

$ErrorTextArray) ==> %ReturnValue

FCLOSE

File

Closes an open file.

FCLOSE(%FileNum)

FDELETE

File

Permanently deletes a file.

FDELETE($FileName)==>%Success

FEXISTS

File

Determines if a file exists.

FEXISTS($FileName)==>%Success

FILENO

File

Obtains the system integer

file descriptor from a file

handle.

FILENO(%FileHandle)==>%FileDescriptor

FMODTIME

File

Returns the time value of a

last modified date/time
stamp for a file.

FMODTIME(File)==>%EpochSeconds

FOPEN

File

Opens a file for I/O access.

FOPEN($FileName[,%Mode])==>%FileHandle