IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Command used to send a message in jes2 to the operator


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Thu Nov 17, 2005 11:11 am
Reply with quote

what command we use 2 send a message in jes2 to the operator that the ''job will be released after 5 pm"'
Can any one help

Thanks icon_eek.gif
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Nov 17, 2005 2:53 pm
Reply with quote

hi frnd,
Use /*MESSAGE : this will send the message to the user when the job get released.
Eg: /*JOBPARM LINES=60,ROOM=4222,TIME=(5,0),PROCLIB=PROC03


I had not used this but i found in one article.. Say to all of us once u got the code executed.
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Thu Nov 17, 2005 4:29 pm
Reply with quote

/*message shuld b poste after the Job card or before the jobcard
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Nov 18, 2005 10:35 am
Reply with quote

HI FRND,
it should be used after the JOB CARD.
Back to top
View user's profile Send private message
vishal_a

New User


Joined: 24 May 2005
Posts: 45
Location: Noida

PostPosted: Fri Nov 18, 2005 11:06 am
Reply with quote

hi
Well u can use Tso send command also to send message to anyone on the mainframe
for syntax u can type tso help send at the command line and can use the syntax mentioned there ...

alternatively check out if ur shop also use tso opermsg using this u can send emssages to the operator.

regards
vishal
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Sat Nov 19, 2005 2:13 am
Reply with quote

Hi,

/*message is one possible option to send to console once job gets completed; I normally use WTOs to send messages via JES2 stream to operator console, in case their intervention is needed for continuing the job. Below is a sample:

//PS05 EXEC PGM=SYSP0700
//SYSIN DD *
WTO **THIS JOB XXXBAD10 PROCESSES ONLINE PROD FILES
WTOR **REPLY "Y" TO CONTINUE OR "N" TO CANCEL
REPLY N
WTO **BEFORE JOB XXXBAD10 CONTINUES VERIFY FILES CLOSED
WTO **CCFILE CCRQFILE IN COMPCORR GRP ON CICSPROD
WTOR **THEN REPLY "Y" TO CONT. OR "N" TO CANCEL XXXBAD10
REPLY N
/*

I think SYSP0700 comes as part of installation, but there should be equiv. setup for executing this via JES2.

Regards,
Bharani.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
Search our Forums:

Back to Top