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 suppress the JCL return message from a rexx code

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

New User


Joined: 28 May 2008
Posts: 30
Location: India

PostPosted: Mon Jun 22, 2009 11:59 am    Post subject: How to suppress the JCL return message from a rexx code
Reply with quote

Hi,

I'm submiting a JCL from my rexx rpogram,I want to suppress the return code message that comes after the JCL execution.

I have used outtrap function for this,

JCLFL = 'AX.CMA.REXX.PDS(DEMJCL)'
ADDRESS TSO
X = OUTTRAP('ABCD.')
"SUBMIT '"JCLFL"'"
X = OUTTRAP('OFF')

but still i'm getting the mesage.
"02.25.50 JOB18362 $HASP165 DEMPRM ENDED AT SBRYSD0 MAXCC=0 CN(INTERNAL)"

Can anybody suggest how to avoid this ..

Thanks in advance!!
Ceema
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Jun 22, 2009 12:22 pm    Post subject:
Reply with quote

This has nothing to do with your REXX. The minute you submitted the job, the operating system is responsible for it. You can try to suppress all messages using the PROFILE command (even from within REXX).

O.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 22, 2009 1:29 pm    Post subject:
Reply with quote

Remove the NOTIFY= from the jobcard
Back to top
View user's profile Send private message
cma rajith

New User


Joined: 28 May 2008
Posts: 30
Location: India

PostPosted: Mon Jun 22, 2009 2:02 pm    Post subject:
Reply with quote

Thanks Expat..

It was really a simple solution :-)
Back to top
View user's profile Send private message
dasdagir

New User


Joined: 16 Mar 2009
Posts: 1
Location: Chennai

PostPosted: Wed Mar 23, 2011 7:56 pm    Post subject: Reply to: How to suppress the JCL return message from a rexx
Reply with quote

Hi,

I have coded the X=MSG('OFF') in the Rexx.

Solved.
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 Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am


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