Peter Lorenz | Simulation und Animation |
---|

Preselection | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |

Standard Attributes (SA) are methods or attributes of model element (entity) classes. Calling them they provide their current value. The following Table contains all Standard Attributes and functions of GPSS/H. Section 3.5. contains a user introduction to SAs.

SNA/SLA/SCA or Function |
Definition | Entity Class | Computed or/ Stored As |
Remarks |
---|---|---|---|---|

`ABS(` |
Absolute value of xpr |
Math Function | -> | `ABS(` has the same type as xpr |

`AC1` |
Absolut Clock | System Attribute | REAL*8 | `AC1` measures the total simulated time that has elapsed since the start of a run or since the most recent
execution of a `CLEAR` control statement or `BCLEAR` Block.
The minimum value of the Absolute Clock is 0. |

`ACOS(` |
Arc cosine of xpr |
Math Function | INTEGER*4 | |

`AN1` |
The number of Transactions in the assembly set to which the current transaction belongs. | System Attribut, Transaction Atribute | INTEGER*4 | lf the current Transaction is the only member of its assembly set, `AN1` has the value 1. |

`ASIN(` |
Arc Sine of xpr |
Math Function | REAL*8 | Angles are measured in radians. |

`ATAN(` |
Arc tangent of xpr |
Math Function | REAL*8 | Angles are measured in radians. |

`BV` |
The value of Boolean variable | Bvariable | INTEGER*4 | lf Boolean Variable j is true, a value of 1 is returned, and if false, a value of 0 is returned. |

`C1` |
The Relative Clock of the system | System Attribute | REAL*8 | `C1` measures the simulated time that has elapsed since the start of a run or since the most recent execution of a
`RESET` control statement, `BRESET` Block, `CLEAR` control statement,
or `BCLEAR` Block. In models that have no `RESETs, BRESETs, CLEARs` or `BCLEAR` ,
`C1` will always equal `AC1.` The minimum value of `C1` is 0. |

`CA` |
Average contents of User Chain j |
User Chain | REAL*8 | Automatically maintained by GPSS/H |

`CC` |
Number of Transactions that have (ever) been placed on User Chain j |
User Chain | INTEGER*4 | Automatically maintained by GPSS/H |

`CH` |
Number of Transactions currently in the User Chain j |
User Chain | INTEGER*4 | Automatically maintained by GPSS/H |

`CHAR` |
ASCII character corresponding to ixpr |
Data-conversion function | VCHAR*1 | The CHAR SCA takes an integer expression (ixp) valued from 0 through 255'as an argument,
and returns the single ASCII character having the same decimal value as the argument.
For example.: `CHAR(10)` returns an ASCII linefeed,`CHAR (24)` an ASCII formfeed,
`CHAR(42)` an ASCII *, `CHAR (169)` the ASCII upper-left-corner box-drawing character,
and so on. |

`CHARSTOF` |
Floating point value represented in a character expression. | Data conversion Function | REAL*8 | cxprA GPSS/H character constant or character Ampervariable that contains an ASCII representation of a number
can be converted to a floating point data item by using the CHARSTOF SCA. .
cxpr can consist only of optional leading blanks or tabs, followed by a valid integer or floating point number,
followed by optional trailing blanks or tabs. A character representation of an invalid integer or floating point number
will cause an execution error if supplied as input to CHARSTOF. |

`CHARSTOI` |
Integer value represented in a character expression | Data-conversion Function | INTEGER*4 | A GPSS/H character constant or character Ampervariable that contains an ASCII representation of an integer
can be converted to an integer data item by using the CHARSTOI SCA.
cxprcan consist only of optional leading blanks or tabs, followed by a valid integer,
followed by optional trailing blanks or tabs. A character representation of a floating-point number,
even if it is integer valued, will cause an execution error if supplied as input to CHARSTOL. |

`CM` |
Maximum number of Transactions on User Chain j. |
User Chain | INTEGER*4 | Automatically maintained by GPSS/H. |

`COS(` |
Cosine of xpr |
Math Function | REAL*8 | Angles are measured in radians. |

`CT` |
Average time per Transaction spent on User Chain j. |
User Chain | REAL*8 | Automatically maintained by GPSS/H |

`CURDATE` |
Current date. | Miscellaneous Function | VCHAR*11 | The CURDATE SCA returns the current (instantaneous) date at any time during a simulation run.
The date is returned in the format `DD MMM YYYY` . |

