ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Submit a JCL in z/OS from z/Linux

Post new topic  Reply to topic
 Submit a JCL in z/OS from z/Linux « View previous topic :: View next topic » 
Author Message
Prithviraj
PostPosted: Wed Jan 07, 2015 8:41 pm    Post subject: Submit a JCL in z/OS from z/Linux Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Jan 08, 2015 1:42 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

I vaguely remember that is it possible to send data to JES2 from any FTP command, using the SITE FILETYPE=JES command.

Never quite found a use for it (and it applies to any FTP client that connects to z/OS) but this might be one.

http://www.destinationz.org/Community/Forums.aspx?forumid=7&threadid=160

http://mainframegeek.me/tag/what-is-site-filetypejes/

etc
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
Prithviraj
PostPosted: Thu Jan 08, 2015 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Thu Jan 08, 2015 3:06 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1916
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
View user's profile Send private message Visit poster's website
Prithviraj
PostPosted: Thu Jan 08, 2015 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Jan 08, 2015 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Jan 08, 2015 7:22 am    Post subject: Re: Submit a JCL in z/OS from z/Linux Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
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
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 08, 2015 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 08, 2015 12:14 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

mqjeff wrote:
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.


The C.A.F. licenses are no longer needed on supported versions of mainframe queue managers.
http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&appname=gpateam&supplier=897&letternum=ENUS214-180
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Prithviraj
PostPosted: Mon Jan 12, 2015 10:07 pm    Post subject: How to trigger a CICS transaction from z/Linux or windows. Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Jan 12, 2015 10:43 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
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
View user's profile Send private message
Vitor
PostPosted: Tue Jan 13, 2015 8:40 am    Post subject: Re: How to trigger a CICS transaction from z/Linux or window Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 13, 2015 8:48 am    Post subject: Re: How to trigger a CICS transaction from z/Linux or window Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Submit a JCL in z/OS from z/Linux
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.