How to make a random sending transaction in GPSS?

Welcome!
There is a program on GPSS transaction which generates and sends to various nodes. Technology hypercube, the broadcast type. The first node sends transaction at a time, but you have to make randomly to all nodes. In your code you need to replace or add?
GENERATE 16,2 ; transacti Generated in the interval of 14-18
 LQ1 QUEUE ; stand in a queue LQ1 (QUEUE - for collecting and processing statistical information)
 SEIZE U1 ; to Senate single-channel device with the name U1 
 LQ1 DEPART ; to Go away from the queue LQ1 
 ADVANCE 16,2 ; Delay tranzakt at a random time 14-18 (tranz is transferred from TS to BS) 
 RELEASE U1 ; Release hodnoceni device with the name U1
 SPLIT 1,L3 ; If the failure to make a copy and refer to block 3
 QUEUE LQ2 ; line 
 SEIZE U2 ; current device 
 LQ2 DEPART ; Leave queue 
 ADVANCE 16,2 ; Detained tranzakt 
 U2 RELEASE ; release the device
 QUEUE LQ3 ; line 
 SEIZE U3 ; current device 
 LQ3 DEPART ; Leave queue 
 ADVANCE 16,2 ; Detained tranzakt 
 RELEASE U3 ; Free device
 QUEUE LQ4 ; line 4 
 SEIZE U4 ; current device 
 LQ4 DEPART ; Leave queue 
 ADVANCE 16,2 ; Detained tranzakt 
 RELEASE U4 ; Free device
 QUEUE LQ5 ; we will in turn 
 SEIZE U5 ; current device 
 DEPART LQ5 ; Leave the queue 
 ADVANCE 16,2 ; Detained tranzakt 
 RELEASE U5 ; free the device
 TRANSFER ,AS ; Changing the direction of movement transaction. The unconditional transfer is specified as the second operand
L3 QUEUE LQ6 ; Block 3 To Be in place 
 SEIZE U6 ; current device 
 DEPART LQ6 ; Leave the queue 
 ADVANCE 16,2 ; Detained tranzakt 
 RELEASE U6 ; free the device
 QUEUE LQ7 ; line 
 SEIZE U7 ; current device
 LQ7 DEPART ; Leave queue 
 ADVANCE 16,2 ; Detained tranzakt 
 RELEASE U7 ; Exempt device
AS ASSEMBLE 2 ; Collect all packages in one place
 QUEUE LQ8 ; we will in turn 
 SEIZE U8 ; Take the device 
 DEPART LQ8 ; Leave the queue 
 ADVANCE 16,2 ; time Delay 
 U8 RELEASE ; Release the device
 TERMINATE 1 ; Remove 1 tranzakt (subtract 1 from count end) 
 START 100 ; Run - start time counter savrseni
July 9th 19 at 13:34

Find more questions by tags Computer networks