View previous topic :: View next topic
|
Author |
Message |
sumitha
New User
Joined: 10 Sep 2007 Posts: 4 Location: Chennai
|
|
|
|
Hi,
I have a jcl which processes a work file with some 2 lakh records. Can someone tell me the most efficient way to read the records from work file so that the CPU time will be reduced. I have read in some documents that READ WORK FILE RECORD option will improve CPU performance. Are there any other options which we can use. (Similar to MULTI-FETCH/PRE-FETCH for Adabas file read) |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
First, I don't know what you mean by "lakh", but I assume it's something with amount.
Indeed, specifying the RECORD clause will cause the file processing to be faster, because in this case NATURAL won't perform any data checking.
As far as I know, there are no other methods of reading a work file faster.
If your file is really big (again, what is "lakh"?), you might consider loading the data (temporarily) into an ADABAS file and reading this file from NATURAL.
O. |
|
Back to top |
|
|
dr_te_z
New User
Joined: 08 Jun 2007 Posts: 71 Location: Zoetermeer, the Netherlands
|
|
|
|
The optimization takes place in your JCL: DCB parameters, place on fast DASD etc |
|
Back to top |
|
|
|