Using the Count Function in a Macro
PASSPORT PC to Host, PASSPORT Web to Host
TN3270, TN5250, VT, SCO ANSI, Wyse 60
How can I use the Count function in a macro to display the number of current PASSPORT sessions?
Below is a sample macro that will display a dialog box, which shows the number of PASSPORT sessions that are currently opened:
Sub ZMain()
nSessionCount = Count
strText = "Number of Sessions = " & nSessionCount
nRet = MsgBox (strText, 0, "Number of Sessions")
End Sub
count, macro, number of sessions