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
 

 

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: 4648
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 Incorrect output when trying to add n... monica1 PL/I & Assembler 6 Fri Jan 13, 2017 5:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


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