Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Calling QMF Rexx or rexx exec from CICS module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 12:49 pm    Post subject: Calling QMF Rexx or rexx exec from CICS module
Reply with quote

I've a QMF Rexx procedure which calls many Rexx execs stored in my personal library. Now I want to execute this QMF rexx procedure from a CICS module.
So, I Googled, I could not find anything on how to call a qmf procude from CICS module. Also, in some cics rexx manual I read the "ADDRESS QRW" is not supported in CICS and my rexx exec have a lot of address qrw to execute qmf queries. As a worksround I submitted the job from my cics module, this job will execute the qmf procedure. So the task at hand was done.
But I really want to know how can I execute rexx exec and/or qmf rexx from cics module. I was able to exectue the rexx exec in batch mode using IRXJCL.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Apr 26, 2014 1:49 pm    Post subject: Reply to: Calling QMF Rexx or rexx exec from CICS module
Reply with quote

Your organization will have to acquire the REXX/CICS product
( google for it )

But as You have already found out
Quote:
I read the "ADDRESS QRW" is not supported in CICS

You will NOT be able to invoke QMF services in the CICS environment.
Back to top
View user's profile Send private message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 1:53 pm    Post subject:
Reply with quote

or can I use IKJTSOEV in my cics module to create a tso environment. But after that how do invoke exec from my personal library in the module.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Apr 26, 2014 1:54 pm    Post subject: Reply to: Calling QMF Rexx or rexx exec from CICS module
Reply with quote

Quote:
or can I use IKJTSOEV in my cics module to create a tso environment.


most dumbest idea ever heard of icon_cool.gif
Back to top
View user's profile Send private message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 2:10 pm    Post subject:
Reply with quote

ok, so if my shop does not have CICS REXX, then there is no way to call rexx exec...is that what expert feels??
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Apr 26, 2014 2:26 pm    Post subject: Reply to: Calling QMF Rexx or rexx exec from CICS module
Reply with quote

Quote:
is that what expert feels??


it is not what we feel ...
it is what IBM tells icon_cool.gif
Back to top
View user's profile Send private message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 2:33 pm    Post subject:
Reply with quote

Cool Beans!!
Back to top
View user's profile Send private message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 2:53 pm    Post subject:
Reply with quote

BTW...I read it here abot IKJTSOEV to run execs in Non-TSO/E address space..and thought its possible. Maybe I need to read more and understand some bacis, before posting dumb questions
http://pic.dhe.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.ikjc300/ikj4c310109.htm
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Apr 26, 2014 3:21 pm    Post subject: Reply to: Calling QMF Rexx or rexx exec from CICS module
Reply with quote

what would be the added value of running Your rexx scripts under CICS ?

You would' t have any way of getting back the results anyway!
Back to top
View user's profile Send private message
MANWAL

New User


Joined: 25 Apr 2014
Posts: 6
Location: India

PostPosted: Sat Apr 26, 2014 3:49 pm    Post subject:
Reply with quote

The reason I'm trying to do this is to query the bad data and report it (either in a file or insert in DB2). The application does not write enough data in logs...and makes life difficult to research. So instead of changing thousands of programs to write errorlog correctly, I want to have a rexx proc that would query and report it, whenever there is an error/issue.

I dont need results back from execs....I just need to check if they were executed correctly or not. If there is no way then to ensure whether the exec was executed correctly or not...I'll have module write a row in a table and the exec will update or delete it on successful execution.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us