View previous topic :: View next topic
|
Author |
Message |
yuvan
New User
Joined: 10 Jan 2006 Posts: 23 Location: India
|
|
|
|
Hi Team ,
We are asked to change the FTP process which is running from Mainframe to Unix to SFTP .
We are using Co:Z SFTP to SFTP the files to Linux server.
I came across a FTP card which FTPs a file to Unix server in binary mode.
EZA1736I BINARY
EZA1701I >>> TYPE I
200 Switching to Binary mode.
EZA1460I Command:
EZA1736I locsite sbd=(ibm-037,iso8859-1)
Need to change this card to SFTP .
lzopts="mode=binary"
but is there any option for locsite sbd=(ibm-037,iso8859-1) in SFTP (Co:Z SFTP)
I tired to SFTP without any options for locsite with binary mode , when i check the file in Unix Server , I got below message
"/dnbusr1/fpcuser/data7/XXX.XXXXSHT.A0122519.XA622A.VEQ: International EBCDIC text, with very long lines, with no line terminators" |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Go ask the person/group who gave this task for the relevant doumentation. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
lzopts clientcp and servercp options are used for specifying code pages.
Co:Z SFTP will use only iconv() if you use _ in the beginning of the codepage name, which is the same as SBD command in FTP.
Userguide
dovetail.com/docs/sftp/sftp-doc.pdf
Co:Z SFTP is not a CA product |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
I have not done this, I would attempt
Code: |
lzopts clientcp=IBM-037,servercp=ISO8859-1,mode=binary
or
lzopts clientcp=_IBM-037,servercp=_ISO8859-1,mode=binary |
|
|
Back to top |
|
|
yuvan
New User
Joined: 10 Jan 2006 Posts: 23 Location: India
|
|
|
|
Thanks for the reply ,
I used this
lzopts clientcp=IBM-037,servercp=ISO8859-1,mode=binary
working fine .
One more question.
before SFTP , we used to FTP to push mainframe jobs from Unix end
open server.com
USERID
password
SITE FILEtype=JES
put seljcl.txt
Once i put the jcl in Unix environment , it throws below message .
227 Entering Passive Mode (158,158,80,176,36,114)
125 Sending Job to JES internal reader FIXrecfm 80
250-It is known to JES as JOB24393
250 Transfer completed successfully.
897 bytes sent in 7e-05 secs (12814.28 Kbytes/sec)
it gives the job id for later reference in Unix
250-It is known to JES as JOB24393
How to get the JOBID(job number) when using SFTP .
When I do SFTP , it only gives below message
sftp> put seljcl.txt myjob
Uploading seljcl.txt to //-JES.INTRDR/myjob
seljcl.txt 100% 884 39.5KB/s 00:00
sftp>
Please help |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
1 - use the code tags when presenting code, data,anything from your screen, anything requiring a fixed pitch font
2 - New question, new topic.
3 - Locked. |
|
Back to top |
|
|
|