Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to send notification to multiple users through jcl???

Answers were Sorted based on User's Feedback



How to send notification to multiple users through jcl???..

Answer / sangeetha

Notification could be send using the following JCL

//STEPNAME EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
SEND 'MESSAGE' U(USERID) LOGON

Is This Answer Correct ?    7 Yes 3 No

How to send notification to multiple users through jcl???..

Answer / nk

try smtp to send an email.

Is This Answer Correct ?    7 Yes 4 No

How to send notification to multiple users through jcl???..

Answer / ram g

no sangeetha, what you're saying is just to send a mesgs
not a rc notification which we are getting after jcl
submition. for eg: you're submiting a job called jobA which
gives the rc as 0, obviously you're going to get this rc in
you mf screen by having the code notify = &sysuid or notify
= user001 here i want to notify user002, user003 etc about
the jobA rc notifcation. i hope you would have got my
question by now...

Thx..

Is This Answer Correct ?    2 Yes 0 No

How to send notification to multiple users through jcl???..

Answer / chandrakant sinha

SEND FUNCTION - COMMUNICATION BETWEEN USER TERMINALS, OR
BETWEEN USER TERMINAL AND OPERATOR
CONSOLE.

SYNTAX: SEND ''TEXT'' USER('USERID LIST')
NOW/LOGON/SAVE NOWAIT/WAIT

OPERANDS –

''TEXT'' - MESSAGE TO BE SENT IN QUOTES.

USER('USERID LIST') - SPECIFIES THAT THE MESSAGE IS TO BE
SENT TO THE INDICATED USER(S)
ONLY.

NOW - SPECIFIES THAT THE MESSAGE IS TO BE SENT NOW.

TSO Command: TSO send 'this is a test message ' user
(userid1,userid2,userid3,…) now

Is This Answer Correct ?    2 Yes 0 No

How to send notification to multiple users through jcl???..

Answer / jin

Just add a step to send message at end of JCL when your step
RC = 0

//STEP1 EXEC PGM=...
...

// IF STEP1.RC = 0 THEN
//STEPNAME EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
SEND 'MESSAGE' U(USERID1,USERID2,USERID3) LOGON
// ENDIF

Is This Answer Correct ?    1 Yes 0 No

How to send notification to multiple users through jcl???..

Answer / raghu

by using notify parameter

Is This Answer Correct ?    1 Yes 0 No

How to send notification to multiple users through jcl???..

Answer / muttaiah

Chandrakant sinha, You are simply elaborating what
sangeetha told previously in her post. This is not the
actual thing what Ram.g(Who posted) is expecting anyhow
thanks for explaining in clear about send command.

usualy we will get a notification once the job completes
normally/abnormally. Ram wants how we can send the same
notification to multiple users.

Some jobs may be critical that it should complete
successfully. In that case, there may be some notification
sent to multiple users about the completion.

Is This Answer Correct ?    0 Yes 0 No

How to send notification to multiple users through jcl???..

Answer / ram.g

Thx for ur ans..but that's not the one i'm looking for..for
eg: thru notify we can send notification to one user..and
its restricted in jcl that we can't use more than one
time..but there are some way we could send notification to
more than one user..other than the concept of email...but i
couldn't figure it out that command...

Is This Answer Correct ?    1 Yes 2 No

Post New Answer



More JCL Interview Questions

by using cond parameter maximum 8 cond can be coded in single cond means ?explain

0 Answers  


What is primary allocation for a dataset?

4 Answers  


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


How can we increment subscript and index?

1 Answers   CTS, IBM,


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,






if we give TIME=0 how many sec that job/step

13 Answers  


what happens in conversion stage in job processing?

0 Answers   IBM,


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

1 Answers  


Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


How to execute 300 steps in a Job?

15 Answers   Accenture, Zensar,


what is the difference between return code and maxcc?

2 Answers   iGate,






Categories