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
 

 

Moving to the end of the file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
praveenhu

New User


Joined: 23 Jun 2006
Posts: 5

PostPosted: Tue Jul 18, 2006 11:19 pm    Post subject: Moving to the end of the file
Reply with quote

Hi friends,

The problem goes like this; we have an job that processes thousands of records and inserts into db2 table; but if the file contains any invalid entry then the job gets abended; and the entire processing is written into log file. So when the job abends if we go to the end of the log file we can get the entry where the job abended. The file is so long that if we press m+F8 to go to the end of file it takes long time. So is there any way to go the end of file and get the last enrty made within short span time...
Please help me out...

Thanks,
Regards,
PRAVEEN
Back to top
View user's profile Send private message

Gautam512

Active User


Joined: 05 Oct 2005
Posts: 309
Location: Vizag / US

PostPosted: Wed Jul 19, 2006 3:23 am    Post subject: Re: Moving to the end of the file
Reply with quote

hi,

in the program itself keep a count of the record when ever the program is run, then u'll know which at which record it was abended.
Then using file aid u can get the record easily and can do further analysis.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 11:05 am    Post subject: Hi
Reply with quote

Praveen,
These kind of progs are best candidates for implementing the RESTART-COMMIT logic..Some days back I have posted a doc on this.Check it..

QUOTE:So is there any way to go the end of file and get the last enrty made within short span time...
Please help me out...

what you mean by this ?

-Han.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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