View previous topic :: View next topic |
Author |
Message |
jai79 Beginner
Joined: 22 May 2007 Posts: 8 Topics: 3
|
Posted: Wed May 23, 2007 5:21 am Post subject: Connecting to Unix from Mainframe |
|
|
We tried invoking Unix Shell script using rexec command. Below is the parameters that we used in a sample JCL.
rexec -l {UserID} -p {Password} -s {Port number} UserID@Hostname
We receive the following error message, can anyone help it out?
rexecd: 0826-604 The login is not correct.
any help would be greatly appreciated. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 23, 2007 5:45 am Post subject: |
|
|
NOT a JCL problem I think but maybe a rexec problem? Whatever rexec is. Are you sure you have the parms specified correctly, the correct port correct hostname etc. I presume 0826-604 is a message number? Have you looked it up? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
jai79 Beginner
Joined: 22 May 2007 Posts: 8 Topics: 3
|
Posted: Wed May 23, 2007 6:41 am Post subject: |
|
|
Nic,
Parameters are correct.
No much information about the error message number.
Kolusu,
same link iam looking into, thanks a lot.
Should i do anything in the UNIX(to) server to listen this call ? |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 23, 2007 7:25 am Post subject: |
|
|
I've looked at that link and also at the equivalent page for rexecd
According to the rexec page -s is not an option
according to the rexecd page the port is 512
Is this any help or a clue? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
jai79 Beginner
Joined: 22 May 2007 Posts: 8 Topics: 3
|
Posted: Thu May 24, 2007 1:39 am Post subject: |
|
|
we are trying other secured way of connectiion using SSH also.
Any one has idea how to use SSH in mainframe to connnect UNIX server. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 24, 2007 2:26 am Post subject: |
|
|
Well, that is a different topic and you should have started one. But I have no idea as to an answer to your Q. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
paray2x Beginner
Joined: 16 Sep 2006 Posts: 1 Topics: 0
|
Posted: Fri May 25, 2007 7:08 am Post subject: |
|
|
Hi,
In order to connect/transfer to a secure Unix server from Mainframe, try the BPXBATCH utility.
Check http://www.duemig.de/Dokumente/BPXBatch.pdf for more info
--Para |
|
Back to top |
|
 |
jai79 Beginner
Joined: 22 May 2007 Posts: 8 Topics: 3
|
Posted: Tue May 29, 2007 4:46 am Post subject: |
|
|
we tried using REXEC to connect UNIX and found it is not secured. Then changed the scope to use SSH or BPXBATCH.
Is it possible to connect remote UNIX box Using BPXBATCH ?
Any sample code to invoke SSH in jcl (our unix box is remote) ?
Thanks Para for the information provided.
Regards
Jai |
|
Back to top |
|
 |
|
|