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
 
File trigger Job executing with incorrect GDG Generation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
hnharish

New User


Joined: 30 Aug 2005
Posts: 22

PostPosted: Tue Mar 16, 2010 3:15 pm    Post subject: File trigger Job executing with incorrect GDG Generation
Reply with quote

Hi All,

We have installed a job in production.It is loaded onto the jobtrac and executed as soon as the GDG file is recieved from our upstream.The issue is we are receiving the files from our upstream in a gap of time interval i.e. in seconds. When we received the first file the job is loaded onto the jobtrac and starts executing in mean time we received 2nd file, as we are referring latest file generation in the job the job picked the 2nd file as latest generation and processed it. So the first file was not processed.

We spoke to our upstream to send each file in delay of 5-10 min but they are not making any changes. Could you please let me know how to handle this issue in my Jcl
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Mar 16, 2010 3:55 pm    Post subject: Reply to: File trigger Job executing with incorrect GDG Gene
Reply with quote

Probably not the best use of GDG's. If the processing order of the inbound datasets was really important, I'd ask the application that was creating them to somehow serialize them so my job would know the proper order.

Anyway, dealing with similar situations in the past, I always made the process work by not using the relative generation number for the GDG. I'd always keep a master log of all generations used, check the new generation against the log, verify that it was the next in sequence, then use it in the job by it's absolute generation (i.e. the GnnnnVnn number).

Now, I don't know a lot about JobTrac, but if it can trigger a job on the event of a catalog of a new generation, can it also pass on to that job through a variable WHAT that generation number was?
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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