26.08.2013 Views

3.1 MB - Evernote

3.1 MB - Evernote

3.1 MB - Evernote

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

105<br />

Appendix A: Detailed GPSS Syntax<br />

priority parameter specifies the priority value assigned to the generated Transactions<br />

and will default to 0. If specified all these parameters are required to have a positive<br />

integer value or zero. In addition the half range parameter cannot be greater than the<br />

average interarrival time parameter.<br />

Reserved word: LEAVE<br />

Syntax: [] LEAVE [,]<br />

Description:<br />

The LEAVE block will release the specified number of Storage units held by the<br />

Transaction. The Storage name parameter defines the Storage entity from which units<br />

will be released and the second optional usage count parameter specifies how many<br />

Storage units will be released by the Transaction. If not specified this parameter will<br />

default to 1. Otherwise this parameter has to have a positive integer value that is less or<br />

equal to the size of the Storage. If the specified number of units is greater than the<br />

number of units currently held by the Transaction then a runtime error will occur.<br />

Reserved word: QUEUE<br />

Syntax: [] QUEUE <br />

Description:<br />

The QUEUE block causes the Transaction to enter the specified Queue entity. The<br />

required Queue name parameter describes the Queue entity that the Transaction will<br />

enter.<br />

Reserved word: RELEASE<br />

Syntax: [] RELEASE <br />

Description:<br />

The RELEASE block will release the specified Facility entity held by the Transaction.<br />

The Facility name parameter defines the Facility entity that will be released. If the<br />

Facility entity is not currently held by the Transaction then a runtime error will occur.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!