IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SFTP Locsite - Co:Z SFTP


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
yuvan

New User


Joined: 10 Jan 2006
Posts: 23
Location: India

PostPosted: Thu Dec 26, 2019 2:21 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Dec 26, 2019 3:39 pm
Reply with quote

Go ask the person/group who gave this task for the relevant doumentation.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Dec 27, 2019 12:12 am
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Dec 27, 2019 12:24 am
Reply with quote

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
View user's profile Send private message
yuvan

New User


Joined: 10 Jan 2006
Posts: 23
Location: India

PostPosted: Fri Dec 27, 2019 12:12 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Dec 27, 2019 3:40 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts How do I SFTP a ADRDSSU file from mai... IBM Tools 4
No new posts SFTP replacement for LOCSITE ASA in FTP All Other Mainframe Topics 7
No new posts How to remove remote file older than ... All Other Mainframe Topics 4
No new posts Issue in SFTP a file All Other Mainframe Topics 1
Search our Forums:

Back to Top