`CURTIME` |
Current time. | Miscellaneous Function | VCHAR*8 | The CURTIME SCA returns the current (instantaneous) time at any instant during a simulation run.
The time is returned in the format `HH:MM:SS` . |

`ENTNUM` |
Returns the number associated with a named member of an entity class. | Miscellaneous Function | INTEGER*4 | The `ENTNUM` SCA permits names read in as data during model execution to be used
to access the corresponding entities in the model. The `ENTNUM` SCA compares a character expression
to the symbolic names used in a given entity class in a GPSS/H model. The first operand (code)
specifies the entity class, and the second operand (cxpr) specifies the name of a member of that class,
for which the identifying number is to be determined. lf there is no member of the class having a symbolic name
that matches cxpr, a value of 0 is returned; otherwise the number that was assigned
to the symbolic name during compilation is returned. That number can then be used to access the entity.
The name comparison is case-sensitive. For a listing of allowable code values,
see the description of the `REALLOCATE` statement, in Section 3.3. |

`EXP(` |
e to the xpr´th power. | Math Function | REAL*8 | e is the base of natural logs. |

`F` |
True if Facility j is currently (`SEIZE` ) or (`PREEMPT` ). |
Facility | INTEGER*4 | A value of 1 indicates that Facility `F` is either (`SEIZE` ed) or (`PREEMPT` ed).
A value of 0 indicates that Facility `F` is neither (`SEIZE` ed)nor (`PREEMPT` ed).
Note that a Transaction may be refused entry into a ```
SEIZE
``` or `PREEMPT` Block,
even though the value of `F` is 0, if Facility j has been rendered
unavailable by use of the `FUNAVAIL` Block. |

`FC` |
Number of Transactions to SEIZE or PREEMPT Facility j. |
Facility | INTEGER*4 | This count is incremented by 1 each time a Transaction succeeds in entering a `SEIZE` -
oder `PREEMPT` Block referencing Facility j. |

`FI` |
True if Facility j is currently interrupted (`PREEMPT` ) |
Facility | INTEGER*4 | Values of 1 and 0 indicate, respectively, that Facility j is currently PREEMPTed
or not PREEMPTed. |

`FIX(` |
The value of xpr converted to a fixed point value. |
Data conversion Function | INTEGER*4 | lf xpr is a floating point value, it is converted to an integer value by truncation; i.e., any fractional portion of the value is discarded. If a floating point value to be converted is greater than 2147483647 or less than 2147483648, the result of the FIX operator depends on which version of GPSS/H is in use. The PC and SPARC versions will issue execution warning messages and produce a result of 2147483647 if the floating point value was positive, or 2147483648 if it was negative. The IBM mainframe version simply produces an invalid result. No checks are made to verify the validity of the floating point value in the mainframe version. |

`FLT(` |
The value of xpr converted to a floating point value. |
Data-conversion Function | REAL*8 | If xpr is an integer value, it is converted to a floating point value. |

`FN` |
The value of Function j |
Function | REAL*8 | See Abschnitt 3.6 |

`FNI` |
True if Facility j is not currently interrupted (`PREEMPT` ). |
Facility | INTEGER*4 | `FNI` is the logical inverse of `FI` . |

`FNS` |
True if Facility j is currently not SEIZEable; i.e., Facility j is
currently (`SEIZE` d), (`PREEMPT` ed), or unavailable. |
Facility | INTEGER*4 | `FNS` is the logical inverse of `FS` . |

`FNU` |
True if Facility j is currently not SEIZEable; i.e., Facility j
is currently (`SEIZE` d), (`PREEMPT` ed), or unavailable. |
Facility | INTEGER*4 | `FNU` is the logical inverse of `F` . |

`FNV` |
True if Facility j is not currently available. |
Facility | INTEGER*4 | `FNV` is the logical inverse of
`FV` |

`FPU` |
Unavailability degree for Facility j, expressed in parts per thousand. |
Facility | REAL*8 | Note that`FPU` is expressed in parts per thousand. lf Facility `MACH1` is 75 percent unavailable,
`FPU(MACH1)` has a value of 750.0. |

`FPV` |
Percentage availability for Facility j in parts per thousand. |
Facility | REAL*8 | Note that`FPV` is expressed in parts per thousand. lf Facility `MACH1` is 75 percent unavailable,
`FPU(MACH1)` has a value of 750.0. |

