Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us