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
 

 

How to define a message ID?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to define a message ID?
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

Moderator Team Head


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

PostPosted: Tue Apr 28, 2009 5:15 pm    Post subject: Reply to: How to define a message ID?
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

Senior Member


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

PostPosted: Tue Apr 28, 2009 11:20 pm    Post subject: Reply to: How to define a message ID?
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am
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 How to define PCB for paired segments ashok_uddaraju IMS DB/DC 4 Tue Jun 14, 2016 11:40 pm
No new posts Define Alias for multiple Data sets u... sandy98669 JCL & VSAM 4 Fri May 27, 2016 1:07 pm


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