Required memory sizes for the Receive program


[Content revised from the 8th edition]

Date of Revision

Description
March 5, 2024 Added as new section

 

This section explains how to calculate the required memory sizes for the HULFT Receive program.

The calculation formula differs depending on the storage area where the code conversion table is loaded.

The storage area where the code conversion table is loaded is specified in Storage for Code Conversion Table (CODE-CONVERSION-LOCATION) in the System Environment Settings file ((HULFT.PARMLIB(HULPRM)).

For details, refer to Administration Manual.

Note

The calculations shown here are intended to serve as a guide. Calculated memory sizes and the actual memory sizes may differ depending on the system environment in use.

(1) When loading the code conversion table into a "31-bit storage area"

Use the formulas shown below to calculate the required memory sizes for the Receive program (unit: KB).

 

Formula for the below-the-line storage

Required memory size for the Receive program in the below-the-line storage = a + b + c

 

Formula for the above-the-line storage

Required memory size for the Receive program in the above-the-line storage = d + e + f

The below tables show the calculations for the substituted values.

Table D.7 Substituted Values in Calculation for Below-the-Line Storage

 

 

Below-the-line storage

Remarks

a

Startup

224KB

Fixed value

b

I/O buffers for receive files

0KB

 

c

Transfer

(Number of receiving-side transferring instances executed simultaneously x 6KB) + 140KB

 

Table D.8 Substituted Values in Calculation for Above-the-Line Storage

 

 

Above-the-line storage

Remarks

d

Startup

6,480KB

Fixed value

e

I/O buffers for receive files

b1 x b2 x b3

 

b1

Number of receiving-side transferring instances executed simultaneously

 

b2

I/O Buffer Count for Receiving (RCVBNO)

 

b3

Block size of the receive files

 

f

Transfer

Number of receiving-side transferring instances executed simultaneously x 488KB

 

 

Calculation example

In the case of the following values, calculate the required memory sizes for the Receive program as shown below.

Table D.9 Values for this Calculation Example

Field

Value

Number of receiving-side transferring instances executed simultaneously

4

I/O Buffer Count for Receiving (RCVBNO) 5

Block size of the receive files

32KB

Required memory size for the Receive program (below-the-line storage)

 

a: 224KB

b: 0KB

c: ((4 x 6) + 140)KB

Required memory size for the Receive program (above-the-line storage)

 

d: 6,480KB

e: (4 x 5 x 32)KB

f: (4 x 488)KB

 

The above calculations result in the following required memory sizes for the Receive program:

Required memory size in the below-the-line storage: a + b + c = 388KB

Required memory size in the above-the-line storage: d + e + f = 9,072KB

 

(2) When loading the code conversion table into a "64-bit storage area"

Use the formulas shown below to calculate the required memory sizes for the Receive program (unit: KB).

 

Formula for the below-the-line storage

Required memory size for the Receive program in the below-the-line storage = a + b + c

 

Formula for the above-the-line storage

Required memory size for the Receive program in the above-the-line storage = d + e + f

The below tables show the calculations for the substituted values.

Table D.10 Substituted Values in Calculation for Below-the-Line Storage

 

 

Below-the-line storage

Remarks

a

Startup

224KB

Fixed value

b

I/O buffers for receive files

0KB

 

c

Transfer

(Number of receiving-side transferring instances executed simultaneously x 6KB) + 140KB

 

Table D.11 Substituted Values in Calculation for Above-the-Line Storage

 

 

Above-the-line storage

Remarks

d

Startup

2,084KB

Fixed value

e

I/O buffers for receive files

b1 x b2 x b3

 

b1

Number of receiving-side transferring instances executed simultaneously

 

b2

I/O Buffer Count for Receiving (RCVBNO)

 

b3

Block size of the receive files

 

f

Transfer

Number of receiving-side transferring instances executed simultaneously x 488KB

 

 

Calculation example

In the case of the following values, calculate the required memory sizes for the Receive program as shown below.

Table D.12 Values for this Calculation Example

Field

Value

Number of receiving-side transferring instances executed simultaneously

4

I/O Buffer Count for Receiving (RCVBNO) 5

Block size of the receive files

32KB

Required memory size for the Receive program (below-the-line storage)

 

a: 224KB

b: 0KB

c: ((4 x 6) + 140)KB

Required memory size for the Receive program (above-the-line storage)

 

d: 2,084KB

e: (4 x 5 x 32)KB

f: (4 x 488)KB

 

The above calculations result in the following required memory sizes for the Receive program:

Required memory size in the below-the-line storage: a + b + c = 388KB

Required memory size in the above-the-line storage: d + e + f = 4,676KB