View previous topic :: View next topic
|
Author |
Message |
padmasriprasad
New User
Joined: 22 Feb 2008 Posts: 5 Location: Hyderabad
|
|
|
|
Hi all,
Once a job is submitted we will get message JOB<JOBID> is submitted.
My query is can we remove above sys message if yes please let me know |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
As far as I know, you only get that message when you use the SUBMIT (TSO/E) or SUBMIT (ISPF) commands. I'd suggest using some other mechanism to place your jobs on the Internal Reader. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
Code: |
/* REXX - submit job without message */
oldMsg= msg()
call msg 'OFF'
"SUB WHATEVER(IEFBR14)" /* Submit 'userid.WHATEVER.CNTL(IEFBR14)' */
call msg oldMsg |
|
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
(oops. pressed submit by mistake,so continued...) or
Code: |
/* REXX - submit job without message */
call outtrap 'junk.'
"SUB WHATEVER(IEFBR14)" /* SUB 'userid.WHATEVER.CNTL(IEFBR14)' */
call outtrap 'OFF' |
|
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Mbabu,
Quote: |
/* REXX - submit job without message */
call outtrap 'junk.'
"SUB WHATEVER(IEFBR14)" /* SUB 'userid.WHATEVER.CNTL(IEFBR14)' */
call outtrap 'OFF' |
As per the above code, i guess still the message would be displayed an dyou are just traping into a variable JUNK. I have not tested this. |
|
Back to top |
|
|
Selva-kumar
New User
Joined: 01 Mar 2007 Posts: 52 Location: chennai
|
|
|
|
Code: |
/* REXX - submit job without message */
msgflg = msg('off')
"SUB WHATEVER(IEFBR14)" /* SUB 'userid.WHATEVER.CNTL(IEFBR14)' */
msgflg = msg('on')
|
This would work. It will not display the job submitted message. But you will get the job notification message. To avoid that remove the Notify parameter in the jcl. |
|
Back to top |
|
|
|