`FR` |
Utilization of Facility j, expressed in parts per thousand. |
Facility | REAL*8 | Note that`FR` is expressed in parts per thousand. lf Facility `MACH1`
is 75 percent unavailable, `FPU(MACH1)` has a value of 750.0. |

`FRN` |
A pseudo-random number sampled from stream numberj. |
Random Numbe | REAL*8 | `FRN` FRNj generates a floating point value, uniformly distributed over the interval (0.0,1.0)
(end points excluded). For a detailed description of pseudo random number generation in GPSS/H
, please refer to Section 3.4.
See also the description of `RN` . |

`FRU` |
Average utilization of Facility j while unavailable, expressed in parts per thousand. |
Facility | REAL*8 | `FRU` generates a floating point value, uniformly distributed over the interval (0.0,1.0)
(end points excluded). For a detailed description of pseudo random number generation in GPSS/H,
please refer to Section 4.9 of Chapter 4. See also the description of `RN` . |

`FRV` |
Average utilization of Facility j while available, expressed in parts per thousand. |
Facility | REAL*8 | `FRV` generates a floating point value, uniformly distributed over the interval (0.0,1.0)
(end points excluded). For a detailed description of pseudo random number generation in GPSS/H,
please refer to Section 4.9 of Chapter 4. See also the description of `RN` . |

`FS` |
True if Facility j is currently SEIZEable; i.e., Facility j is neither (`SEIZE` d, `PREEMPT` ed),
nor unavailable. |
Facility | INTEGER*4 | `FS` is the logical inverse of `FNS` . |

`FT` |
Average time per Transaction per "capture" of Facility j |
Facility | REAL*8 | Automatically maintained by GPSSM. |

`FU` |
True if Facility j is currently `SEIZE` d or `PREEMPT` ed. |
Facility | INTEGER*4 | `FU` FUAj is an alternate notation for `F` . |

`FUA` |
Average duration of periods of unavailability of Facility j |
Facility | REAL*8 | |

`FUN` |
Number of periods of unavailability of Facility j |
Facility | INTEGER*4 | |

`FUT` |
Total time Facility j was unavailable. |
Facility | REAL*8 | |

`FV` |
True if Facility j is currently available. |
Facility | INTEGER*4 | A Facility is made unavailable by use of the `FUNAVAIL` Block. |

`G` |
AThe number of members currently in Group j . |
Group | INTEGER*2 | Automatically maintained by GPSS/H. |

`K` |
Integer constantj |
Constant | INTEGER*4 | Was used in early versions of GPSS to specify the integer constant j. |

`LC` |
True if Logic Switch j is currently clear (off). |
Logic Switch | INTEGER*4 | lf Logic Switch j is currently off, `LC` has a value of 1;
otherwise it has a value of 0. `LC` is a synonym for `LR` . |

`LEN(` |
Length of a character string. | Character string Function | INTEGER*4 | The`LEN` LEN SCA computes the length of a character expression.
It is most frequently used to determine the "current" length of a `VCHAR` Ampervariable; however,
it can be applied to any character expression. For a detailed description of the LEN SCA,
please refer to Section 4.3.2.3 of Chapter 4. |

`LISDATE` |
Run date as shown at top of listing file. | Miscellaneous Function | VCHAR*11 | The LISDATE SCA returns the date that appears at the top of the standard CPSS/H listing file.
The date is returned in the format `DD MMM YYYY` |

`LISTIME` |
Run time as shown at top of listing file. | Miscellaneous Function | VCHAR*8 | The LISTIME SCA returns the time that appears at the top of the standard GPSS/H listing file.
The time is returned in the format `HH:MM:SS` |

`LOG(` ) |
Natural log of xpr |
Math Function | REAL*8 | |

`LR` |
True if Logic Switch j is currently `RESET` (oft). |
Logikschalter | INTEGER*4 | lf Logic Switch j is currently off, `LR` has a value of 1;
otherwise it has a value of 0. |

`LS` |
True if Logic Switch j is currently `SET` (on). |
Logic Switch | INTEGER*4 | lf Logic Switch j is currently on, `LR` has a value of 1;
otherwise it has a value of 0. |

