User`s guide
68 DC 900-1340I
BSC Programmer’s Guide
pOptArgs.usProtCircuitID field to the control unit number to which the virtual devices
are to be attached.
Figure 3–5 is an example of the pBuf data area for a command to create virtual displays
0, 1, and 3 and virtual printers 2 and 4.
When the Create Virtual 3270 Devices command is sent to the ICP, all devices listed in
the data area are created and placed on the status indicated in the
pOptArgs.iProtModifier
field (see Tab le 3 –5). All devices not listed are taken out of service. Virtual devices
remain configured until another Create Virtual 3270 Devices command is issued. Set
iBufLen to 0 to take all devices out of service. The ICP does not respond to selects and
specific polls addressed to devices that are placed out of service.
To change the status of any virtual device, see the Change Virtual 3270 Device Status
command (Section 3.4.1.12). See Section A.4 on page 197 for more information on vir-
tual device procedures and line sequence diagrams.
Figure 3–5: Example Create Virtual 3270 Devices
Byte
0
1
2
3
4
pBuf
iBufLen = 5
0
1
3
34
36