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

Send JCL from Unix to MVS using SCP


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

New User


Joined: 06 Jun 2006
Posts: 8

PostPosted: Tue Apr 21, 2009 2:12 pm
Reply with quote

Hi,

I'm trying to send a JCL from Unix to Mainframes using SCP. The current process uses FTP to achieve this.
There are 2 parts to the process in our current environment using FTP
1) Transfer file from Unix to MVS dataset
2) Send JCL to JES Internal reader to trigger futher job

I have been able to do the first one using SCP.
For the second part i.e. sending JCL to JES through SCP, not able to find comparable command.

Current sample used with FTP:
QUOTE SITE FILETYPE=JES
put SCPJOB.TXT

The .TXT file is the JCL to be submitted.

Could anyone suggest how to do this with SCP or any pointers to some documents?

Thanks.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 21, 2009 3:42 pm
Reply with quote

IBM Ported Tools for z/OS User's Guide.
Back to top
View user's profile Send private message
pravle

New User


Joined: 06 Jun 2006
Posts: 8

PostPosted: Thu Apr 30, 2009 4:57 pm
Reply with quote

Thanks Kevin. Based on that manual I reached another link
www-03.ibm.com/servers/resources/servers_eserver_zseries_zos_unix_pdf_docs_fotza105.pdf
Following example specify how to do SSH copy

- Copying from the z/OS UNIX file system to a PDS: ssh user@test.com "cp ssh.log \"//’USER.SSH.LOG(LOG1)’\" "

- Copying from the z/OS UNIX file system to a sequential data set: ssh user@test.com "cp ssh.log \"//’USER.SSH.LOG2’\" "

As can be seen, these are used to copy PDS member or sequential data set to MVS.

Like FTP has following way to send to Z/OS internal reader like
site filetype=JES
And then firing put command sends it to internal reader.
Is there similar command through SSH where it can transfer to JES?
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 Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts help send file AFT CONTROLM EM IBM Tools 0
No new posts how to send 10 rows at a time to output CICS 2
Search our Forums:

Back to Top