Discussion:
FTP from MVS to ASCII server without CRLF
(too old to reply)
Gilbert Saint-Flour
2005-11-13 17:49:57 UTC
Permalink
Hello:

My customer has a requirement to send MVS data sets to an ASCII
environment without CRLF. I haven't found an option in the z/OS FTP
client to prevent it from generating a CRLF sequence when it converts
records from EBCDIC to ASCII. The FTP client in VSE allows it via the
LOCSITE CRLF OFF command. Is there an equivalent in the MVS world?
Thank you for your help.

--
Gilbert Saint-Flour
GSF Software
http://gsf-soft.com

----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO IBMTCP-L
Steven St.Jean
2005-11-14 13:50:10 UTC
Permalink
Gilbert,

The function your customer wants is introduced in z/OS 1.7. This is from
z/OS V1R7.0 Comm Server: New Function Summary:

"z/OS V1R7 Communications Server adds the capability to specify an alternate
end of line (EoL) sequence for outbound ASCII file transfers. The default
EoL sequence is a carriage return followed by line feed (<crlf>) as
specified by RFC 959, File Transfer Protocol. ... You can configure the EoL
sequence with FTP.DATA statements SBSENDEOL and MBSENDEOL, and with site and
locsite subcommand parameters SBSENDEOL and MBSENDEOL. Supported values
for SBSENDEOL and MBSENDEOL are CRLF (carriage return followed by line feed,
the default and RFC 959 standard), CR (carriage return only), LF (line feed
only), and NONE (no line terminator)."

An ascii transfer with SITE SBSENDEOL=NONE will do the EBCDIC-to-ASCII
translation without adding the <CRLF>s.

Steven St.Jean
Senior Developer
Software Diversified Services
http://www.sdsusa.com
-----Original Message-----
Behalf Of Gilbert Saint-Flour
Sent: Sunday, November 13, 2005 12:50 PM
Subject: FTP from MVS to ASCII server without CRLF
My customer has a requirement to send MVS data sets to an
ASCII environment without CRLF. I haven't found an option in
the z/OS FTP client to prevent it from generating a CRLF
sequence when it converts records from EBCDIC to ASCII. The
FTP client in VSE allows it via the LOCSITE CRLF OFF command.
Is there an equivalent in the MVS world?
Thank you for your help.
--
Gilbert Saint-Flour
GSF Software
http://gsf-soft.com
----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access
message: INFO IBMTCP-L
----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO IBMTCP-L
Meehan, Cheryl
2005-11-14 13:53:55 UTC
Permalink
I looked for this functionality in Z/os 1.4, and couldn't find it. It
used to be present in the older TCPIP V3.2, with a
NOCRLF as part of the LOCsi command


-----Original Message-----
From: IBM TCP/IP List [mailto:IBMTCP-***@VM.MARIST.EDU] On Behalf Of
Steven St.Jean
Sent: Monday, November 14, 2005 8:50 AM
To: IBMTCP-***@VM.MARIST.EDU
Subject: Re: [IBMTCP-L] FTP from MVS to ASCII server without CRLF

Gilbert,

The function your customer wants is introduced in z/OS 1.7. This is
from z/OS V1R7.0 Comm Server: New Function Summary:

"z/OS V1R7 Communications Server adds the capability to specify an
alternate end of line (EoL) sequence for outbound ASCII file transfers.
The default EoL sequence is a carriage return followed by line feed
(<crlf>) as specified by RFC 959, File Transfer Protocol. ... You can
configure the EoL sequence with FTP.DATA statements SBSENDEOL and
MBSENDEOL, and with site and locsite subcommand parameters SBSENDEOL and
MBSENDEOL. Supported values for SBSENDEOL and MBSENDEOL are CRLF
(carriage return followed by line feed, the default and RFC 959
standard), CR (carriage return only), LF (line feed only), and NONE (no
line terminator)."

An ascii transfer with SITE SBSENDEOL=NONE will do the EBCDIC-to-ASCII
translation without adding the <CRLF>s.

Steven St.Jean
Senior Developer
Software Diversified Services
http://www.sdsusa.com
-----Original Message-----
Gilbert Saint-Flour
Sent: Sunday, November 13, 2005 12:50 PM
Subject: FTP from MVS to ASCII server without CRLF
My customer has a requirement to send MVS data sets to an ASCII
environment without CRLF. I haven't found an option in the z/OS FTP
client to prevent it from generating a CRLF sequence when it converts
records from EBCDIC to ASCII. The FTP client in VSE allows it via the
LOCSITE CRLF OFF command.
Is there an equivalent in the MVS world?
Thank you for your help.
--
Gilbert Saint-Flour
GSF Software
http://gsf-soft.com
----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access instructions, send
message: INFO IBMTCP-L
----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access instructions, send
email to ***@VM.MARIST.EDU with the message: INFO IBMTCP-L

----------------------------------------------------------------------
For IBMTCP-L subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO IBMTCP-L
Loading...