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: 2126
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: 2126
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: 2066
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 Previous record x current record jackare SYNCSORT 1 Thu Nov 29, 2018 7:56 am
No new posts How to count the number of times key ... vnktrrd DFSORT/ICETOOL 14 Thu Nov 15, 2018 9:19 pm
No new posts Accessing control blocks to retrieve ... menonkiran COBOL Programming 5 Wed Nov 14, 2018 9:08 pm
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am
No new posts Number of Packages required for stati... manojthokala7 DB2 4 Mon Sep 17, 2018 7:14 pm

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