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 » Mainframe, CICS, TXSeries » Simple Z/OS REXX scripts for v7 MQSC

Post new topic  Reply to topic
 Simple Z/OS REXX scripts for v7 MQSC « View previous topic :: View next topic » 
Author Message
ipmqadm
PostPosted: Mon Aug 15, 2011 6:53 am    Post subject: Simple Z/OS REXX scripts for v7 MQSC Reply with quote

Acolyte

Joined: 18 Apr 2007
Posts: 68

I'm trying to find a source to research to create some simple REXX scripts that interface with MQSC commands on Z/OS. Having issues...

Can anyone here point me to some simple examples?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 15, 2011 7:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Interface how?

How does this differ from using MQSC commands via CSQUTIL?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ipmqadm
PostPosted: Mon Aug 15, 2011 8:09 am    Post subject: Reply with quote

Acolyte

Joined: 18 Apr 2007
Posts: 68

CSQUTIL, from my limited knowledge of CSQUTIL, requires to you interface via jcl doesn't it? I've only seen CSQUTIL embedded with JCL.

I don't want jcl jobs to be sumitted. I'm wanting to execute some simple REXX scripts from TSO opt. 6 just like you would execute the CSQOREXX script to access the MQ panels.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 15, 2011 8:14 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Search for MA19 support pac.
_________________
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: Mon Aug 15, 2011 8:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
Search for MA19 support pac.


Shouldn't that be MA95 in this day & age??
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 15, 2011 8:56 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ipmqadm wrote:
CSQUTIL, from my limited knowledge of CSQUTIL, requires to you interface via jcl doesn't it? I've only seen CSQUTIL embedded with JCL.


Quite true.

I've never had any use for this kind of scripting; you either want a snapshot of the estate (in which case the supplied ISPF panels are fine) or you want a repeatable activity (even if it's repeated on an ad-hoc basis!) in which case I write JCL.

But if everyone agreed with me, they'd be no call for the support pac!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 15, 2011 9:18 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Vitor wrote:
bruce2359 wrote:
Search for MA19 support pac.


Shouldn't that be MA95 in this day & age??

I googled. MA19 was the first IBM hit. I gave up after that.
_________________
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
bruce2359
PostPosted: Mon Aug 15, 2011 9:22 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

For those unaware, REXX is a very powerful programming language. REXX runs on Windoze, UNIX, z/OS, z/VM - pretty much all platforms. REXX also includes facilities (hooks) into the o/s where it is running to do admin tasks.
_________________
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: Mon Aug 15, 2011 9:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
I googled. MA19 was the first IBM hit. I gave up after that.


And after all the grief we dispense about searching properly.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 15, 2011 10:22 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Vitor wrote:
bruce2359 wrote:
I googled. MA19 was the first IBM hit. I gave up after that.


And after all the grief we dispense about searching properly.....

Ouch! Was that a trout?
_________________
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: Mon Aug 15, 2011 10:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
Vitor wrote:
bruce2359 wrote:
I googled. MA19 was the first IBM hit. I gave up after that.


And after all the grief we dispense about searching properly.....

Ouch! Was that a trout?


Who was that strange, masked fisherman?

More of a small carp I think....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ipmqadm
PostPosted: Mon Aug 15, 2011 12:12 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Apr 2007
Posts: 68

Thanks Bruce...
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Aug 16, 2011 2:43 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

MA95 is the supportpac required for REXX - MQ. You can then use the MQ API, or issue commands to MQ.

Although there is CSQUTIL and the CSQOREXX panels i do use MA95 / REXX for some utility stuff and scripting, e.g. for some IVP stuff, like sending a message and reading the answer and so on.

Check the documentation that comes with MA95. If you still need some little rexx samples, please let me know.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Tue Aug 16, 2011 1:15 pm    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

There is now support for running CSQUTIL command interface from the CSQOREXX ISPF panels without the need to submit JCL.

This includes support for command lines longer than 80 characters without needing continuation characters.
_________________
Bob Buxton
Ex-Websphere MQ Development
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 » Mainframe, CICS, TXSeries » Simple Z/OS REXX scripts for v7 MQSC
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.