View previous topic :: View next topic
|
Author |
Message |
ravi1
New User
Joined: 27 Apr 2006 Posts: 11
|
|
|
|
I was writing a pgm to write a file. Suddenly mainframe hanged and not able to login again. While trying to login, it says user id is already logged in.
Please help me to solve this problem. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
1) Ask operations or one of your peers to cancel your user id
2) Sit back and do nothing until your session times out
3) Try to logon with the RECONNECT option |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
expat wrote: |
2) Sit back and do nothing until your session times out
|
Sometimes this is not a good idea...
Code: |
J E S 2 J O B L O G -- S Y S T E M B -- N O D E G R E Y
08.07.55 TSU19158 ---- FRIDAY, 29 AUG 2003 ----
08.07.55 TSU19158 £HASP373 A500066 STARTED
08.07.55 TSU19158 IEF125I A500066 - LOGGED ON - TIME=08.07.55
.
.
00.00.00 TSU19158 ---- FRIDAY, 24 OCT 2003 ----
08.14.58 TSU19158 IEF126I A500066 - LOGGED OFF - TIME=08.14.58
08.14.59 TSU19158 £HASP395 A500066 ENDED
0------ JES2 JOB STATISTICS ------
- 29 AUG 2003 JOB EXECUTION DATE
- 2 CARDS READ
- 85,481 SYSOUT PRINT RECORDS
- 0 SYSOUT PUNCH RECORDS
- 4,464 SYSOUT SPOOL KBYTES
- 80,647.06 MINUTES EXECUTION TIME
SDSF JOB DATA SET DISPLAY - JOB A500066 (TSU19158) LINE 1-4 (4)
COMMAND ===> "B" SCR=> CSR
PREFIX=* DEST=(ALL) OWNER=A500066 SORT=DSID/A
NP DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt PAGE
JESMSGLG JES2 2 A500066 M LOCAL 2,799
JESJCL JES2 3 A500066 M LOCAL 24
JESYSMSG JES2 4 A500066 M LOCAL 66,371
ISPLOG £TSOPSG £TSOPSG 103 A500066 G LOCAL 16,179 |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Pardon my ignorance - but what does the above statistics show? Does above say that a user A500066 logged-in on 29 AUG 2003 & didn't log out till 24 OCT 2003? If yes, what kind of system management is that? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj, I think that prino is trying to say that if the background task is in a loop it will be deemed as active and so the TSO session would not time out. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Actually, this particular client didn't have a automatic TSO logoff time and virtually nobody in IT logged off, we just locked out session at the multi-session manager screen.
In this case I had to log off because my password had expired |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
oh, so does that mean what I asked in previous post is true? |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
expat wrote: |
1) Ask operations or one of your peers to cancel your user id
2) Sit back and do nothing until your session times out
3) Try to logon with the RECONNECT option |
4) If you are still connected when it hangs, if PA1 and ATTN do not work press SYSREQ (see your emulator keyboard map) and when the screen goes blank, enter LOGOFF. Only works on some systems.
5)Use FTP to submit a job that has nothing but a dummy step and a // C U=userid command. Only works if you have authority to issue operator commands
Code: |
//... job ...
// C U=your-userid
//WHATEVER EXEC PGM=IEFBR14 or anything else even if it doesn't exist
|
6) Some sites have a web interface or a session manager interface to something that cancels your id. I wrote a small web page(CGI in Rexx) to let people submit the job shown in (5) but ours is a mostly unsecured development/test system so everyone has pretty much authority to do anything if they know how to do it. Check with your site help desk. |
|
Back to top |
|
|
|