Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SMTP the current generation number of a GDG.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Jyothi Kulunde

New User


Joined: 14 Feb 2017
Posts: 2
Location: India

PostPosted: Thu May 04, 2017 4:08 pm    Post subject: SMTP the current generation number of a GDG.
Reply with quote

I want to send an email which notifies the current generation number of a GDG.

Scenario:
We receive C.P.FD1234.PROF(0) files thru NDM. We use these generations as input in our job. Every time we run a generation we make a note of it and share with the team so that we don't duplicate the run with the same file.
So to automate this task I want to trigger an email to notify which generation of the file is run.
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1800
Location: UK

PostPosted: Thu May 04, 2017 5:06 pm    Post subject:
Reply with quote

Well, that is nice to know. But, presumaby you have a problem - what is it?
Back to top
View user's profile Send private message
Jyothi Kulunde

New User


Joined: 14 Feb 2017
Posts: 2
Location: India

PostPosted: Thu May 04, 2017 6:25 pm    Post subject:
Reply with quote

We are running multiple generations(2 to 3) during IST time and some more generations are run during EST time. We are now manually sharing the generations which we ran.
But sometimes we miss to share this information during end of the day. In this case we have to manually check which generations are run by referring to the job which has ran using these generations.

Now I am thinking to bypass this manual process by auto triggering an email about the file which has run.

I am not sure how SMTP works in dynamically picking up the current generation number.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1800
Location: UK

PostPosted: Thu May 04, 2017 6:43 pm    Post subject:
Reply with quote

Quote:
I am not sure how SMTP works in dynamically picking up the current generation number.

It doesn't - you have to write a little program that will extract the information that you want and write to the smtp-enabled sysout class.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1720
Location: NY,USA

PostPosted: Thu May 04, 2017 8:34 pm    Post subject:
Reply with quote

See if these links helps to achieve your proposal.
http://ibmmainframes.com/about44245.html
http://ibmmainframes.com/about50967.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us