`M1` |
Transit time of the current Transaction. | Transaction Attribute | REAL*8 | `M1` is computed as the difference between the current value of the Absolute Clock (`AC1` )
and the Mark Time of the referenced Transaction. The Mark Time of a Transaction is set when it "escapes"
from a `GENERATE` Block. lt can be changed by using a `MARK` Block. |

`MB` |
The value of the element in row r, column c of Byte Matrix Savevalue
j. |
Byte Matrix Savevalue | INTEGER*1 | Any Byte Matrix Savevalue referenced in a model must be defined in a `MATRIX` control statement. |

`MH` |
The value of the element in row r, column c of Halfword Matrix Savevalue
j. |
Halfword Matrix Savevalue | INTEGER*2 | Any Halfword Matrix Savevalue referenced in a model must be defined in a `MATRIX` control statement. |

`ML` |
The value of the element in row r, column c of floating point Matrix Savevalue
j. |
Floating point Matrix Savevalue | REAL*8 | Any floating point Matrix Savevalue referenced in a model must be defined in a `MATRIX` control statement. |

`MP` `MP` `MP` `MP` |
Parameter-mode transit time for the referenced Transaction Parameter. | Transaction Attribute | REAL*8 | MPj is computed as the difference between the current value of the Absolute Clock (`AC1` ) and Parameter
j. The type of Parameter j can be specified by appending a `PF-, PH-, PB-` oder
`PL` suffix. Since the Absolute Clock is stored as a floating point value,
use of Fullword, Halfword, or Byte Parameter modes should be rare Fractional clock values stored in
integer type Parameters will be truncated. |

`MPB` |
Byte Parameter mode transit time | Transaction Attribute | REAL*8 | `MPB` is computed as the difference between the current value of the Absolute Clock (`AC1` )
and Byte Parameter j. Since the Absolute Clock is stored as a floating point value,
use of `MPB` Should be rare. Fractional clock values stored in integer type Parameters
will be truncated. Note that `MPB` (prefix notation) is equivalent to
`MP` PB (suffix notation). und dem Byteparameter . |

`MPF` |
Fullword Parameter mode transit time | Transaction Attribute | REAL*8 | `MPF` is computed as the difference between the current value of the Absolute Clock
(`AC1` ) and Fullword Parameter j. Since the Absolute Clock is stored
as a floating point value, use of MPFj should be rare. Fractional clock values stored in integer type Parameters
will be truncated. Note that `MPF` (prefix notation) is equivalent to `MP`
(suffix notation). |

`MPH` |
Halfword Parameter mode transit time j |
Transaction Attribute | REAL*8 | MPHj is computed as the difference between the current value of the Absolute Clock (`AC1` )
and Halfword Parameter j. Since the Absolute Clock is stored as a floating point value,
use of `MPH` should be rare. Fractional clock values stored in integer type Parameters
will be truncated Note that `MPH` (prefix notation) is equivalent to `MP`
(suffix notation). |

`MPL` |
Floating Point Parameter mode transit time. | Transaction Attribute | REAL*8 | `MPL` is computed as the difference between the current value of the Absolute Clock
(`AC1` ) and Floating Point Parameter j. Note that `MPL`
(prefix notation) is equivalent to `MP` (suffix notation). |

`MX` |
The value of the element in row r, column c
of Fullword Matrix Savevalue j. |
Fullword Matrix Savevalue | INTEGER*4 | Any Fullword Matrix Savevalue referenced in a model must be defined in a `MATRIX` control statement. |

`N` |
The total number of Transactions to have successfully entered Block j . |
Block | INTEGER*4 | Automatically maintained by GPSS/H. |

`NAC1` |
The next value of `AC1` , the system clock. |
System Attribute | REAL*8 | The move time of the first Transaction on the Future Events Chain; i.e., it will be the next value registered by the Absolute Clock, assuming no new events are scheduled. |

`PB` |
The value of Transaction Parameter j |
Byte Parameter | INTEGER*1 | |

`PF` |
Transaction Fullword Parameter j |
Fullword Parameter | INTEGER*4 | |

`PH` |
Transaction Halfword Parameter j. |
Halfword Parameter | INTEGER*2 | |

`PL` |
Transaction floating point Parameter j |
Floating point Parameter | REAL*8 | |

`PR` |
Transaction priority. | Transaction Attribute | INTEGER*4 | Every Transaction has a priority. The default priority value is 0. |

