|
|
| Author |
Message |
gargi koley
New User
Joined: 11 Jan 2008 Posts: 10 Location: satyam gateway,hi-tech citi,hyderabad
|
|
|
|
hi all,
i have got the requirment of executing the command for cics start/stop thru REXX program.
the command that is executable from the spool looks like this
for CICS Start:
/START CICSB1
for CICS Stop:
/C CICSB1
we have included the commands in our rexxx program as follws:
"/START CICSB1"
"/C CICSB1"
while executing the program the errors is thrown in line where the command is getting executed with the RC(-3).
can any one tell me how can one include those commands in my program |
|
| Back to top |
|
 |
References
|
|
 |
Moved: Fri Sep 05, 2008 5:48 pm by superk From TSO/ISPF to CLIST & REXX |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3304 Location: Charlotte,NC USA
|
|
|
|
| What sort of address space are you running this REXX exec in? Obviously CICS start/stop commands would not be usable in a TSO/E or ISPF address space. Is this exec running from a console automation environment (i.e. Netview, AutopOperator, OPS/MVS, Tivoli). |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 536 Location: work
|
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3304 Location: Charlotte,NC USA
|
|
|
|
| Pedro, would there be a preference of using the CONSOLE command instead of the normal interface (i.e. SDSF, Sysview, or IOF)? My experience has been that normally CONSOLE is off-limits to the casual user, at least not without some audit controls. |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 536 Location: work
|
|
|
|
CONSOLE is typically off limits to the normal user. But so should issuing operator commands from SDSF (most other features of SDSF should be free to use).
And commands, to start and stop CICS, in themselves, should be limited to authorized personnel. If the poster's job requires him to issue console commands, then the right permissions should be given. Get the right permissions instead of doing things which seemingly bypass controls.
My normal tack is to do whatever works... if you -have- to, use SDSF. But the first choice should be the most direct option. The poster needs to issue operator commands, so use CONSOLE and the GETMSG() function. |
|
| Back to top |
|
 |
|
|