Sending a File

41

™Because the blocksizes match, the block mode copy occurs.

C:D

i5:

receiving

dest blksize = 3200

request:

source blksize=not specified;

srce

file:

lrecl=80, (on another C:D i5

3.3 node)

dest

file:

NEW

 

CDRCV Example—Specifying Source File Blocksize

In the second example, the following occurs:

™Sterling Connect:Direct for i5/OS calculates the simulated blocksize at 3200 because the destination file is new and the source file specifies a blocksize.

™The receiving node uses the existing destination file blocksize of 3200.

™A block mode transfer occurs because the blocksizes match.

C:D i5: receiving

request: source blksize=not specified;dest blksize = not specified;

srce file: lrecl=80, blksize=3200 (on z/OS node)

dest file: NEW

CDSND Examples—Simulating Blocksize

In the third example, the following events occur:

™Sterling Connect:Direct for i5/OS sets the simulated blocksize at 6400 from the request.

™The receiving node creates the destination file using source file attributes of blksize=6400.

™Because the file attributes match, the block mode transfer occurs.

C:D

i5:

sending

request:

source blksize=6400; dest blksize = not specified;

srce

file:

lrecl=80

dest

file:

NEW (on z/OS)

CDSND Examples—Setting Actual Blocksize

In the fourth example, the following events occur:

™The remote node sets the destination file blocksize to 3200, the actual blocksize of the destination file.

™Sterling Connect:Direct for i5/OS calculates the simulated blocksize at 3200.

™The blocksizes are identical, so block mode transfer occurs.

C:D i5: sending

request: source blksize=not specified; dest blksize = not specified;

srce file: lrecl=80

dest file: existing: lrecl=80, blksize=3200 (on z/OS)

CDSND and CDRCV Example

In the fifth example, Sterling Connect:Direct for i5/OS calculates the simulated blocksize at 32720 because the copy is between two Sterling Connect:Direct for i5/OS nodes.

C:D i5 sending and receiving

request: source blksize=not specified; dest blksize=not specified

srce file: lrecl=32720

dest file: new

Page 41
Image 41
IBM CDI5UG1107 manual Cdrcv Example-Specifying Source File Blocksize