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: 119
Location: CT

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
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1241
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

Active Member


Joined: 29 Apr 2008
Posts: 939
Location: Maryland

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: 8794
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 User


Joined: 01 Sep 2015
Posts: 416
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: 119
Location: CT

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 Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
Search our Forums:

Back to Top