IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

READ WORK FILE in Natural Processing


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sumitha

New User


Joined: 10 Sep 2007
Posts: 4
Location: Chennai

PostPosted: Tue Oct 16, 2007 12:00 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Oct 16, 2007 3:31 pm
Reply with quote

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
View user's profile Send private message
dr_te_z

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Tue Oct 16, 2007 3:48 pm
Reply with quote

The optimization takes place in your JCL: DCB parameters, place on fast DASD etc
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top