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



I think it's fine and will serve as a pattern for some invocations. Sparser
code is possible when the requirements are seen differently.

I was observing that the design patterns, the one your code demonstrates or
another one, comprise the important lesson.

On Sun, Apr 21, 2019 at 5:34 PM Richard Schoen <richard@xxxxxxxxxxxxxxxxx>
wrote:

Haven't you ever defined a command ? Those parm definitions look pretty
straightforward to me.

Apparently in your rush to poke holes you didn't read my post closely that
mentioned I will probably tweak the parms to be closer in line with the
MONO command which has a single args value that takes in 1-40 parms.

This code iteration was done a couple years back and since John Y asked
for the code I packaged it up.

The important thing for me is that it works and works right every time. If
nobody else uses it they can at least study and learn from it and do their
own thing with it.

Back to my Easter food coma.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
Phn: (612) 315-1745

------------------------------

message: 4
date: Sun, 21 Apr 2019 00:52:38 -0600
from: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
subject: Re: Python CL Command Wrappers

On Sat, Apr 20, 2019 at 11:12 PM Richard Schoen <richard@xxxxxxxxxxxxxxxxx

wrote:

Really, it's complicated ?


Ummm ...

**snip**
PARM KWD(PARM14) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 14')
PARM KWD(PARM15) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 15')
PARM KWD(PARM16) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 16')
PARM KWD(PARM17) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 17')
PARM KWD(PARM18) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 18')
PARM KWD(PARM19) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 19')
PARM KWD(PARM20) TYPE(*CHAR) LEN(400) +
CASE(*MIXED) PROMPT('Parameter 20')
**snip**

... no, not at all ... did I say something? :)

The important thing is, "Is it eagerly seized upon by some set of users as
a solution?"

Most likely you have made some folks happy with your fine work.

Sorry to miss you at COMMON. I'll keep Calvin busy :)

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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.