Required memory sizes for the Send 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 Send 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.

  • The formulas assume that the block size of send files is "32760".

(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 Send program (unit: KB).

 

Formula for the below-the-line storage

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

 

Formula for the above-the-line storage

Required memory size for the Send program in the above-the-line storage = e + f + g + h

The below tables show the calculations for the substituted values.

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

 

 

Below-the-line storage

Remarks

a

Startup

520KB

Fixed value

b

Send startup tasks

Send Startup Task Count (TASK-CNT) x 8KB

 

c

I/O buffers for send files

0KB

 

d

Work File Transfer

0KB

 

Direct Transfer

0KB

 

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

 

 

Above-the-line storage

Remarks

e

Startup

2,842KB

Fixed value

f

Send startup tasks

Send Startup Task Count (TASK-CNT) x 240KB

 

g

I/O buffers for send files

Number of sending-side transferring instances executed simultaneously x I/O Buffer Count for Sending (SNDBNO) x 32KB

 

h

Work File Transfer

(Number of sending-side transferring instances executed simultaneously x 256KB) + 128KB

 

Direct Transfer

(Number of sending-side transferring instances executed simultaneously x 480KB) + 164KB

 

 

Calculation example

If files are sent using only Work File Transfer with the following values, calculate the required memory sizes for the Send program as shown below.

Table D.3 Values for this Calculation Example

Field

Value

Send Startup Task Count (TASK-CNT)

4

I/O Buffer Count for Sending (SNDBNO)

5

Number of sending-side transferring instances executed simultaneously

4

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

 

a: 520KB

b: (4 x 8)KB

c: 0KB

d: 0KB

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

 

e: 2,842KB

f: (4 x 240)KB

g: (4 x 5 x 32)KB

h: ((4 x 256) + 128)KB

 

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

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

Required memory size in the above-the-line storage: e + f + g + h = 5,594KB

 

(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 Send program (unit: KB).

 

Formula for the below-the-line storage

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

 

Formula for the above-the-line storage

Required memory size for the Send program in the above-the-line storage = e + f + g + h

The below tables show the calculations for the substituted values.

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

 

 

Below-the-line storage

Remarks

a

Startup

520KB

Fixed value

b

Send startup tasks

Send Startup Task Count (TASK-CNT) x 8KB

 

c

I/O buffers for send files

0KB

 

d

Work File Transfer

0KB

 

Direct Transfer

0KB

 

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

 

 

Above-the-line storage

Remarks

e

Startup

2,064KB

Fixed value

f

Send startup tasks

Send Startup Task Count (TASK-CNT) x 240KB

 

g

I/O buffers for send files

Number of sending-side transferring instances executed simultaneously x I/O Buffer Count for Sending (SNDBNO) x 32KB

 

h

Work File Transfer

(Number of sending-side transferring instances executed simultaneously x 256KB) + 128KB

 

Direct Transfer

(Number of sending-side transferring instances executed simultaneously x 512KB) + 80KB

 

 

Calculation example

If files are sent using only Work File Transfer with the following values, calculate the required memory sizes for the Send program as shown below.

Table D.6 Values for this Calculation Example

Field

Value

Send Startup Task Count (TASK-CNT)

4

I/O Buffer Count for Sending (SNDBNO)

5

Number of sending-side transferring instances executed simultaneously

4

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

 

a: 520KB

b: (4 x 8)KB

c: 0KB

d: 0KB

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

 

e: 2,064KB

f: (4 x 240)KB

g: (4 x 5 x 32)KB

h: ((4 x 256) + 128)KB

 

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

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

Required memory size in the above-the-line storage: e + f + g + h = 4,816KB