You must use stream mode (MODE S) and file structure (STRUCT F) when transferring files in the root, QOpenSys, QLANSrv, QDLS, and QOPT file systems.
Root, QOpenSys, QDLS, and QOPT files can exist in any valid code page. Files transferred to the QLANSrv file system are tagged with the code page defined for the network server description corresponding to the directory containing that file.
Data conversion and CCSID assignments vary depending on the transfer TYPE used. You might want to refer to CCSID code page tagging for iSeries™ files. TYPE E is not supported for the QLANSrv file system.
When appending data to an existing file, the CCSID tag of that file is not changed. When appending data to an existing file using TYPE A, the data is converted to the code page of that file.