IBM CDI5UG1107 Computer Accessories User Manual


 
Sending a File 41
Because the blocksizes match, the block mode copy occurs.
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.
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.
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.
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: receiving
request: source blksize=not specified; dest blksize = 3200
srce file: lrecl=80, (on another C:D i5 3.3 node)
dest file: NEW
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
C:D i5: sending
request: source blksize=6400; dest blksize = not specified;
srce file: lrecl=80
dest file: NEW (on z/OS)
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)
C:D i5 sending and receiving
request: source blksize=not specified; dest blksize=not specified
srce file: lrecl=32720
dest file: new