Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COBOL calling Rexx Pgm in CICS w/return values

Status
Not open for further replies.

Frankly123

Programmer
Mar 28, 2006
1
US
Hi,
I just joined Tek-Tips, so please allow some beginner points!

I have found on IBM's web site a sample of COBOL calling REXX and passing result strings back to the COBOL app which is great for system stuff like assembler pgms can provide.

But it appears to only be for a COBOL/Rexx scenario in a z/OS TSO address space or z/OS TSO batch.

Is there any way to call a (non-compiled) REXX program from a CICS COBOL program in z/OS CICS and return result parms? And what are the base criteria for this?

Thanks in advance for any constructive response.

Frank

 
I would think it would need to be entirely contained within the CICS region (Just a thought off the top of my head).

The COBOL CICS code would need to call a CICS REXX program.
(Yes - there is CICS REXX - comes with TS 1.3 and above)

Here is IBM's URL to the CICS TS 2.2 Bookshelf


In this shelf - search books for REXX.

Now again, I do not know if this could actually be done (I am just thinking off the top of my head without first writing my own code to do this) but I would think that the
CICS REXX development system (creating and running CICS REXX code in CICS regions) would be able to be called from CICS COBOL code and return results.. You will need to experiment.

Have fun!
zSoftware
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top