View previous topic :: View next topic
|
Author |
Message |
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
hi frnd,
plz have a check point in every 5000 or at any point and display the message is one way. else using the app program itself u can count the records in a seperate variable and once it reaches 5000 record then display the message. Hope understood. let me know if any. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi,
I believe putting checkpoint after 5000 record will be best option & put a display command .Because by it u are commiting till that time..& if some abend occour it will resatrt ur job from the recent checkpoint .So in other words it makes ur code more efficient |
|
Back to top |
|
|
suganthyprabha
New User
Joined: 28 Jul 2005 Posts: 58
|
|
|
|
Hi Friends,
Can u please tell me How to put that CHECK POINT?
Thanks and Regards,
Suganthy. |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
My ques is: displayed where?
If SYSOUT you can try this - just add 1 to cntr and t-cntr after every read of your I/P file then code an IF stmt:
Code: |
IF CNTR = 5000
DISPLAY t-cntr ' RECS READ'
MOVE ZEROS TO CNTR
END-IF |
Chkpt sounds like overkill to me. |
|
Back to top |
|
|
|