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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am


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