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



On 2012/5/10 7:18 AM, murali dhar wrote:
My xsd for brand defines as below:
<xs:element name="brand" maxOccurs="unbounded">


So I defined brand as dim(999)- I am anticipating max of 999 or min of 3.

d brand likeds(brand_Template) DIM(999)

doesnt brand_Template get dim(999) applied automatically in below ? since you mentioned(
Your brand_Template doesn't have DIM(999). You only have DIM(999) on the brand subfield of brands_Template.)


d brand_Template DS qualified based(dummy_ptr)
d name 10a
d branchcode 5a
d productcode 6a

I don't understand your question about whether brand_Template gets dim(999) applied. The brand_Template data structure just above here does not have any DIM. The definition of the brand subfield using LIKEDS(brand_Template) DIM(999) does not have any effect on the brand_Template data structure.

I confess that I am somewhat confused by all your data structures, so I can't answer your more detailed questions.

You can look in the cross-reference section of the compiler listing to see how the compiler is defining your XML data structures, to see if you need more or fewer DIM keywords in your various definitions.

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.