View previous topic :: View next topic
|
Author |
Message |
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
I 'd like to execute a TSO command automatically when I logon the TSO region, I can run some program in LOGONCMD by CLIST, can I run a TSO command as well?? |
|
Back to top |
|
|
muhammad
New User
Joined: 25 Oct 2007 Posts: 19 Location: hyderabad
|
|
|
|
Yes u can run tso commands on the main TSO region also! eg:- TSO SCAN etc... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Add you commands to a CLIST/REXX, and invoke it as part of your logon procedure.
muhammad - As far as I know, SCAN is not a TSO command.
O. |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Muhammad, I am looking for an automatic way. Thanks anyway.
Hi O,
Follwing is from my logon procedure in ******.PDS.CLIST(LOGONCMD):
EXEC '******.PDS.CLIST(CGALLOC)'
EXEC '******.PDS.CLIST(SPECLOGN)'
EXEC '******.CLIST(ZJDLOGON)'
/* PANEL LIBRARIES */
/* WAAPCNCT '******.PDS.ISPPLIB' BEFORE (ISPPLIB) */
WAAPCNCT '******.MS7MA.ISPPLIB' BEFORE (ISPPLIB)
/* TABLE LIBRARIES */
/* WAAPCNCT PDS.ISPTLIB BEFORE (ISPTLIB) */
WAAPCNCT '******.PDS.CLIST' BEFORE (ISPTLIB)
/* SKELETON LIBRARIES */
WAAPCNCT '******.PDS.ISPSLIB' BEFORE (ISPSLIB)
/* CLIST LIBRARIES */
WAAPCNCT '******.PDS.CLIST' BEFORE (SYSPROC)
/* LOAD LIBRARIES */
/* WAAPCNCT '******.PDS.ISPLLIB' BEFORE (ISPLLIB) */
CLEAR
ISPF
How can I code a 'TSO ALLOCATE' ?
This issue in from my last qustion:
ibmmainframes.com/viewtopic.php?t=27170&highlight=
I found that I need to allocate the SYSIN every time when I logon TSO region... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can code the TSO ALLOCATE command in any REXX (and you have at least three of them in the start of your procedure), or you can simply use the JCL DD statement and allocate the dataset directly in the procedure.
O. |
|
Back to top |
|
|
|