|
Jon,
Beware: Top of my head.
List in lists:
A) 5i0 Number of entries in parameter list
B) 510 Offset to entry in the list (in reverse order); this occurs
many entries are in the list (if max=10, and 3 are entered, this is
repeated 3 times)
C) after that the parameter values in their lay out of an element DS
Ex parm (Max 10 entries) length 15, 2 elements (10-5) (Spaces between
segments for clarity)
A B C
03 392409 Third entrySecond entryFirst entry
Regards,
Carel Teijgeler
On 31-3-2015 4:50, Jon Paris wrote:
Thank you so much Gary - it is neither easy to find nor easy toThis is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
understand but at least I have a starting point now. The only docs I had
found gave examples of only the simple stuff and it is mixed lists and
lists in lists that I have to deal with - thanks again.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Mar 30, 2015, at 4:08 PM, Monnier, Gary <Gary.Monnier@xxxxxxxxx>
wrote:
IBM doesn't make it easy that's for sure. The best I ever found was in
the CL programming guide. There is a section entitled " Defining lists for--
parameters"
http://www-01.ibm.com/support/knowledgecenter/ssw_i5_54/
rbam6/dflst.htm
Under each list type there is a section entitled "Using CL and HLLs for"
the type of list. Each section breaks down how the list is structured.
For example, a simple list is passed as |number of values
passed|value1|value2|...|valuen
HTH
Gary
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jon Paris
Sent: Monday, March 30, 2015 9:19 AM
To: Midrange-L Midrange-l
Subject: Processing Command Parms
I cannot for the life of me find a simple explanation of how command
parms are passed to the CPP. Apparently I've never had to handle variable
length lists of things like qualified names when I've dealt with commands
in the past. Either that or it was so many years ago I have forgotten.
Anyone point me to useful IBM docs? The stuff I've found so far in the
Info Center is not that helpful.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.