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
 

 

can Rexx run in TSO issue CICS command?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
fungyufa

New User


Joined: 18 Jun 2005
Posts: 4
Location: china

PostPosted: Fri Mar 19, 2010 8:33 am    Post subject: can Rexx run in TSO issue CICS command?
Reply with quote

does it possible to do so?
for example, I want to close specific online dataset in 20 different cics region by running a rexx, instead of logon 20 times. icon_biggrin.gif
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Mar 19, 2010 9:08 am    Post subject: Reply to: can Rexx run in TSO issue CICS command?
Reply with quote

If there is a TSO command that you can issue then you SHOULD be able to issue that same command in REXX exec if it's running in the same TSO address space.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Fri Mar 19, 2010 9:37 am    Post subject:
Reply with quote

I think the question is if CEMT commands can be issued from TSO (affecting different CICS regions). Possibly via the CONSOLE command if upi are authorized. (OK, I'm guessing here!)
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Mar 20, 2010 12:57 am    Post subject:
Reply with quote

Quote:
does it possible to do so?
for example, I want to close specific online dataset in 20 different cics region by running a rexx, instead of logon 20 times


If your not a CICS Systems programmer, I would suggest you
talk to one before you try closing online datasets in 20 different cics
regions.

There are many software packages out there that can do this
type of thing for you. If your installation is running 20 regions,
then more than likely, you already have such capabilities.

try www.batchcics.com for a possibility.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Sat Mar 20, 2010 8:02 pm    Post subject:
Reply with quote

With Netview and SA OS/390 CICS commands can be used in Rexx running in SA OS/390.
Back to top
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Tue Mar 23, 2010 12:19 am    Post subject:
Reply with quote

Does your shop have CAFC? If so, you can use the CAFC Batch Interface and open/close files in multiple regions with one job (or in a Rexx if you want to simulate a batch job in foreground).
Back to top
View user's profile Send private message
fungyufa

New User


Joined: 18 Jun 2005
Posts: 4
Location: china

PostPosted: Wed Mar 24, 2010 12:03 pm    Post subject:
Reply with quote

thanks all for your replies,
after all write program with exci for that.
tried alot but failed to use rexx on this...
Back to top
View user's profile Send private message
jeevajeeva

New User


Joined: 13 May 2006
Posts: 17

PostPosted: Wed Jun 16, 2010 9:10 pm    Post subject: Reply to: can Rexx run in TSO issue CICS command?
Reply with quote

You can do it by activating a console in REXX


ADDRESS TSO
"CONSOLE ACTIVATE NAME(userid)"
"CONSPROF SOLDISPLAY(NO) UNSOLDISPLAY(NO) SOLNUM(100) UNSOLNUM(100)"

ADDRESS CONSOLE
"F CICSREG1,CEMT S FILE(XXXX) CLOSE"

ADDRESS TSO
"CONSOLE DEACTIVATE"
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 16, 2010 11:05 pm    Post subject: Reply to: can Rexx run in TSO issue CICS command?
Reply with quote

Unfortunately, IBM pulled the "CSF1" free SupportPac (too bad), which supplied the necessary code to Open/Close files from Batch, using EXCI. It was written by Sam Butters. Perhaps someone has it tucked away somewhere and would be willing to share?

IBM left this as a reference -

http://www-01.ibm.com/support/docview.wss?rs=0&q1=exci&uid=swg21158499&loc=en_US&cs=utf-8&cc=us&lang=en

Bill
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Jun 16, 2010 11:37 pm    Post subject: Reply to: can Rexx run in TSO issue CICS command?
Reply with quote

two interesting supportpacs could be CA1D CA1I two rexx exci interfaces
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


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