View previous topic :: View next topic |
Author |
Message |
gmuralik Beginner
Joined: 23 May 2007 Posts: 4 Topics: 1
|
Posted: Thu May 24, 2007 1:41 am Post subject: Opening a SSH from JCL |
|
|
Hello Group, This is my first posting here and hope to get to help from all this group.
Wehave a set of JCL's running in Mainframe environment that kicks
SQR to run and send output to SAR. Now we wanted to design such
that JCL to call a Secure Unix Shell, The Shell should execute
in Unix box. My questions is
Do we need to enable connectivity between Mainframe to Unix?
How do we call a Secure Shell from JCL and any Daemon setup required before calling Secure Shell?
is rexec command to call a Shell script is secured?
Any documentation or sample code would be greatly appreciated.
Thanks in advance |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu May 24, 2007 5:43 am Post subject: |
|
|
gmuralik,
BPXBATCH is an MVS utility that you can use to run shell commands or shell
scripts and to run executable files through the MVS batch environment. You
can invoke BPXBATCH:
* In JCL
* From the TSO/E READY prompt
* From TSO CLISTs and REXX execs
* From a program
Check this link for documentation
http://www.duemig.de/Dokumente/BPXBatch.pdf
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu May 24, 2007 7:55 am Post subject: |
|
|
qmuralik,
The UNIX box is a separate machine and not just UNIX under MVS?
We do this with OPC job scheduler and UNIX machine defined a remote workstation. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
gmuralik Beginner
Joined: 23 May 2007 Posts: 4 Topics: 1
|
Posted: Thu May 24, 2007 8:28 am Post subject: |
|
|
Kolusu, i read that using BPXBATCH can only call Unix or Shell commands with in Mainframe Unix System services. I need to know to how to run Unix shell Scirpts via SSH from JCL? |
|
Back to top |
|
 |
gmuralik Beginner
Joined: 23 May 2007 Posts: 4 Topics: 1
|
Posted: Thu May 24, 2007 8:29 am Post subject: |
|
|
Can you give more details about OPC? |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu May 24, 2007 10:34 am Post subject: |
|
|
run a Unix script that invokes SSH and call that script from BPXBATCH |
|
Back to top |
|
 |
gmuralik Beginner
Joined: 23 May 2007 Posts: 4 Topics: 1
|
Posted: Thu May 24, 2007 11:39 am Post subject: |
|
|
Thanks semigeezer, Do you have any sample code? |
|
Back to top |
|
 |
|
|