Skip to content

Commit

Permalink
HPCC-15684 DOCS:ESPArray needs max_count or max_count_var
Browse files Browse the repository at this point in the history
Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
  • Loading branch information
Jim DeFabia committed May 11, 2018
1 parent 9769683 commit ecde351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/EN_US/DynamicESDL/DESDL-Mods/ESDLmax_count_var.xml
Expand Up @@ -7,15 +7,15 @@
<para><indexterm>
<primary>max_count_var</primary>
</indexterm>The max_count_var attribute is used to specify a variable (an
ECL Attribute) cotaining the value of the expected max items in a dataset
ECL Attribute) containing the value of the expected max items in a dataset
(ESParray).</para>

<para><emphasis role="bold">Example:</emphasis></para>

<programlisting>[max_count_var("iesp.Constants.JD.MaxRecords")] ESParray &lt;ESPstruct MYRecord, Record&gt; Records; </programlisting>

<para>Roxie will define the constant iesp.Constants.JD.MaxRecords and change
it at will without affecting ESP.</para>
<para>The ECL developer defines the constant iesp.Constants.JD.MaxRecords
rather than hard coding the max count value in the ESDL. </para>

<para>See Also: <link linkend="ESParray">ESParray</link>, <link
linkend="ESDL_Attributes_max_count">max_count</link></para>
Expand Down

0 comments on commit ecde351

Please sign in to comment.