Difference between revisions of "I2Rest PCML syntax"

From i2Rest
Jump to: navigation, search
Line 3: Line 3:
 
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 tag.
 
trimarray - specifies the path to programm, that should handle array been passed in current data tag.
<code> <data name="CCY"    type="char"  length="3" trimarray="/qsys.lib/%libl%.lib/jpcmlt_bl.pgm"/> </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 tag. As example  
 
assert - specifies the path to programm, that should handle some way data passed in current tag. As example  
 
<code> <data name="ERMSG"      type="struct" usage="output"      struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/> </code>
 
<code> <data name="ERMSG"      type="struct" usage="output"      struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/> </code>

Revision as of 17:19, 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 data tag.

 <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 tag. As example