View previous topic :: View next topic
|
Author |
Message |
jackzhang75
Active User
Joined: 09 Jun 2014 Posts: 125 Location: US
|
|
|
|
Hi experts,
I got the same REXX program and it can only works for one userID at same time. if other user try to run the same program it will just hung there and wait no error or message.
If the user who using this REXX program logoff the system then other people can use it why?? It seems like it hold the resource that other people cant use then REXX is just waiting. Anyone had same issue or ideas??
The main program calling following function then stoped at msg and didnt go down the code..just hang there.
Code: |
LLA_refresh: /* Refresh the linklst */
trace
address tso
msg('off') |
Thank you! |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
The problem is in line 42 of the calling program! |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2010 Location: USA
|
|
|
|
jackzhang75 wrote: |
Hi experts,
I got the same REXX program and it can only works for one userID at same time. if other user try to run the same program it will just hung there and wait no error or message.
If the user who using this REXX program logoff the system then other people can use it why?? It seems like it hold the resource that other people cant use then REXX is just waiting. Anyone had same issue or ideas??
The main program calling following function then stoped at msg and didnt go down the code..just hang there.
Code: |
LLA_refresh: /* Refresh the linklst */
trace
address tso
msg('off') |
Thank you! |
I've got similar problem.
When my code had reached this character:
the execution stopped completely... just hang there.
Please, help! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
I find it hard to believe that the code shown is the problem. In any case, the code has 2 issues:
The trace command should have an operand, like R.
The msg('off') is a function and must be used like: p=msg('off'). |
|
Back to top |
|
|
jackzhang75
Active User
Joined: 09 Jun 2014 Posts: 125 Location: US
|
|
|
|
Thank you WJ for your answer! By change msg("off") to p=msg('off') and now its working. Again appreicaite your help! |
|
Back to top |
|
|
|