× 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.



BLOCK(*YES) questions:

     FCMMASTER  IF   E           K DISK    block(*yes)

Does BLOCK(*YES) bring in a block of records in sequential order from the
file, or in keyed order?

RRN  Key
  1   AA
  2   ZZ
  3   EG
  4   BH
  5   WY
  6   WZ
  7   AB

In this scenario, will the block of records be in RRN sequence or in keyed
sequence?

RPG documentation is not, IMO, not very helpful in indicating how blocking
occurs.

The archives has a post that appears to support a block "by keyed records":

http://archive.midrange.com/rpg400-l/200212/msg00433.html
> 2. Blocking is done is in sequence that the records are being accessed:
> keyed or arrival.  NBRRCDS is always done in arrival sequence.  That's why
> the warning.

I have found several posts that imply that blocking is by physical sequence. 
But nothing that says this. 

Is there an IBM reference to this?

TIA,
Dan

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.