`Q` |
Current contents of Queue j. |
INTEGER*4 | Incremented when a Transaction enters a QUEUE Block that references Queue j and decremented
when a Transaction enters a `DEPART` Block that references Queue j. | |

`QA` |
Average contents of Queue j |
Queue | REAL*8 | Automatically maintained by GPSS/H. |

`QC` |
Total number of units to enter Queue j. |
Queue | INTEGER*4 | `QC` is incremented each time a Transaction enters a `QUEUE` Block that references
Queue j .
If a 8 operand is specified, `QC` is incremented by the value of the B operand.
If no 8 operand is specified, `QC` is incremented by 1. |

`QM` |
Maximum contents of Queue j |
Queue | INTEGER*4 | Automatically maintained by GPSS/H. |

`QT` |
Average time per unit (for all units) in Queue j |
Queue | REAL*8 | Automatically maintained by GPSS/H. The `QT` SNA includes units which pass through a Queue
in zero simulated time. The `QX` SNA excludes such units. |

`QX` |
Average time per unit (excluding units which pass through in zero simulated time) of Queue j. |
Queue | REAL*8 | Automatically maintained by GPSS/H. The `QX` SNA excludes units which pass through a Queue
in zero simulated time. The `QT` SNA includes such units. |

`QZ` |
Number of units which pass through Queue j in zero simulated time. |
Queue | INTEGER*4 | &Automatically maintained by GPSS/H. |

`R` |
Remaining capacity of Storage
j |
Storage | INTEGER*4 | Rj + Sj = capacity of Storage
j |

`RN` |
A pseudo random number sampled from Random Number Stream j. |
Random Number | INTEGER*4 or REAL*8 | When used (directly) as a Function argument, `RN` yields a REAL*8 result,
uniformly distributed over the interval (0.0, 1.0) (end points excluded).
In all other contexts, `RN` yields an INTEGER*4 result, uniformly distributed over the interval
[0,999] (end points included). For a detailed description of pseudo random number generation in GPSS/H,
please refer to Section 4.9 of Chapter 4. See also the description of `FRN` . |

`RNX` |
The position of the next sample to be drawn from Random Number Stream j. |
Random Number | INTEGER*4 | Values retrieved by using `RNX` can be used in subsequent RMULT control statements or
`BRMULT` Blocks to repeat prior sequences of random samples, or to resume sampling
from the point at which prior sampling terminated. For example, writing the `RNX` values
for all Random Number Streams into a disk file at the end of a run would enable continuation of random sampling
in a subsequent run; i.e., sampling could take up where it left off. |

`RVBETA(` |
Beta distribution | Random variate generator | REAL*8 | Generates random variates from a beta distribution using Random Number stream j
and shape parameters alpha1 and alpha2.
REAL alpha1 must be > 0.0 REAL alpha2 must be > 0.0. |

`RVBIN(` |
Binomial distribution | Random-variate generator | INTEGER*4 | Generates random variates from a binomial distribution using Random Number stream j,
number-of-trials parameter trials and probability parameter prob.INTEGER trial must be > 0 REAL prob must be > minus infinite and < plus infinite |

`RVDUNI` |
Discrete Uniform distribution | Random-variate generator | INTEGER*4 | Generates random variates from a discrete uniform distribution using Random Number stream j,
lower_endpoint and upper-endpoint parameter.
INTEGER lower_endpointINTEGER upper_endpoint lower_endpoint <= upper_endpoint |

`RVERL(` |
M-Erlang distribution | Random-variate generator | REAL*8 | Generates random variates from an M-Erlang distribution using Random Number stream j ,
Erlang-type parameter m and scale parameter beta.INTEGER m must be > 0 REAL beta must be > 0.0 |

`RVEVA` |
Extreme Value A distribution | Random-variate generator | REAL*8 | Generates random variates from an extreme value A distribution using Random Number stream j,
location parameter gamma andscale parameter beta.REAL gamma must be > - infinite and < infiniteREAL beta must be > 0.0 |

`RVEVB` |
Extreme Value B distribution | Random-variate generator | REAL*8 | Generates random variates from an extreme value B distribution using Random Number stream j,
location parameter gamma and scale parameter beta.REAL gamma must be > - infinite and < infinite REAL beta must be > 0.0 |

