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

performance improvement through LRECL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 27, 2011 5:24 pm
Reply with quote

did You read the whole topic ... looks like not icon_evil.gif
count how many times we have asked for the proper info
hoe many time the ts has posted useless info
( I deleted three posts with the same garbage content)
Quote:
The cobol module splices 2 i/p files into a VB file.The data in the i/p files is same before and after the run.just we reduced the LRECL of the O/P VB file and the CPU execution time reduced drastically.


it' s the TS who is offending/disrespecting the people who try to help him
on our own time, free of charge

the category/tone belong to the natural reaction of somebody sharing its experience
and spending ( rather wasting) time to help somebody who does not care to provide proper info
and keeps posting/venting the same useless information

but maybe it' s the free of charge that make people ask without any commitment ti properly pursue the issue
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Wed Apr 27, 2011 5:52 pm
Reply with quote

Perhaps the TS did NOT use the APPLY WRITE-ONLY clause for the file (or specify compiler option AWO), and thus a simple change in the LRECL (with NO change to the BLKSIZE) WOULD have made a significant impact on performance.
The Programmer's Guide says:


"Use the APPLY WRITE-ONLY clause to make optimum use of buffer and device space when you create a sequential file with blocked variable-length records. With APPLY WRITE-ONLY specified, a buffer is truncated only when the next record does not fit in the unused portion of the buffer. Without APPLY WRITE-ONLY specified, a buffer is truncated when it does not have enough space for a maximum-size record. The APPLY WRITE-ONLY clause has meaning only for sequential files that have variable-length records and are blocked. The AWO compiler option applies an implicit APPLY WRITE-ONLY clause to all eligible files. The NOAWO compiler option has no effect on files that have the APPLY WRITE-ONLY clause specified. The APPLY WRITE-ONLY clause takes precedence over the NOAWO compiler option. The APPLY-WRITE ONLY clause can cause input files to use a record area rather than process the data in the buffer. This use might affect the processing of both input files and output files."


With NOAWO and a 32K LRECL (with the REQUIRED 32K+4 BLKSIZE), one is guaranteed that there will be only 1 record per physical block regardless of actual record lengths.
With NOAWO and a 1K LRECL (with the SAME 32K+4 BLKSIZE), one is guaranteed that there will be at least 31 records per physical block, and perhaps a lot more).
With AWO (and the SAME 32K+4 BLKSIZE), the actual number of records per block would be totally independent of the STATED LRECL (which only represents the MAXIMUM possible LRECL), but would depend solely on the ACTUAL record lengths being passed to the I/O routines.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Apr 27, 2011 5:53 pm
Reply with quote

The TS's continual disregard of facts/knowledge
is further exemplified by: ibmmainframes.com/viewtopic.php?t=54283
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 27, 2011 6:34 pm
Reply with quote

Rahul_kumar wrote:
...

Also,I [...] made a [change] in the program to calculate the record length [...] for each record.
...


Why did you do this?

How did you do this?

How do think you were able to affect the record-length?
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 3
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
Search our Forums:

Back to Top