How can you specify a long filename more than 80 bytes long and eventually containing blanks when transferring from z/OS to other platforms?
When transferring a file from XCOM for z/OS to another platform it may happen that and the filename does not fit into the line limitation of 80 bytes in SYSIN01.
You can use the continuation character '+' to split the name into two lines and start the next line in columns 2 through 16.
Take special care if the file name also contains blanks.
Let's assume the name of the destination file for a transfer is:
C:\Documents and Settings\Example\My Documents\This is a very long file name.txt
FILE="C:\Documents and Settings\+ Example\+ My Documents\+ This is a very long file name.txt"XCOMM0106E FILE= END QUOTE MISSING OR INVALID LENGTHXCOMM0105E Examp... DATA INVALIDXCOMM0105E My Documen... DATA INVALIDXCOMM0105E This is a... DATA INVALIDXCOMM0116E REQUEST FAILED DUE TO ERRORSFILE="C:\Documents and Settings\Example\"+ "My Documents\This is a very long file name.txt"
This example will work, too:FILE="C:\Documents and Settings\"+ "Example\"+ "My Documents\"+ "This is a very long file name.txt"