View previous topic :: View next topic
|
Author |
Message |
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
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 |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
/*message shuld b poste after the Job card or before the jobcard |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
HI FRND,
it should be used after the JOB CARD. |
|
Back to top |
|
|
vishal_a
New User
Joined: 24 May 2005 Posts: 45 Location: Noida
|
|
|
|
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 |
|
|
Bharanidharan
New User
Joined: 20 Jun 2005 Posts: 86 Location: Chennai, India
|
|
|
|
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 |
|
|
|