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: 8620
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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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