For Sending Any Printer Command [ Using SNA IMF Pass Thru ] MPE/iX 5.0 Documentation
Using SNA IMF Pass Thru
For Sending Any Printer Command
This example UDC allows you to enter any printer command,with fewer key
strokes than it would take to enter the entire MPE RUN command.
Following are the lines you would add to your UDC file to create this
UDC:
PTRCMND COMMAND
RUN TTSSON.PUB.SYS,COMMAND;INFO="!COMMAND"
**********
This UDC has one parameter: COMMAND. To send a printer command, you
would type the name of the UDC (PTRCMND) followed by the command you
wanted to send. For example, typing
:PTRCMND SEND PA1 to IL26104P
would send the PA1 key to the LU whose configured name is 1l26104P. It
would have the same effect as typing
:RUN TTSSON.PUB.SYS,COMMAND;INFO="SEND PA1 to IL26104P"
For Sending the PA1 Key
This example UDC provides a shorthand way of entering the SEND PA1
printer command. Following are the lines you would add to your UDC file
to create this UDC:
PA1 NAU
RUN TTSSON.PUB.SYS,COMMAND;INFO="SEND PA1 to !NAU"
**********
This UDC has one parameter: NAU. To send the PA1 key to LUs IL26104P
and IL22164P, you would type the following:
:PA1 IL26104P
:PA1 IL22164P
This would have the same effect as typing the following commands:
:RUN TTSSON.PUB.SYS,COMMAND;INFO="SEND PA1 to IL26104P"
:RUN TTSSON.PUB.SYS,COMMAND;INFO="SEND PA1 to IL22164P"
For Checking NAU Session Status
If you wanted to find out which NAUs were engaged in OPEN or ACTIVE
sessions (LU.T1, LU.T2, or LU.T3), you could create a UDC to issue the
SHOW command. Following are the lines you would add to your UDC file to
create this UDC:
SHOW NAU
RUN TTSSON.PUB.SYS,COMMAND;INFO="SHOW !NAU"
**********
This UDC has one parameter: NAU. To receive a list of all LUs currently
in OPEN or ACTIVE sessions, you would type the following:
:SHOW ALL
This would have the same effect as typing
:RUN TTSSON.PUB.SYS,COMMAND;INFO="SHOW ALL"
A message listing all LUs currently in OPEN or ACTIVE sessions would
appear on your screen.
MPE/iX 5.0 Documentation