Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
READ WORK FILE in Natural Processing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: READ WORK FILE in Natural Processing
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: 2360
Location: Israel

PostPosted: Tue Oct 16, 2007 3:31 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us