Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
The same REXX program doesnt work for other UserID??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
jackzhang75

Active User


Joined: 09 Jun 2014
Posts: 117
Location: windsor

PostPosted: Wed Dec 06, 2017 2:51 am    Post subject: The same REXX program doesnt work for other UserID??
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: 1072
Location: Oostende, Belgium

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

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

Active User


Joined: 29 Apr 2008
Posts: 232
Location: Maryland

PostPosted: Wed Dec 06, 2017 3:40 am    Post subject: Re: The same REXX program doesnt work for other UserID??
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: 8619
Location: Back in jolly old England

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

http://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 User


Joined: 01 Sep 2015
Posts: 186
Location: Switzerland

PostPosted: Wed Dec 06, 2017 3:11 pm    Post subject:
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: 117
Location: windsor

PostPosted: Thu Dec 07, 2017 9:13 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us