× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jon,

I appreciate your response. Let me rephrase my issue/question. Perhaps the 
compiler option BLK/NOBLK has nothing to do with what I am wanting to know.

We READ and WRITE quite a few sequential files (not indexed or relative) in 
many of our COBOL programs. Virtually all of the FD's for those files have 
the BLOCK CONTAINS clause specified. Many of these sequential files have 
variable length records.

My question is what is the best combination to use in the iSeries world?

1) Remove the BLOCK CONTAINS altogether and let the compiler block and 
de-block as it sees fit? Does it do a good job?

2) Retain BLOCK CONTAINS and use what was originally specified in the VSE 
world?

3) Retain BLOCK CONTAINS and but specify a new value that is more correct 
for the iSeries world? Is there a rule of thumb for this?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.