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


  • Subject: Re: the ASSET issue again
  • From: DAsmussen@xxxxxxx
  • Date: Wed, 20 Sep 2000 00:44:09 EDT

Leslie,

In a message dated 9/18/00 3:20:25 PM Eastern Daylight Time, 
leslier@datrek.com writes:

> A loop is a loop, but a loop executed 15 times unnecessarily in effect
>  slows down a program.  
>  Things like statementless loops, and sub routines (with nothing but
>  BEGSR and ENDSR) are common in the AS/SET generated code we work in
>  here. 

Well, "a loop executed 15 times unnecessarily" is poor AS/Set code -- either 
on the part of the tool or the part of the coder.  An _ENDLESS_ loop, 
however, is a natural event.  The latter is a result of the "bastardization" 
of AS/Set by SSA for BPCS purposes.  Anyone who has added a file to a data 
model without specifying "Y" for "Unique Key" via the appropriate function 
key knows about getting a file suffixed with an "X" in your RPG program for 
files that are updated.  ADK originally generated CL that performed an OVRDBF 
to the "X" file to allow updates without fear of looping.  The "unique key" 
function can loop if the key is not truly unique.

If you're getting "statementless loops" or empty subroutines, you're doing 
something wrong.  Feel free to forward your code to me, and I'll fix it -- no 
charge.

HTH,

Dean Asmussen
Enterprise Systems Consulting, Inc.
Fuquay-Varina, NC  USA
E-mail:  DAsmussen@aol.com

"Anyone who is not liberal in their youth has no heart.  Anyone who is not 
conservative in their adulthood has no brain." -- Winston Churchill
+---
| This is the BPCS Users Mailing List!
| To submit a new message, send your mail to BPCS-L@midrange.com.
| To subscribe to this list send email to BPCS-L-SUB@midrange.com.
| To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: dasmussen@aol.com
+---

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.