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

FTP to SFTP for JCL submission from Mainframe


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yuvan

New User


Joined: 10 Jan 2006
Posts: 23
Location: India

PostPosted: Tue Dec 31, 2019 12:22 pm
Reply with quote

Our requirement is to convert FTP to SFTP . We use FTP to submit JCLS through JES and when we push the JCLs through FTP , it returns with Jobid and return code .

for FTP :

open server.com
USERID
password
SITE FILEtype=JES
put seljcl.txt


But with SFTP

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 jcl1.txt myjob
Uploading jcl1.txt to //-JES.INTRDR/myjob
seljcl.txt 100% 884 39.5KB/s 00:00
sftp>


We use Coz product for SFTP.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1693
Location: Tiruppur, India

PostPosted: Tue Dec 31, 2019 2:33 pm
Reply with quote

Hello, I guess there is no way to get the job ID using Co:Z.
Your best bet is to email Dovetail systems and ask them yourself.

They have a forum on their site, you could also ask them there. They are pretty helpful
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Negative dependency between jobs in m... COBOL Programming 12
No new posts Looking for Mainframe programmers Mainframe Jobs 0
No new posts access Mainframe from .net application All Other Mainframe Topics 0
No new posts How to determine TLS/SSL version in m... TSO/ISPF 2
No new posts Mainframe developer resources/communi... COBOL Programming 2
Search our Forums:

Back to Top