Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

capturing the contension message

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

New User


Joined: 29 May 2007
Posts: 34
Location: chennai

PostPosted: Mon Sep 08, 2008 3:39 pm    Post subject: capturing the contension message
Reply with quote

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

genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Mon Sep 08, 2008 3:53 pm    Post subject:
Reply with quote

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

New User


Joined: 29 May 2007
Posts: 34
Location: chennai

PostPosted: Mon Sep 08, 2008 4:26 pm    Post subject:
Reply with quote

TSO whohas is not supported in our machine
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Mon Sep 08, 2008 5:18 pm    Post subject:
Reply with quote

this might help:

http://ibmmainframes.com/viewtopic.php?t=4743

http://ibmmainframes.com/viewtopic.php?t=30513
Back to top
View user's profile Send private message
malathy_tv

New User


Joined: 29 May 2007
Posts: 34
Location: chennai

PostPosted: Tue Sep 09, 2008 10:28 am    Post subject:
Reply with quote

Thank you genesis
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 How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts IEC999I MESSAGE ERROR Manshadi ABENDS & Debugging 3 Sun Apr 17, 2016 3:43 pm
No new posts Error message from the J2ee converter sivasaras IMS DB/DC 5 Thu Nov 26, 2015 3:20 pm
No new posts Message received hexa decimal format-... Sathiyendran Java & MQSeries 4 Sat Sep 05, 2015 3:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us