Hello Everyone, I figured it out! Just letting you know to pass it along to anyone else having the same problem.
I was thinking about it with the spawned job that did not communicate back to the interactive session. It probably did not know the handle name of the session. The device name was being auto created with QPADEVxxx, but I guess the client did not know this, just guessing...
So, I specified a name at the command line using env.DEVNAME and the ip address and it works. I knew it had to be something simple!
Note: On the windows version, you do not need to do this.
Thanks for all of your input!
Tom
----- Original Message -----
From: linux5250-request@xxxxxxxxxxxx
To: linux5250@xxxxxxxxxxxx
Sent: Wed, 18 Mar 2009 17:00:04 +0000 (UTC)
Subject: LINUX5250 Digest, Vol 7, Issue 18
Send LINUX5250 mailing list submissions to
linux5250@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/linux5250
or, via email, send a message with subject or body 'help' to
linux5250-request@xxxxxxxxxxxx
You can reach the person managing the list at
linux5250-owner@xxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of LINUX5250 digest..."
*** NOTE: When replying to this digest message, PLEASE remove all text unrelated to your reply and change the subject line so it is meaningful.
Today's Topics:
1. Re: LINUX5250 Digest, Vol 7, Issue 17 (dualwolf@xxxxxxxxxxx)
----------------------------------------------------------------------
message: 1
date: Wed, 18 Mar 2009 01:42:37 +0000 (UTC)
from: dualwolf@xxxxxxxxxxx
subject: Re: [LINUX5250] LINUX5250 Digest, Vol 7, Issue 17
I initially had 0.17.3 using apt-get install, then I downloaded the tarball and installed 0.17.4 on Ubuntu 8.10. I am still having the problem. I have tried both tn5250 and xt5250 and neither on work for me. But, I did notice something strange.
When I called strqsh from the command line, my session froze up. I went to another session and did a WRKACTJOB and I see ANOTHER job running in QINTER:
Subsystem/Job: QZSHSH, Type: BCI, Function: PGM-QZSHSH. It looks like it is spawning off another job, just like when I execute QShell commands in batch. But, it doesn't seem to be communicating back to my interactive session.
I also tried to display the command line within the debugger and that gave me the same thing. The session froze. I displayed the job and I had the same call stack as before
----- Original Message -----
From: linux5250-request@xxxxxxxxxxxx
To: linux5250@xxxxxxxxxxxx
Sent: Thu, 12 Mar 2009 17:00:03 +0000 (UTC)
Subject: LINUX5250 Digest, Vol 7, Issue 17
Send LINUX5250 mailing list submissions to
linux5250@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/linux5250
or, via email, send a message with subject or body 'help' to
linux5250-request@xxxxxxxxxxxx
You can reach the person managing the list at
linux5250-owner@xxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of LINUX5250 digest..."
*** NOTE: When replying to this digest message, PLEASE remove all text unrelated to your reply and change the subject line so it is meaningful.
Today's Topics:
1. Re: Ubuntu 8.10 Pop Up error (Porterfield, Sean)
----------------------------------------------------------------------
message: 1
date: Wed, 11 Mar 2009 16:56:51 -0400
from: "Porterfield, Sean"
subject: Re: [LINUX5250] Ubuntu 8.10 Pop Up error
This sounds oddly familiar, though I haven't used any Ubuntu on a desktop. Are you on the latest tn5250? Are you running tn5250 on a console, xt5250, x5250?
--
Sean Porterfield
-----Original Message-----
From: linux5250-bounces@xxxxxxxxxxxx [mailto:linux5250-bounces@xxxxxxxxxxxx] On Behalf Of dualwolf@xxxxxxxxxxx
Sent: Tuesday, March 10, 2009 23:13
To: linux5250@xxxxxxxxxxxx
Subject: Re: [LINUX5250] Ubuntu 8.10 Pop Up error
Hi James,
I posted an issue with Pop ups a while back and I apologize for not getting back sooner. But, I thought that the issue had something to do with using the latest version of Ubuntu 8.10, so I wanted to install 8.04 and try again to see if that was it and I finally did. I am still having the issue. There is no DDS to provide for the pop up window. What I did was get my session to freeze up by pressing Shift+F9 in debug to get a command line, then I went to another session and displayed the call stack on the session that was hung up.
To simplify the issue, I can recreate the problem on my Ubuntu 8.04 and 8.10 sessions, by typing strqsh on the command line and it hangs up. It seems whenever it tries to overlay something on the screen, it gets hung up. The other night before the backups, the operator sent out a break message to all users and all of my sessions got hung up.
Is there some kind of configuration setting that I need to change in either the emulator or in Linux to get this to work? I also have the same issue with ibm5250, so it is probably something simple that I'm doing wrong. Any suggestions would be greatly appreciated.
Thank You!
Tom
----------------------------------------------------------------------
message: 1
date: Sat, 13 Dec 2008 00:08:41 +0000
from: dualwolf@xxxxxxxxxxx
subject: [LINUX5250] Ubuntu 8.10 Pop Up error
Hi Martin,
I do not have Compiz enabled on my computer either. Did you say that you were able to get the command line to display when in debug: STRDBG, then Shift+F9 to display command line?
I tried changing video drivers to see if this was causing it, but no change.
I viewed the call stack on my job and it looks like it's hung up when trying to display a popup.
Here is my call stack:
Type Program Statement Procedure
QCMD QSYS /0512
QUICMENU QSYS /00C1
1 QUIMNDRV QSYS /060C
2 QUIMGFLW QSYS /04C8
3 QUICMD QSYS /048D
QTECNTDB QSYS /030E
QTESGRPHSH QSYS _CXX_PEP__Fv
QTESGRPHSH QSYS 17 main
QTESGRPHSH QSYS 64 callGreenScreenSessionHandl >
QTESESSH QSYS _C_pep
QTESESSH QSYS 25 main
QTESESSH QSYS 22 Display_Debugger
QTENPTS QSYS 20 qtescren
QTENPTS QSYS 40 ProgramSource
QTENPTS QSYS 2 ProgramSourceWork
QTENPTS QSYS 38 ProcessFunctionKey
QTENPTS QSYS 1 CL_Pop_Up
QUSCMDLN QSYS /0018
QWSSPEND QSYS /01CA
QT3REQIO QSYS /01CF
Then my session is disconnected after a few minutes with a CPF5140 error.
I also hung up the application when using Java from RPG that displays a status screen, so it has to do with the emulator receiving the pop up window.
If you have this working on your machine, then I'll just have to accept that there's something wrong with my computer and quit bothering you guys.
Thanks,
Tom
------------------------------
message: 2
date: Fri, 12 Dec 2008 17:21:37 -0700 (MST)
from: James Rich
subject: Re: [LINUX5250] Ubuntu 8.10 Pop Up error
On Sat, 13 Dec 2008, dualwolf@xxxxxxxxxxx wrote:
I viewed the call stack on my job and it looks like it's hung up when
trying to display a popup.
I wouldn't expect a program running on the host to hang up this way, but I suppose it is possible that there is some kind of situation that is happening that tn5250 doesn't handle. Is there any chance I could see the DDS for your pop up window and some of the RPG code that runs it? What position does the window pop up in (upper left coordinate)? Are you using an EXFMT or WRITE? Can you give the pop up dimensions?
James Rich
if you want to understand why that is, there are many good books on the design of operating systems. please pass them along to redmond when you're done reading them :)
- Paul Davis on ardour-dev
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
------------------------------
As an Amazon Associate we earn from qualifying purchases.