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



Does anyone have an answer for Henrik?  I've long known there were limitations
on this kind of thing, but I've never analyzed it the way he has, nor have I
ever found documentation on it.  Thanks!

Dave Shaw
Spartan International, Inc.
Spartanburg, SC

-----Original Message-----
From: Krebs, Henrik H DANSK-IMA/D23
[mailto:Henrik.H.Krebs@OPE.shell.com] 
Sent: Friday, March 17, 2000 7:42 AM
To: 'leslier@datrek.com'; 'breger@levitz.com'; Shaw, David
Subject: Quest for you/midrange-l


Hi friends

Back again (from a long trip to Thailand), but my subscription to Midrange
is not quite 'up and running'. Could I pls ask one of you to post the
following question (Nice to get a quick answer) and forward interesting
replies to henrik.h.krebs@ope.shell.com ?

Tia

Henrik krebs
http://hkrebs.dk/

"I have an RPG that should read or update 'any file', so the file is
defined:

'FUPDAT   UF  F    9999            DISK'

It works fine with an outher CLprogram:
OVRDBF UPDAT THISLIB/THISFILE SHARE(*YES)
CALL RPGPGM

But as soon as I change the CL-program to
OPNQRYF THISLIB/THISFILE ...
OVRDBF UPDAT THISLIB/THISFILE SHARE(*YES)
CALL RPGPGM

then the RPGPGM gives MCH0601 (Space offset X'00001460' is outside current
limit for object &1) when moving from buffer into the 9999 bytes inputfield
(DS).

The actual file used for testing has a record length of 141 bytes. It worked
fine when defining the file as 150 bytes, so I did a 'binary
change-record-length-recompile-retest' to find, that it worked for a record
length of 3248 bytes but not 3249 bytes.

What happends? Where is this limit documented?"


Regards

Henrik Krebs IMA/D23

Office: +45 3337 2356
Office fax: +45 3337 2888
Mobile: +45 40 888 323
Office e-mail: Henrik.H.Krebs@ope.shell.com
Private e-mail: hkrebs@hkrebs.dk
http://hkrebs.dk/
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.