IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to prolong the time to stay in TSO


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Mon Sep 18, 2006 2:03 pm
Reply with quote

When I logon the TSO and after no operation for a while, The system will automatically force me logoff.
what parameter should I adjust to prolong this time or even forever.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Sep 18, 2006 2:24 pm
Reply with quote

Hi !

This parameter is set by your systemprogrammers.

Regards, UmeySan
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Mon Sep 18, 2006 11:49 pm
Reply with quote

Some users go into SDSF and use the & command (auto update). If you type &30 on the command line in SDSF, the screen with autoupdate every 30 seconds. This gives the system the appearance you are pressing enter every 30 seconds. Pressing the ATTN (attention) key twice will interupt you out of the auto update command.
Back to top
View user's profile Send private message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Tue Sep 19, 2006 6:48 am
Reply with quote

Thanks, yeah,when I submit a job which persists a long time,I use &2 to auto-update the recently state of the job. Of course its a solution to solve my problem. But I want to know exactly which parameter can be modified to implement such effect, maybe in my logon procedure, in sys1.parmlib and so on...
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Tue Sep 19, 2006 10:51 pm
Reply with quote

You cannot adjust your own TSO timeout parameter. It is a system default.

You are correct about where the parameter resides. It is in SYS1.PARMLIB(SMFPRM00)

Code:

 ACTIVE                          /* ACTIVE SMF RECORDING             */
DSNAME(SYS1.MAN1,                                                     
      SYS1.MAN2,                                                     
      SYS1.MAN3)                                                     
NOPROMPT                        /* DO NOT PROMPT OPERATOR           */
REC(PERM)                       /* TYPE 17 PERM RECORDS ONLY        */
MAXDORM(3000)                   /* WRITE IDLE BUFFER AFTER 30 MIN   */
STATUS(SMF,SYNC)                /* WRITE TYPE-23 TO SMF SYNC        */
JWT(0100)                       /* 522 AFTER 60 MINUTES             */
DDCONS(NO)                      /* TURN OFF CONSOL TYPE30           */
INTVAL(60)                      /* CFJ SMF GLOBAL DEFAULT 60 MIN    */
SYNCVAL(59)                     /* CFJ SET SYNC VALUE     01 MIN    */
SID(SYSX)                                                             
LISTDSN                         /* LIST DATA SET STATUS AT IPL      */


THe JWT(0100) parameter indicates to abend TSO with a S522 after a 1 hour wait.
Back to top
View user's profile Send private message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Wed Sep 20, 2006 7:04 am
Reply with quote

Thank you very much. I have found that.

JWT (hhmm) Specifies the maximum amount of time that a job or TSO/E user address space is allowed to wait continuously, where hh is the amount of real time in hours and mm is in minutes.
If the specified time limit expires, the system passes control to the SMF time limit exit, IEFUTL (if active). IEFUTL either causes the job or TSO/E user address space to end abnormally, or it extends the wait time.

accordingly I should found a new member SMFPRMXX which the JWT parameter is modified. Then use SET SMF command to activate it.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Sep 20, 2006 6:10 pm
Reply with quote

I believe your change will work, however, the new Job Wait setting will apply to every TSO user on your mainframe.

I'm not sure what your job title or responsibilities are, but you should make sure your change does not go against the policies of your company.

You will probably need to ensure you have authority to issue the SET SMF command.
Back to top
View user's profile Send private message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Thu Sep 21, 2006 8:36 am
Reply with quote

Your constructive suggestion is appreciated. I will take charge of the OS,XRC maintenance routine of ABC, one of the largest bank of China.
I perform such changes on the test LPAR provided by our bank for me.
So it will not exert any influence on our business.
Back to top
View user's profile Send private message
DarrylHoward

New User


Joined: 23 Feb 2007
Posts: 1
Location: US

PostPosted: Mon Feb 26, 2007 8:12 pm
Reply with quote

While adjusting the JWT value will work, it may not be the best solution. The JWT value affects all jobs in the system, not just TSO sessions. Increasing the JWT setting would prolong jobs that you may really want to terminate due to inactivity.

A better solution would be to add a "TIME=1440" parameter to the EXEC statement of the TSO logon procedure (such as IKJACCNT) for any users that have a legitimate need for a TSO session that does not timeout. You may have to create a new logon procedure with the TIME parameter, then use the TSO ACCOUNT command, or a security facility such as RACF, to assign it to the desired users. Then, when the user logs on, a started task, identified by their TSO userid, will be initiated. This task will have the TIME=1440 parameter and will never timeout.
Back to top
View user's profile Send private message
banu_parveen

New User


Joined: 30 Jan 2007
Posts: 6
Location: india

PostPosted: Fri Mar 02, 2007 10:13 am
Reply with quote

Preventing Mainframe session from getting logged off automatically can be done through OMVS Utility.
Give option ?=6? in the command line to reach the ISPF Command Shell
Give the command ?omvs?
Your login session goes to a ?stand-by? mode
When you want to activate your session again, type ?exit? (all small letters) in the command line and press Enter.
Press Enter again to go back to the Command shell
You can resume your work right from where you left it, without losing any valuable effort, or having to re-do anything!
OMVS command invokes the OMVS shell, and allows you to switch among the shell, a TSO/E session, and subcommand mode. You can find out more about this by pressing the HELP (F1) key.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top