Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1964
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: 1964
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: 1839
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 PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us