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



QUAL is for parts of a qualified name. Something where the fully qualified name has separators in it, like LIBRARY/FILE or SEQ/USER/JOB.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Voris, John
Sent: Wednesday, January 09, 2013 12:21 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Issue with embedded lists in a command

You probably do not want a "List" of elements "Elem"
You probably want a mixed list for your command parms.
That would be QUAL

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415721513.htm

-============================================================-

message: 5
date: Wed, 9 Jan 2013 10:39:47 -0600
from: <Rick.Chevalier@xxxxxxxxxxxxxxx>
subject: Issue with embedded lists in a command

I am working on a command that I want to have a list as one of the parameters but I also want the parameter to contain a list as one of the elements.

I have a code value as the first parameter. For that code value there are four pieces of information; the code itself, a start date, an end date, and message information. The message information is itself a list made up of the message text, configuration text, and size text. So far so good.

Where the issue comes in is when I define the code and message as lists.
There can be up to two codes and there could be up to three message lines for each code. When I specify the code with a max value of two
(MAX(2)) and the message with a max value of three (MAX(3)) the command will not compile and I get the error shown here. Displaying second level text didn't tell me anything I didn't already know.

CPD0258 30 More than three levels of nesting specified for keyword
ENRCODE.

I have posted the code here http://code.midrange.com/bf8f32f019.html.

I am not seeing where the three levels are. It looks to me like just two; the ENRCODE PARM line, and the ELEM line with ENRMSG. Can someone help me out with what I'm missing?

Rick Chevalier
Software Solutions Development Lead
[cid:image001.gif@01CDEE54.33DB8360]
817-525-7178 (w)
--
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.




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.