Hi,
There's a requirement where i need to send Email using JCL Code by extracting the data(like: HI ho r u???...) from a VSAM file . I have written a code as follows. Its showing MAXCC = 0 but not sending any mail. Can any of you please look into it ASAP and mail me with regard to it please.
//G107529J JOB RMFCH,,NOTIFY=&SYSUID,CLASS=B,MSGLEVEL=(1,1),MSGCLASS=X
//STEP2 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
DD DSN=G107529.JCL.PGM,DISP=SHR
HELO 192.168.100.74
MAIL FROM :<NIVEDITA_MISHRA@INFOSYS.COM>
RCPT TO:<NIVEDITA_MISHRA@INFOSYS.COM>
DATA
FROM:<NIVEDITA_MISHRA@INFOSYS.COM>
TO:<NIVEDITA_MISHRA@INFOSYS.COM>
SUBJECT: MAILED FROM MOCHA CLIENT
/*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSIN DD DUMMY
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO-
IDS(G107529.VSAM.KSDS2)-
ODS(G107529.JCL.PGM)
/*
Thanks in Advance,
Nivedita
Mailing using JCL by extracting data from a VSAM file.
Moderators: Frank Yaeger, DikDude, Moderator Group
Need to Preapre a TOOL for the same.
Hi Natarajan,
Thanks for sharing the link. I got the o/p for it.
Now I need to prepare a tool for the same.
Can you please help me regarding this because i have never prepared a tool as such, i would be greatful if you can tell me how to approach it with complete explanations.
Thanks in advance,
Nivedita
Thanks for sharing the link. I got the o/p for it.
Now I need to prepare a tool for the same.
Can you please help me regarding this because i have never prepared a tool as such, i would be greatful if you can tell me how to approach it with complete explanations.
Thanks in advance,
Nivedita
Re: Need to Preapre a TOOL for the same.
You are welcome.
what tool you want to create.. can you give more details?nivedita wrote:Now I need to prepare a tool for the same.
Natarajan
Chennai
Chennai
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page