MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSO command line option during logon.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Ankurbali
Beginner


Joined: 06 Jan 2003
Posts: 2
Topics: 1

PostPosted: Mon Jan 06, 2003 1:10 am    Post subject: TSO command line option during logon. Reply with quote

Hi,

One thing that has got me curious for some time now is the TSO Command Option that we have during ISPF logon processing. Generally that is blank or one can type in ISPF there. And this will be run at the TSO ready prompt as the TSO command. The same can be done by writing a CLIST/REXX exec that runs at startup.

Now, this can be used for any startup messages, memos, et. al. I have even tried the Logon command, and hence it will go in a loop asking the user to enter the password again and again. But I can recover the situation by removing "Logon" from the command option. But what if someone enters "Logoff" in that option or in some startup REXX/CLIST. Can something be done about it then to remove it so that it doesn't go in an unrecoverable infinite loop?

Any ideas/suggestions are most welcome.

Thanks in advance.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Jan 06, 2003 2:38 am    Post subject: Reply with quote

It won't loop. It will just log you off, but you can reconnect and remove it. Actually, having LOGOFF in there can be good because that command runs after the command specified in the logon proc's PARM= parameter. So if your logon exec puts you in ISPF, you can automatically log off by leaving ISPF. I haven't tried it, but it sounds right anyway.
Back to top
View user's profile Send private message Visit poster's website
Ankurbali
Beginner


Joined: 06 Jan 2003
Posts: 2
Topics: 1

PostPosted: Mon Jan 06, 2003 3:43 am    Post subject: Reply with quote

Semigeezer,

When one is logged off from TSO, then even though you reconnect it, still you won't be in a position to remove this command. This command will be there in the Logon Panel, and I don't see how one can remove it without entering the TSO environment. When the session will come to the Ready prompt, this TSO command will be fired before you have time to try anything to remove this.

Quote:
I haven't tried it, but it sounds right anyway.


I would rather you not try it Wink . I reckon you give it a shot on the terminal next to you first Twisted Evil .

Regards.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Jan 06, 2003 10:43 am    Post subject: Reply with quote

Ankurbali,
You are confusing LOGOFF and reconnect. If you LOGON RECONNECT, you are correct you can't change the command. If the command option is LOGOFF, then your session will end when you eXit and you'll logon fresh next time. You could then remove the command.

You can't reconnect after a LOGOFF, only after a disconnection.

Bill D.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group