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
 

 

How to execute a TSO command when I logon the TSO region?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue Jan 08, 2008 1:26 pm    Post subject: How to execute a TSO command when I logon the TSO region?
Reply with quote

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
View user's profile Send private message

muhammad

New User


Joined: 25 Oct 2007
Posts: 19
Location: hyderabad

PostPosted: Tue Jan 08, 2008 2:28 pm    Post subject:
Reply with quote

Yes u can run tso commands on the main TSO region also! eg:- TSO SCAN etc...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 08, 2008 2:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue Jan 08, 2008 3:06 pm    Post subject:
Reply with quote

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:
http://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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 08, 2008 3:14 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm


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