Difference between revisions of "I2Rest PCML syntax"
Pavel.lobko (talk | contribs) |
Pavel.lobko (talk | contribs) |
||
Line 2: | Line 2: | ||
Two more attributes in [Https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzahh/pcmldttg.htm PCML data tag]. Generaly both attributes was added in order to improve response processing on server side.<br> | Two more attributes in [Https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzahh/pcmldttg.htm PCML data tag]. Generaly both attributes was added in order to improve response processing on server side.<br> | ||
− | trimarray - specifies the path to programm, that should handle array been passed in current data | + | trimarray - specifies the path to programm, that should handle array been passed in current <data> element. |
<code><pre> <data name="CCY" type="char" length="3" trimarray="/qsys.lib/%libl%.lib/jpcmlt_bl.pgm"/></pre> </code> | <code><pre> <data name="CCY" type="char" length="3" trimarray="/qsys.lib/%libl%.lib/jpcmlt_bl.pgm"/></pre> </code> | ||
− | assert - specifies the path to programm, that should handle some way data passed in current | + | assert - specifies the path to programm, that should handle some way data passed in current <data> element. As example |
<code><pre> <data name="ERMSG" type="struct" usage="output" struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/> </pre></code> | <code><pre> <data name="ERMSG" type="struct" usage="output" struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/> </pre></code> |
Revision as of 17:26, 8 May 2020
Two more attributes in PCML data tag. Generaly both attributes was added in order to improve response processing on server side.
trimarray - specifies the path to programm, that should handle array been passed in current element.
<data name="CCY" type="char" length="3" trimarray="/qsys.lib/%libl%.lib/jpcmlt_bl.pgm"/>
assert - specifies the path to programm, that should handle some way data passed in current element. As example
<data name="ERMSG" type="struct" usage="output" struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/>