`RVEXPO` |
Exponential distribution. | Random-variate generator | REAL*8 | Generates random variates from an exponential distribution using Random Number stream j
and mean parameter mean REAL mean must be > 0.0 |

`RVGAMA` |
Gamma distribution | Random-variate generator | REAL*8 | Generates random variates from a gamma distribution using Random Number stream j,
shape parameter alpha and scale parameter beta.REAL alpha must be > 0.0 REAL beta must be > 0.0 |

`RVGEO` |
Geometric distribution | Random-variate generator | INTEGER*4 | Generates random variates from a geometric distribution using Random Number stream j
and probability parameter prob. REAL prob must be > 0.0 and < 1.0 |

`RVIGAU` |
Inverse Gaussian distribution. |
Random-variate generator | REAL*8 | Generates random varlates from an inverse Gaussian distributilon using Random Number stream j,
shape parameter alpha and scale parameter beta.REAL alpha must > 0.0 REAL beta must > 0.0 |

`RVIWEIB` |
Inverted Weibull distribution | Random-variate generator | REAL*8 | Generates random variates from an inverted Weibull distribution using Random Number stream j,
shape parameter alpha, scale parameter beta and location parameter gamma.REAL alpha must be > 0.0. REAL beta must be > 0.0. REAL gamma must be > - infinite and < + infinite. |

`RVJSB` |
Bounded-Johnson distribution |
Random-variate generator | REAL*8 | Generates random variates from a Bounded-Johnson distribution using Random Number stream j
and shape parameter alpha1 and alpha2.REAL alpha1 must be > - infinite and < + infinite REAL alpha2 must be > 0.0 |

`RVJSU` |
Unbounded-Johnsondistribution | Random-variate generator | REAL*8 | Generates randam variates from an Unbounded-Johnson distribution using Random Number stream j
and shape parameters alpha1 and alpha2.REAL alpha1 must be > - infinite and < + infinite REAL alpha2 must be > 0.0 |

`RVLAP` |
Laplace distribution | Random-variate generator | REAL*8 | Generates random variates from a Laplace distribution using Random Number stream j,
location parameter gamma and scale parameter beta.REAL gamma must be > - infinite and < + infinite REAL beta must be > 0.0 |

`RVLGTC(` |
Logistic distribution | Random-variate generator | REAL*8 | Generates random variates from a logistic distribution using Random Number stream j,
location parameter gamma and scale parameter beta.REAL gamma must be > - infinite and < + infinite REAL beta must be > 0.0. |

`RVLLP(` |
Log-Laplace distribution | Random-variate generator | REAL*8 | Generates random variates from a log-Laplace distribution using Random Number stream j,
shape parameter alpha and scale parameter beta.REAL alpha must be > 0.0 REAL beta must be > 0.0 |

`RVLNOR(` |
Lognormal distribution | Random-variate generator | REAL*8 | Generates random variates from a Lognormal distribution using Random Number stream j,
mean parameter mean and variance parameter variance.REAL mean must be > 0.0 REAL variance must be > 0.0 |

`RVNBIN` |
Negative Binomial distribution | Random-variate generator | REAL*8 | Generates random variates from a negative binomial distribution using Random Number stream j,
number-of-successes parameter success and probability parameter prob. INTEGER success must be > 0 REAL prob must be > 0.0 and < 1.0 |

`RVNORM` |
Normal distribution | Random-variate generator | REAL*8 | Generates random variates from a normal distribution using Random Number stream j,mean parameter mean,
and standard-deviation Parameter std_dev.REAL mean must be > - infinite and < infinite REAL std_dev must be >= 0.0. |

`RVPSSN` |
Poisson distribution | Random-variate generator | REAL*8 | Generates random variates from a Poisson distribution using Random Number stream j and mean parameter mean. REAL mean must be > 0.0 |

`RVPT5` |
Pearson Type V distribution | Random-variate | REAL*8 | Generates random variates from a Pearson Type V distribution using Randem Number stream j,
shape Parameter alpha and scale parameter beta.REAL alphamust be > 0.0 REAL beta must be > 0.0 |

`RVPT6` |
Pearson Type VI distribution | Random-variate generator | REAL*8 | Generates random variates from a Pearson Type VI distribution using Random Number streamj,
shape parameters alpha1 and alpha2, and scale Parameter beta. REAL alpha1must be > 0.0 REAL alpha2 must be > 0.0 REAL beta must be > 0.0 |

