Syntax
── ? ─┬──────────────┬─ HI ─┬──────────┬───────────────────────────────% └─<mix number>─┘ └─<number>─┘
Explanation
The ?HI command causes the EXCEPTIONEVENT of the specified task. If a <mix number> is not specified, the currently running program is assumed. If <number> is specified, the TASKVALUE of the specified task is assigned the value of <number>.
A user is able to get information about a file transfer that is in progress by issuing a ?<mix number> HI command. The information returned includes source and destination file names, pack names, and host names, as well as the transfer time and the percentage of the file transfer completed.
Example
The following is an example of the ?HI command causing an EXCEPTIONEVENT of the current program:
list 100 BEGIN 200 FILE F(KIND=REMOTE); 300 WRITE(F,/,"POINT 1"); 400 WAIT(MYSELF.EXCEPTIONEVENT); 500 WRITE(F,/,"POINT 2"); 600 END. # run #RUNNING 0298 POINT 1, ?Y STATUS OF TASK 0298 AT 14:04:31 PRIORITY = 50 ORIGINATION: <LSN> 11 STACK STATE: WAITING ON AN EVENT PROGRAM NAME: (BOOK)CANDE/CODE110 ON DOCUMENTATION ?hi POINT 2, #ET=6.3 PT=0.2 IO=1.1
The following is an example of retrieving information about the progress of a file transfer from a user on host HOSTA:
COPY (ABC)FILE/1 AS (ABC)F1 FROM ICE(PACK) TO DISK(HOSTNAME=HOSTB) #RUNNING 1231 #BOT 1232 (ABC)WFLCODE #BOT 1233 *FILE/TRANSFER ?1233 HI #1233 COPYING (ABC)FILE/1 ON ICE AS (ABC)F1 ON DISK FROM HOSTA TO HOSTB #1233 ELAPSED TRANSFER TIME 00:01 = 7% TRANSFERRED