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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


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