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 -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
praveenhu

New User


Joined: 23 Jun 2006
Posts: 5

PostPosted: Tue Jul 18, 2006 11:17 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...
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

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

Do you have online FILEAID?

If so, do a FILEAID Browse.

Insert your dataset name:
Dataset name or HFS path ===> 'HLQ.USER.IDS'

Under Specify Selection Criteria, use a "T" for Temporary.
Selection criteria usage ===> T

Press enter.

On the next panel, enter 1 for OPTIONS
1 OPTIONS - Enter selection criteria options

On the next panel near the bottom:
Number of records to select ===> ALL (make this 5 to look at the last 5 records)

SEQ/VSAM processing direction ===> F (make this a B for Backwards)

Press enter, then PF3 to see selected records.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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