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
 
Create the generation daily and it will continue for year

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

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Wed Jul 12, 2006 11:21 am    Post subject: Create the generation daily and it will continue for year
Reply with quote

Hi,

I have a requirement like the following:

I have to create the generation daily and it will continue for the whole year. and if I started today and if next month is starting i need to delete all the current months generations and start creating new generations from 1st onwards and this process continues like this............

means whenever a new month starts it has to delete previous months generations and it has to start creating generations of that new month.....means always i should have only current month generations.....

I hope requirement is clear

plz plz suggest a way............

thx in advance..................

pavan
Back to top
View user's profile Send private message

Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 12, 2006 12:26 pm    Post subject: Hi
Reply with quote

I feel its better to have a job setup which delete/purge the existing GDG base and recreate GDG base with LIMIT as 31 at the month end(Monthly job).

This job should be scheduled to run on every month ends.

Then the normal daily jobs as per the schedule can create new versions from that month starting subsequently..

-Han.
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Wed Jul 12, 2006 3:49 pm    Post subject:
Reply with quote

Hi all,

Ya i think better to include a step to delete the GDG base and recreate the GDG base ....
And this should run in every month end.

Thanks....
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Thu Jul 13, 2006 10:46 am    Post subject:
Reply with quote

Hi All,

Thank you for all your help.

pavan
Back to top
View user's profile Send private message
sivaram.ch

New User


Joined: 28 Jun 2005
Posts: 11

PostPosted: Thu Jul 13, 2006 11:04 am    Post subject:
Reply with quote

Here every month won't have that 31days. if we given 31 is the limit

Examp: Feb month only have 28 or 29 days then march first 3 days transactions will be in feb GDG base


How can we handle this situation.


Thanks
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Thu Jul 13, 2006 11:44 am    Post subject: Hi
Reply with quote

This Purge/recreate job has to be scheduled as the month end job.If it's Feb 28th or 29th's based on whether its a leap year or not your jobs has to be added to a particular group.

Most shope Schedulers and have different groupName which runs jobs on diffrent frequencies.You have to check it and have to add your job correspondigly to that group to ensure that this process happens on every month end.

-Han.



-Han.
Back to top
View user's profile Send private message
jasorn

Active User


Joined: 12 Jul 2006
Posts: 154
Location: USA

PostPosted: Thu Jul 13, 2006 6:56 pm    Post subject: Re: Create the generation daily and it will continue for yea
Reply with quote

Just want to make sure the purge job is run after ALL the things from the month that will use it are complete. So it's after month end and prep for month begin.
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 Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am

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