× 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: Command validation program
  • From: "James W. Kilgore" <qappdsn@xxxxxxx>
  • Date: Wed, 27 May 1998 01:25:23 -0700
  • Organization: Progressive Data Systems, Inc.



jovic@calcna.ab.ca wrote:

>
>
>         Well ... if you must know, there are two reasons:
>
> 1. That's a kind of solution which most of first year college students
> could come up with. I'm looking for something nicer and more AS/400
> specific; I still believe, there have to be some beauty in anything one
> does.

Now, now ... be nice <g>

>
>
> 2. That will force me to change all main programs also (to adjust number
> and types of parameters, if I put it in the first position), or it would
> force me to receive all parameters in validation programs (if I place it
> in the last position), which would further lead to more than one
> validation program (not all comands have same number of parameters, and I
> validate only first two) ........ I don't wont to confuse other
> developers; they already have enough troubles with me because of 1. :)))))

Are you looking for the first level command? ie menu option/command line command
or the most recent caller?The reason I ask is because I ran into a similar
situation following of the "modular" design and with code here and code there 
and
code all over the place that was "black boxed" I wanted to print/display the
command which was using the lower level function that performed the lower level
print/display.

I would really like to have created a caller black box to let the low level
function know who was ringing the bell and I finally had to retrofit the low
levels to accept a caller parameter and the intermediates to accept and pass on
the same.  Not nearly as "artfull" as I would have liked.  It would have been a
lot easier if there was a CL equivalent to ?proc?.  Hard coding a name is a
definate no-no in our shop....we like to change our mind when adhereing to the
most recent "convention" gets us painted into a corner ;-)

>
>
> huh...?
>
> Take care,
> Vanya
>
>
>
> +---
> | 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
> +---


begin:          vcard
fn:             James Kilgore
n:              Kilgore;James
org:            Progressive Data Systems, Inc.
adr:            311 31st Ave SE;;;Puyallup;WA;98374;USA
email;internet: qappdsn@ibm.net
title:          President
tel;work:       (253) 848-2567
tel;fax:        (253) 770-1424
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.