On Mon, 9 Dec 2019 12:29:17 +0000, Denis wrote:

>I had the same issue, because the mainframe is not allowed to access anything 
>outside. So git clone does not work.I used git clone on windows, did an ascii 
>ftp upload to a z/OS HFS and then used the cp -F lf -U -M ZIGI.V1R3.PANELS/* 
>//'HLQ.ZIGI.V1R3.PANELS' command to copy. You need to tailor it to suit your 
>needs and do the same for EXEC.The -F lf is required because the records are 
>x'25' delimited. The quote site did not work for me either, I also tried 
>SBSENDEOL=LF, which did not work too.
>
??

How ever did you get there?

The network standard delimiter is x'0D0A'

The Windows delimiter is also x'0D0A'.  Windows FTP makes no change to that.

The UNIX/Linux delimiter is x'0A'.  Their FTP software converts to/from
network standard.

The z/OS delimiter is x'15'.  z/OS FTP converts to/from network standard.

--gil




>Hope it helps, Denis.
>
>-----Original Message-----
>From: Prashant Joshi3 <[email protected]>
>To: IBM-MAIN <[email protected]>
>Sent: Mon, Dec 9, 2019 9:36 am
>Subject: GIT z/OS - ftp to mainframe - record length issue
>
>Hello all,
>
>I am trying to ftp GIT package from windows to z/OS. Some of the files are
>FTPed ok but many of them lost the record length. Instead of multiline
>files it ftped as single line (single record).
>I opened file in window and those appeared normal text. Some are html, VB
>script code. I used ASCII while doing FTP.
>I also used SITE parm for CTRLF, Record length, blocksize but still no
>help.
>
>Anybody has experienced same issue? any solution?
>
>
>Thank you.
>Prashant Joshi
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to