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

Supress error messages in REXX


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

New User


Joined: 13 Jan 2009
Posts: 36
Location: India

PostPosted: Wed Jan 28, 2009 9:41 pm
Reply with quote

Hi all,

I am using follwing command in REXX:

Code:

ADDRESS TSO "ALLOCATE F(MEMDD) DSN('"RDSN"') SHR REU"
ADDRESS TSO "EXECIO 1 DISKR MEMDD ( FINIS STEM DATA."


which upon execution throws the following error:
Code:

System abend code 913, reason code 00000056.                   
Abend in host command EXECIO or address environment routine TSO.
EXECIO error while trying to GET or PUT a record.               


Is there any way by which i can supress the message?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Jan 28, 2009 10:21 pm
Reply with quote

913 usually means that you do not have authority to read from a dataset.

Try using OUTTRAP function to suppress messages, but this is likely a serious error and your program may still get interrupted.

Try using a SIGNAL ON ERROR routine and create a routine to handle error conditions.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 28, 2009 11:05 pm
Reply with quote

Hello,

Try to browse/view the dataset via tso/ispf.

If the security error (913) persists you need to talk with your manager or the security admins to determine if you should have read access to that dataset.
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
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 Error when install DB2 DB2 2
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top