View previous topic :: View next topic
|
Author |
Message |
fungyufa
New User
Joined: 18 Jun 2005 Posts: 4 Location: china
|
|
|
|
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. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 Use [URL] BBCode for External Links for a possibility. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
With Netview and SA OS/390 CICS commands can be used in Rexx running in SA OS/390. |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
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 |
|
|
fungyufa
New User
Joined: 18 Jun 2005 Posts: 4 Location: china
|
|
|
|
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 |
|
|
jeevajeeva
New User
Joined: 13 May 2006 Posts: 17
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
two interesting supportpacs could be CA1D CA1I two rexx exci interfaces |
|
Back to top |
|
|
|