KB Article #176964

How to set the NFNAME to Transfer in OPEN mode from USS to zFS filesystem

Problem

How to set the NFNAME to Transfer in OPEN mode from USS to zFS filesystem

CFT mode=open when USS(z/FS) to z/FS

Resolution

To use the CFT OPEN mode (use of NFNAME), when sender and receiver are transferring USS file (H/FS , z/FS), the FNAME on the receiver side must be protected to keep the character case of the NFNAME that is sensitive.

Also, because a non existing directory will not be created, the 'directory char protect' may have to be used.


Example:

SEND PART = MyPatner,

IDF = TXTOPEN,

FNAME = '"/home/cft/MyFile.txt"', (quote + double quote to keep the case)

NFNAME = '/home/+mydir/&IDT' (case is kept without the double quote)



CFTRECV ID = TXTOPEN,

FNAME = '"&NFNAME"', (quote + double quote to keep the case)


Single quote then double quotes are used to protect the character's case, the char directory protect ('+' char by default, see UCONF file if the default needs to be changed) is also used so if mydir does not exist, it will be created.

The double quote are used at FNAME level when the character case needs to be kept as is (no upper-case convertion)