View previous topic :: View next topic
|
Author |
Message |
malathy_tv
New User
Joined: 29 May 2007 Posts: 34 Location: chennai
|
|
|
|
hi,
can anybody let me know how do we capture the contensions messages in the mainframe if an dataset being used by another user and populate an error message like 'try after 2 minutes' in rexx |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
you can try this.
Code: |
x = outtrap('lm.')
address tso"whohas '"refdsn"'"
x = outtrap('off')
if pos('not in use',lm.1) = 0 then say 'try again later in 2 minutes'
|
|
|
Back to top |
|
|
malathy_tv
New User
Joined: 29 May 2007 Posts: 34 Location: chennai
|
|
|
|
TSO whohas is not supported in our machine |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
Back to top |
|
|
malathy_tv
New User
Joined: 29 May 2007 Posts: 34 Location: chennai
|
|
|
|
Thank you genesis |
|
Back to top |
|
|
|