Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us