MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

fetching last 3 records from file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Thu May 26, 2005 6:56 am    Post subject: fetching last 3 records from file Reply with quote

HI,

1. I have a file of some 100000 records, from that file i need to get last 3 records. it is a sequential file. Pls. help me out. I have one solution with me. i will declare a table array of size 3 and keep reading the file until eof.
finally the last three records will be in the array. but i think there is a performance problem. Could anyone suggest me a better solution.

2.I have 4 records in my sysin in jcl. how to get that records in the cobol program.

3. what is checkpoint restart logic and how to implement in cobol db2 pgm.

pls. suggest me the solution

thanks in advance
nadh
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu May 26, 2005 7:48 am    Post subject: Reply with quote

nadh,

You have been a member on this site for more than 6 months and you still don't follow the basic rules. Mad

Please search before postsing. All questions of yours have been discussed earlier.

1. check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=3354&highlight=copyback

http://www.mvsforums.com/helpboards/viewtopic.php?t=3839&highlight=copyback

http://www.mvsforums.com/helpboards/viewtopic.php?t=1274&highlight=copyback

http://www.mvsforums.com/helpboards/viewtopic.php?t=2195&highlight=copyback

2. Check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=1581&highlight=sysin+accept

http://www.mvsforums.com/helpboards/viewtopic.php?t=2456&highlight=sysin+accept

http://www.mvsforums.com/helpboards/viewtopic.php?t=442&highlight=sysin+accept

3. check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=1318&highlight=checkpoint

http://www.mvsforums.com/helpboards/viewtopic.php?t=3144&highlight=checkpoint

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group