Version 4.5.2
 —  Terminal Emulation  —

Dynamic Variables

Dynamic variables start with an asterisk (*).

*API *HOUR *RSPTOTAL
*COMMTYPE *MINUTE *SCREEN
*CURCOL *MONTH *SECOND
*CURPOS *PASSWORD *SYSTEM
*CURROW *PASSWORD1 - 4 *TE
*DATE *RSPAVG *TIME
*DAY *RSPCOUNT *UA
*DAYOFWEEK *RSPMAX *USERID
*DISKSPACE *RSPMIN *USERID1 - 4
*DRIVE *RSPTIME *YEAR

Dynamic variables cannot be modified. The values are determined by the system settings of the operating system and Entire Connection. Dynamic variables can be used with any command if the command syntax allows it.


List of Dynamic Variables

*API

Sample value: YES

This variable indicates whether a procedure file is being executed, using the Entire Connection application programming interface.

*COMMTYPE

Sample value: MyHost

This variable contains the name of the session which is addressed by the procedure file. When no session is currently active, this variable contains the name of the user's default session.

*CURCOL

Sample value: 80

This variable contains a numeric value between 1 and the maximum line size. The value indicates the column on the terminal screen in which the cursor is located.

*CURPOS

Sample value: 1919

This variable contains a numeric value between 0 and the maximum screen size. The value indicates the current position of the cursor on the terminal screen.

*CURROW

Sample value: 24

This variable contains a numeric value between 1 and the maximum number of rows. The value indicates the row on the terminal screen in which the cursor is located.

*DATE

Sample value: 1998/12/21

This variable contains the current date.

*DAY

Sample value: 21

This variable contains the number of the current day.

*DAYOFWEEK

Sample value: MONDAY

This variable contains the name of the current day of the week.

*DISKSPACE

Sample value: 105

This variable contains the available disk space on the current drive in bytes.

*DRIVE

Sample value: C

This variable contains the current drive.

*HOUR

Sample value: 13

This variable contains the current hour.

*MINUTE

Sample value: 03

This variable contains the current minute.

*MONTH

Sample value: 03

This variable contains the current month.

*PASSWORD

Sample value: ABCDEF

This variable contains a password which may be 1 to 16 characters long. The password is required to access Entire Connection.

*PASSWORD1 - 4

Sample value: SYSTEM

Each of the variables *PASSWORD1 to *PASSWORD4 may contain a password which may be 1 to 16 characters long. These passwords may be required when logging on to different host systems or applications. The values are defined on the Procedure property page of the User Properties dialog box.

Note:
These variables are actually system variables which can be modified during runtime, using the SET command.

*RSPAVG

Sample value: 0.44

This variable contains the average host response time in seconds.

*RSPCOUNT

Sample value: 128

This variable contains the number of processed transactions.

*RSPMAX

Sample value: 5.32

This variable contains the maximum host response time in seconds.

*RSPMIN

Sample value: 0.87

This variable contains the minimum host response time in seconds.

*RSPTIME

Sample value: 1.55

This variable contains the current host response time in seconds.

*RSPTOTAL

Sample value: 123.75

This variable contains the total host response time in seconds.

*SCREEN

This variable contains the current terminal emulation screen. You can only access *SCREEN or a specific position within *SCREEN using the commands SET and IF.

*SECOND

Sample value: 15

This variable contains the current second.

*SYSTEM

Sample value: MS/WIN

This variable contains the value MS/WIN. It guarantees compatibility between Entire Connection versions on different platforms.

*TE

Sample value: YES

This variable indicates whether the procedure file is being executed in terminal emulation mode.

*TIME

Sample value: 13:03:15

This variable contains the current time.

*UA

Sample value: YES

This variable indicates whether the procedure file is being executed by the Unattended Workstation utility.

*USERID

Sample value: SABCD

This variable contains a user ID which may be 1 to 16 characters long. The user ID is required to access Entire Connection.

*USERID1 - 4

Sample value: SBCDE

Each of the variables *USERID1 to *USERID4 may contain a user ID which may be 1 to 16 characters long. These user IDs may be required when logging on to different host systems or applications. The values are defined on the Procedure property page of the User Properties dialog box.

Note:
These variables are actually system variables which can be modified during runtime, using the SET command.

*YEAR

Sample value: 1998

This variable contains the current year.

Top of page