NDM Transfer Problem

The 'YY' is followed by a tiny square, which I could not figure out how to copy, bit I believe is a carriage return character.


We suspect that using a SYSOPTS='DATATYPE(ACSII)' would send the data correctly. Can someone verify that? And do you have an example that I might use?

I neglected to mention that if using the mainframe FTP transfer manually, the file transfers perfectly.

Quote:

datatype(text|binary) specifies the type of data contained within the file.
text indicates it is a text file and that trailing blanks will be stripped unless you specify strip.blanks(no). Translation of the data is performed unless you also specify xlate(no). The default is text for all nodes, except Windows nodes.

strip.blanks(yes | no) determines whether trailing blank characters at the end of each record are removed from a line of text before it is written to the Windows text file.

Note: The strip.blanks parameter is ignored when datatype(binary) is specified.

yes removes trailing blank characters. The default is yes.

no does not remove trailing blank characters. The default is no for Windows.

strip.oneable(yes | no) strips ^Z from the end of old DOS files. If this character is not stripped from old DOS files, Connect:Direct Windows translates ^Z into 3F when files are sent to the snode.
yes removes ^Z from the end of old DOS files.
no does not remove ^Z from the end of old DOS files. The default is no.

xlate(no | yes) indicates whether character translation should be performed using the default or user-supplied translation table. Typically, this translation is between ASCII and EBCDIC.

no specifies the translation should not be performed. The default for Windows is no.

I simply need to add a CR/LF at the end of each record from within my COBOL program. It seems to me that I have done this before, maybe 20 years ago but, I cannot remember how. Can someone tell me how to define a CR/LF at the end of each record?