`RVRWK` |
Random-Walk distribution | Random-variate generator | REAL*8 | Generates random variates from a random-walk distribution using Random Number stream j,
shape parameter alpha and scale parameter beta.REAL alpha must be > 0.0 REAL beta must be > 0.0 |

`RVTRI` |
Triangular distribution | Random-variate generator | REAL*8 | Generates random variates from a triangular distribution using Random Number stream j,
minimum value parameter min, mode parameter mode and maximum value parameter maxREAL minREAL modeREAL maxmin <= mode <= max |

`RVUNI` |
Uniform distribution | Random-variate generator | REAL*8 | Generates random variates from a uniform distribution using Randorn Number stream j, mean parameter mean
and spread parameter spread. REAL mean must be > - infinite and < infinite REAL spread must be > - infinite aud < infinite |

`RVWEIB` |
Weibull distribution | Random-variate generator | REAL*8 | Generates random varlates from a Weibull distribution using Random Nurnber stream j, shape parameter alpha
and scale parameter beta.REAL alpha must be > 0.0 REAL beta must be > 0.0 |

`S` |
Units of Storage j currently in use. |
Storage | INTEGER*4 | Rj + Sj =
the capacity of Storage j |

`SA` |
Average contents of Storage j |
Storage | REAL*8 | Automatically maintained by CPSS/H. |

`SC` |
Total number of units to ENTER Storage j. |
Storage | INTEGER*4 | `SC` is incremented each time a Transaction successfully enters an `ENTER` Block.
If a B-operand is specified,`SC` is incremented by the value of the B-operand;
otherwise(the usual case),`SC` is incremented by 1. |

`SE` |
Trueif Storage is currently empty. |
Storage | INTEGER*4 | lf Storage jis currently empty (`S` =0),`SE` has a value of 1;
otherwise,`SE` has a value of 0. |

`SF` |
True if Storage is currently full. | Storage | INTEGER*4 | lf Storage jis currently full(`R` =0), `SF` has a value of 1;
otherwise `SF` has a value of 0. |

`SIN(` |
Sine of xpr |
Math Function | REAL*8 | Angles are measured in radians. |

`SM` |
Maximum contents of Storage. | Storage | INTEGER*4 | |

`SNE` |
True if Storage is not currently empty. | Storage | INTEGER*4 | `SNE` is the logical inverse of `SE` . |

`SNF` |
True if Storage is not currently full. | Storage | INTEGER*4 | `SNF` is the logical inverse of `SF` . |

`SNV` |
True if Storage is not currently available. | Storage | INTEGER*4 | `SNV` is the logical inverse of `SV` . |

`SPU` |
Percentage unavailability for Storage j,expressed in parts per thousand. |
Storage | REAL*8 | |

`SPV` |
Percentage avallability for Storagej, expressed in parts per thousand. |
Storage | REAL*8 | |

`SQRT(` |
Square root of xpr. |
Math Function | REAL*8 | xpr must be non-negative. |

`SR` |
Utilization of Storage j, expressedin parts per thousand. |
Storage | REAL*8 | |

`SRU` |
Average utilization of Storage j while unavailable, expressed in parts per thousand. |
Storage | REAL*8 | |

`SRV` |
Average utilization of Storage j while available, expressed in parts per thousand. |
Storage | REAL*8 | |

`SSG(` ,`SSG(` |
Substring of character string c,from position s to the end of c.
Substring of character string c,starting at position s, extending for a length of l. |
Varying length character string | In its two-operand form, the `SSG SCA` extracts a substring from a character expressionc.
The extracted substring starts at position s of c (numbering is from 1 to the length of the string)
and continues through the end of c. For a detailed description of the `SSG SCA` ,
please refer to Section Abschnitt 3.2:
In its three-operand form, the `SSG SCA` extracts a substring from a character expression c.
The extracted substring is of length l, starting at position s of c(numbering is from 1 to the length of the string). Zero is an allawable length (resuiting in a null string). For a detailed description of the `SSG SCA` , please refer to Section
Abschnitt 3.2. | |

`ST` |
Average time per unit through Storage
j. |
Storage | REAL*8 | |

`SUA` |
Average duration of periods of unavailability of Storage j. |
Storage | REAL*8 | |

