HP TACL Programming Manual page 136

Tandem advanced command language
Table of Contents

Advertisement

Initiating and Communicating With Processes
Using $RECEIVE
5–28
Figure 5-11. Creating CMON Messages (Page 4 of 4)
?SECTION grp_usr ROUTINE
== Converts a group , user to a space-separated list
#FRAME
#PUSH v
#IF [#ARGUMENT/VALUE v/ NUMBER]
#RESULT [v]
#IF [#ARGUMENT COMMA]
#IF [#ARGUMENT/VALUE v/ NUMBER]
#RESULT [v]
#UNFRAME
?SECTION strio ROUTINE
== Invoke this for the demo
#FRAME
== Do a simulated LOGON
#DEF msg STRUCT LIKE logon_msg;
#DEF reply STRUCT LIKE logon_reply;
talk_to_cmon msg reply
== Do a simulated processcreation
#DEF msg STRUCT LIKE processcreation_msg;
#SET msg:progname tacl
#SET msg:priority 148
#SET msg:processor 13
#SET msg:proginfile taclin
#SET msg:progoutfile taclout
#SET msg:proglibfile tacllib
#SET msg:progswapfile taclswap
#DEF reply STRUCT LIKE processcreation_reply;
talk_to_cmon msg reply
== Do a simulated LOGOFF
#DEF msg STRUCT LIKE logoff_msg;
#DEF reply STRUCT LIKE logoff_reply;
talk_to_cmon msg reply
#UNFRAME
107365 Tandem Computers Incorporated
== These are simulated RUN options

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents