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

How to define a message ID?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
neeharika

New User


Joined: 23 May 2008
Posts: 14
Location: Hyderabad

PostPosted: Tue Apr 28, 2009 4:49 pm
Reply with quote

I'm getting the following error message when I tried to set some message code. Any help on this is appreciated.

Code:
COMMAND SETMSG NOT FOUND            
    93 *-*   "SETMSG MSG(ISRZ001)"
       +++ RC(-3) +++              
***                                



Code:
Q = LISTDSI("SDSN NORECALL") /* CHECK IF PRINT FILE IS IN CATALOG */
IF SYSBLKSIZE = 0 THEN                                               
DO                                                                   
   ZEDSMSG = 'INVALID BLOCK SIZE'                                   
   ZEDLMSG = 'BLOCK SIZE OF DATA SET MUST NOT BE ZERO.'             
   ADDRESS ISPEXEC 'SETMSG MSG(ISRZ001)'                             
END         


Thanks,
Neeharika.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 28, 2009 5:15 pm
Reply with quote

Hmm, I don't know.

Your code worked just fine for me. What's odd is that the error "RC(-3)" almost makes me think that you're not running this exec from within ISPF. But, without ISPF, there'd be no panel to display the messages on.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Apr 28, 2009 11:20 pm
Reply with quote

As SuperK said, make sure you are in ISPF.

If you still have problems, turn on the trace and show us the trace response.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts Print out all lines with 'IBM' compil... CLIST & REXX 8
Search our Forums:

Back to Top