`SUN` |
Number of periods of unavailability of Storage j. |
Storage | INTEGER*4 | |

`SUT` |
Total time Storage j was unavailable |
Storage | INTEGER*4 | |

`SV` |
True if Storage j is currently available |
Storage | INTEGER*4 | If Storage j is currently available, `SV`
has a value of 1; otherwise `SV` has a value of 0. A Storage can be made unavailable by using
the `SUNAVAIL` Block. |

`SYM(` |
Returns the name associated with a member of an entity class. | Varying length character string | The primary use of the `SYM SCA` is to label model output. The first operand code specifies
an entity class, and the second operand ixpr specifies the number of a member of that class,
for which the symbolic name is to be determined. If a selected member has no symbolic name, the number of the member
is converted to a character string. The value returned by the `SYM SCA` contains no leading or trailing blanks.
For a listing of allowable code values, see the description of the REALLCATE statement, in Chapter
Tabelle. For a detailed description of the SYM SCA, please refer to
Section 3.3. of Chapter 3. | |

`TAN(` |
Tangent of xpr |
Math Function | REAL*8 | Angles are measured in radians |

`TB` |
The unweighted sample mean for samples recorded in Table j |
Table | REAL*8 | Each time a `TABULATE` Block is executed, the value of the argument and the defauft value of the B-operand (1)
are added. (For Qtables, no TABULATE Block is used.) For a description of how `TB` is computed,
please refer to Section Abschnitt 4.6. |

`TB` |
The weighted sample mean of samples recorded in Table j. |
Table | REAL*8 | For a description of how TBWj is computed, please refer to Section
4.6. |

`TC` |
The unweighted number of observations recorded in Table j |
Table | INTEGER*4 | Each time a `TABULATE` Block with a B-operand is executed, recording an observation in Table j,
a value of 1 is added to `TC` . (For Qtables, no TABULATE Block is used.) |

`TC` |
The weighted number of observations recorded in Tablej. |
Table | INTEGER*4 | Each time a `TABULATE` Block with a B-operand(weight) is executed, recording an observation in Table j,
the value of the B-operand is added to `TC` . (For Qtables, no TABULATE Block is used.) |

`TD` |
The unweighted standard deviation for samples recorded in Table j |
Table | REAL*8 | For a description of how `TD` is computed, please refer to
Chapter 4.6. |

`TDW` |
The weighted standard deviation of samples recorded in Tablej. |
Table | REAL*8 | For a description of how TDWj is computed, please refer to Chapter 4.6. |

`TG1` |
Current value of the Termination Counter | System Attribute | INTEGER*4 | `TG1` is initialized by a `START` control statement. It is (optionally) decremented by `TERMINATE` Block.
When `TG1` goes to zero(or less), a simulation is terminated. |

`V` |
The value of Variable (or Fvariable)j. |
Variable | REAL*8 | Variable j must be defined in a `VARIABLE` or `FVARIABLE` statement.
The value returned is REAL*8for both types. |

`W` |
The number of Transactions currently in Block j. |
Block | INTEGER*4 | `W` is automatically maintained by GPSS/H. It is incremented when a Transaction is "held"
in Block j or is prevented from "escaping" from Block j to some other Block.
Note that `W` is never incremented without first having incremented `N` |

`X` |
The value of Fullword Savevalue j. |
Fullword Savevalue | INTEGER*4 | |

`XB` |
The value of Byte Savevalue j. |
Byte Savevalue | INTEGER*1 | |

`XF` |
The value of Fullword Savevalue j |
Fullword Savevalue | INTEGER*4 | |

`XH` |
The value of Halfword Savevalue j |
Halfword Savevalue | INTEGER*2 | |

`XID1` |
The ID number of the current Transaction. | System Attribute, Transaction Attribute | INTEGER*4 | Most forms of GPSS/H output which include Transactions, identify the Transactions using Transaction `XID1`
numbers; hence, Transaction ID numbers can be very useful for debugging purposes.
For example, the ID number of the most recent Transaction to render a Facility unavailable could be stored
in a Savevalue. (GPSS/H does not automatically record this information.) |

`XL` |
The value of Floating point Savevaluej. |
Floating point Savevalue | REAL*8 |

Last Modified | Fri 05-27-11 06:54 GMT | |

English Translation: | Andreas Pescholl/ Frank Hohle |

Comments please to:pelosim@yahoo.com