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 :)
As an Amazon Associate we earn from qualifying purchases.