Previous Topic: SELECT Statement

Next Topic: SORT Statement


SNARATE Statement

This optional statement lets you charge for remote line utilization (SNA lines only).

The SNARATE utilizes the same Basic Account and output Data Elements as indicated for RJE records.

The set codes are optional. A blank in position 1 means the statement is used on all reports.

The SNARATE statement generates charges in either (or both) of two ways: as surcharges saved for remote line utilization, added to the other charges for all batch jobs which were submitted from and/or routed to an SNA terminal; as SNA session charges based on the statistics in SNA line utilization account records.

Job surcharges are calculated using the time and record rates as follows:

RJE Charge/APPC Charge  =   (Time Rate x (Reader Duration   +
                                          Printer Duration  +
                                          Punch Duration))  +
                            (Record Rate x (Statements Read +
                             Lines Printed                  +
                             Statements Punched))  /1000

SNA session charges are calculated using the connect and transmission rates as follows:

RJE Charge/APPC Charge =   (RJE Connect Time x Connect Rate)  +
                           (RJE Transmission Count            x
                           Transmission Rate)           / 1000

If a minimum session charge is specified, it is used if it is greater than the computed SNA charge. If job name and user information data are provided, they are placed in the job name and user information account record fields, respectively.

The following example illustrates a typical use of the SNARATE statement:

position   1         2         3         4         5                 8
  1........0.........0.........0.........0.........0....          ...0
  ASNARATE XSNALINEA          00050001500750

On Report A, the CPU ID is X. The remote line name is SNALINEA. Users are charged $5.00/hour of connect time, plus $1.50/1000 records transferred. Minimum charge is $7.50. There are no rates for job surcharges.

Note: For JES3 users, the SNARATE now allows charging for SNA lines. For the job surcharges, SNARATE and RJERATE are handled identically.

Position

Field Length

Field Name

Notes

1

1

Set Code

Optional

2-9

8

Statement Type

SNARATE

10

1

CPU Identification

 

11-18

8

Line Name

Remote line ID

19-24

6

Time Rate#

9999V99; dollars per hour of input/output duration

25-28

4

Record Rate#

99V99; dollars per 1000 u/r counts

29-34

6

Connect Rate*

9999V99; dollars per hour of connect time

35-38

4

Transmission Rate*

99V99; dollars per 1000 records transferred

39-42

4

Minimum Session Charge*

99V99; dollars

43-50

8

Job Name

The contents (if not spaces) will be moved to the corresponding account record fields in RJE line utilization account records.

51-66

16

User Information

The contents (if not spaces) will be moved to the corresponding account record fields in RJE line utilization account records.

67-80

14

Reserved

Not used

# These rates are applied to batch job records for jobs submitted from and/or routed to an RJE terminal.

* These rates are applied to RJE line utilization account records.