Author |
Message
|
Prithviraj |
Posted: Wed Jan 07, 2015 8:41 pm Post subject: Submit a JCL in z/OS from z/Linux |
|
|
Apprentice
Joined: 29 May 2014 Posts: 30
|
Dear all,
I would like to know how to trigger or submit a JCL in z/OS from z/Linux ?
I do not want to use MQ triggering, as for that I have to create 2 queue managers and to bring it under cluster kind of things.
I know that we can hit via http but that too I am not interested.
Is there is any other way to achieve my requirement ?
Cheers |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 08, 2015 1:42 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
Prithviraj |
Posted: Thu Jan 08, 2015 2:47 am Post subject: |
|
|
Apprentice
Joined: 29 May 2014 Posts: 30
|
Hi zpat,
Thanks for your reply.
My requirement is a bit different like -
I have a queue manager and queue in windows or z/Linux. On meeting certain trigger conditions it should trigger a z/OS job automatically (Without using Cluster).
If I use ftp as u had mentioned, then I need to give username and password in between, which should be avoided.
If there are some ways to trigger JCL from z/Linux then I just need to trigger that z/Linux app or I can write a script which does that(only in the worst case I will think of writing a script), on reaching trigger condition.
Could you please tell me some ways or open source products that meets my requirement.
Thanks and regards |
|
Back to top |
|
 |
hughson |
Posted: Thu Jan 08, 2015 3:06 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
I find it highly unlikely that you would be able to cause a job to run on a z/OS box from outside the box without some form of authentication (e.g. user ID and password). So whichever solution you find, you must expect to have to authenticate first.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
Prithviraj |
Posted: Thu Jan 08, 2015 3:56 am Post subject: |
|
|
Apprentice
Joined: 29 May 2014 Posts: 30
|
Hi Hughson,
I agree with you. I am okay with hard coding the credentials or setting up the authentication(ie giving access to one user/machine, just like saving the password, so that it will not ask for password every time) prior to submission of job, in that case it might work, right? as we do in MQ clustering.
So is there any open source products or any other methods to do so ?
I know, via http and MQ we can easily do this but I would like to know more ways.
Thanks and Regards. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 08, 2015 5:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Prithviraj wrote: |
I am okay with hard coding the credentials |
I bet your site security people won't be okay with that.
Prithviraj wrote: |
or setting up the authentication(ie giving access to one user/machine, just like saving the password, so that it will not ask for password every time) prior to submission of job, |
z/OS doesn't cache credentials like that.
Prithviraj wrote: |
in that case it might work, right? as we do in MQ clustering. |
MQ clustering doesn't use credentials.
Prithviraj wrote: |
So is there any open source products or any other methods to do so ? |
"Open source" and "z/OS" don't typically occur in the same context.
Prithviraj wrote: |
I know, via http and MQ we can easily do this but I would like to know more ways. |
The z/OS will use CA7 or a similar product to perform it's batch scheduling. It's possible that you can signal CA7 in some way to start the job for you.
But how you'd communicate with CA7 without using http/ftp or MQ I don't know.
Prithviraj wrote: |
If there are some ways to trigger JCL from z/Linux then I just need to trigger that z/Linux app or I can write a script which does that(only in the worst case I will think of writing a script), on reaching trigger condition |
IMHO this is impossible. You can't cross the environments like that; even if you have HiperSockets between the z/OS & zLinux it still looks like a TCP/IP connection even though it's a shared memory area in the z hardware. Certainly no zLinux app will have the security context RACF/ACF2 will want for a job to be started.
Think about how you'd achieve this if it was Red Hat Linux not zLinux. The issue is the same. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jan 08, 2015 7:22 am Post subject: Re: Submit a JCL in z/OS from z/Linux |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Prithviraj wrote: |
Dear all,
I would like to know how to trigger or submit a JCL in z/OS from z/Linux ?
I do not want to use MQ triggering, as for that I have to create 2 queue managers and to bring it under cluster kind of things.
I know that we can hit via http but that too I am not interested.
Is there is any other way to achieve my requirement ?
Cheers |
Connecting non-z/OS systems to z/OS is supported. Transmitting JCL (job-control language) from Windows/UNIX is supported. Transmitting z/OS system commands from Windows/UNIX is supported.
MQ Clusters are not required. Two queue-managers are not required.
Automation software (CA7, Tivoli, as examples) can launch z/OS work when things occur on Windows/UNIX platforms. Do you have automation software?
Transmitting anything between o/s's requires some network support, typically TCP/IP.
I gather that you are not a z/OS person. You will need to talk with your z/OS support folks to get an understanding of what is possible, and how to implement it. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 08, 2015 7:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's entirely possible to connect two queue managers without using a cluster.
It's entirely possible to talk to a zOS queue manager from any other system without using a queue manager on the other system, provided your zOS MQ administrator lets you do it, and has the necessary licenses. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jan 08, 2015 12:14 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
Prithviraj |
Posted: Mon Jan 12, 2015 10:07 pm Post subject: How to trigger a CICS transaction from z/Linux or windows. |
|
|
Apprentice
Joined: 29 May 2014 Posts: 30
|
Hi all,
Thanks for your replies.
I had tried submitting a JCL in MVS from z/Linux via FTP and I successfully submitted it.
This link explains it well.
http://www.ibm.com/developerworks/systems/library/es-batch-zos.html
Now to increase scope, I would like to trigger a CICS transaction from z/Linux or Windows, again without MQ Clustering or http.
Could someone suggest some ways to meet this requirment.
Thanks and Regards. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jan 12, 2015 10:43 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Did you try the same technique? What were the results? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 13, 2015 8:40 am Post subject: Re: How to trigger a CICS transaction from z/Linux or window |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Prithviraj wrote: |
I had tried submitting a JCL in MVS from z/Linux via FTP and I successfully submitted it. |
Told you you needed HTTP, FTP or MQ
Prithviraj wrote: |
Now to increase scope, I would like to trigger a CICS transaction from z/Linux or Windows, again without MQ Clustering or http. |
Why will you use FTP but not HTTP? What do you see as the difference?
CICS has the inbuilt ability to accept incoming network traffic (which the batch JCL system lacks) called the CICS Transaction Gateway. It's designed exactly for the use case where a distributed application needs to calls a CICS transaction. Alarmingly (in your instance) it uses TCP/IP not magic invisible non-network connections, but it works very well and there's a raft of documentation and examples surrounding it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 13, 2015 8:48 am Post subject: Re: How to trigger a CICS transaction from z/Linux or window |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Prithviraj wrote: |
without MQ Clustering |
Why do you keep thinking that MQ Clustering is the only way to use MQ?
MQ Clustering is not remotely the same thing as using MQ.
If you mean "Without using MQ at all", then say that. |
|
Back to top |
|
 |
|