Discussion:
Trying to set RECFM and LRECL when sending files to a mainframe
d***@gm.com
2013-04-23 19:34:43 UTC
Permalink
Does anyone know the correct syntax for setting the LRECL and RECFM for a
file being sent to the mainframe from Linux via lftp?
I've tried a number of different combinations and cannot get it to work.
It doesn't complain about it but it just gets the default of LRECL=80 on
the mainframe.
I don't do a lot of work on the mainframe so I'm hoping someone can help
me.

Thanks in advance.

Doug Freeman

Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.
Alexander V. Lukyanov
2013-04-23 20:06:04 UTC
Permalink
Post by d***@gm.com
Does anyone know the correct syntax for setting the LRECL and RECFM for a
file being sent to the mainframe from Linux via lftp?
I've tried a number of different combinations and cannot get it to work.
It doesn't complain about it but it just gets the default of LRECL=80 on
the mainframe.
I don't do a lot of work on the mainframe so I'm hoping someone can help
me.
I don't know what LRECL and RECFM are, but I think setting them can be
possible by using "site" command. Try "site help" for a start.
--
Alexander.
d***@gm.com
2013-04-24 14:58:22 UTC
Permalink
I tried using the site command but get this error:

site: Operation not supported


Doug Freeman



From: "Alexander V. Lukyanov" <***@netis.ru>
To: ***@gm.com,
Cc: ***@uniyar.ac.ru
Date: 04/23/2013 04:07 PM
Subject: Re: [lftp] Trying to set RECFM and LRECL when sending
files to a mainframe
Post by d***@gm.com
Does anyone know the correct syntax for setting the LRECL and RECFM for a
file being sent to the mainframe from Linux via lftp?
I've tried a number of different combinations and cannot get it to work.
It doesn't complain about it but it just gets the default of LRECL=80 on
the mainframe.
I don't do a lot of work on the mainframe so I'm hoping someone can help
me.
I don't know what LRECL and RECFM are, but I think setting them can be
possible by using "site" command. Try "site help" for a start.
--
Alexander.



Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.
Alexander V. Lukyanov
2013-04-25 07:38:08 UTC
Permalink
I am using the sftp feature of lftp.
I don't think it is possible to do with sftp. The site command could be useful
in case of plain ftp.
--
Alexander.
Loading...