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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable and enable ti back once cics transaction using REXX scrip.

Status
Not open for further replies.

shuhaibk54

Technical User
Jun 12, 2012
18
IN
Hello folks,

Can any one help me outto find the way that disable and enable it back CICS transaction using rexx script..I glad to know more about REXX interacting with CICS .

Thanks,
Shuhaib
 
How do you do it normally? Which program does the disable/enable? What command do you give it to make it function?

Frank Clarke
--America's source for adverse opinions since 1943.
 
Thanks rexxahead for replying for my question .......

I use the cics command cemt to do this opertion .See below example.

For enabling -> cemt s tran(abcd) ena
For diabling-> cemt s tran(abcd) dis.

Some time I might need to enable/diable many transaction in the region.Its very difficult me to do same process again and again(time waste).If I can automate this process i Would be become very happy ..

Thanks,
Shuhaib
 
CEMT is not a program, it's a transaction.
[tt]
//STEP1 EXEC PGM=xxxxxx
//SYSIN DD *
...some command to enable/disable...
[/tt]
You need to know the value of 'xxxxxx' so that you can
[tt]
address TSO
"NEWSTACK"
queue ...some command to enable/disable...
queue ...another command to enable/disable something else...
(xxxxxx) /* implicitly execute the program that enables/disables */
"DELSTACK"
[/tt]
You might also have to be in a different address-space. I don't know which ones are appropriate to CICS tasks.

Frank Clarke
--America's source for adverse opinions since 1943.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top