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

The same REXX program doesnt work for other UserID??


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jackzhang75

Active User


Joined: 09 Jun 2014
Posts: 125
Location: US

PostPosted: Wed Dec 06, 2017 2:51 am
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Dec 06, 2017 3:20 am
Reply with quote

The problem is in line 42 of the calling program!
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2010
Location: USA

PostPosted: Wed Dec 06, 2017 3:40 am
Reply with quote

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:
Code:

)

the execution stopped completely... just hang there.

Please, help!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Dec 06, 2017 12:22 pm
Reply with quote

www.catb.org/esr/faqs/smart-questions.html

An amazing piece of instructive reading for those people that ask questions exactly like YOU just have.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed Dec 06, 2017 3:11 pm
Reply with quote

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
View user's profile Send private message
jackzhang75

Active User


Joined: 09 Jun 2014
Posts: 125
Location: US

PostPosted: Thu Dec 07, 2017 9:13 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top