View previous topic :: View next topic
|
Author |
Message |
pravle
New User
Joined: 06 Jun 2006 Posts: 8
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
pravle
New User
Joined: 06 Jun 2006 Posts: 8
|
|
|
|
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 |
|
|
|