IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Calling QMF Rexx or rexx exec from CICS module


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Apr 26, 2014 1:49 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Apr 26, 2014 1:54 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Apr 26, 2014 2:26 pm
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
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Apr 26, 2014 3:21 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top