Difference between revisions of "I2Rest PCML syntax"

From i2Rest
Jump to: navigation, search
Line 6: Line 6:
  
 
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><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: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

 <data name="ERMSG"       type="struct" usage="output"      struct="KSM" assert="/qsys.lib/%libl%.lib/jpcmla_eq.pgm" exclude="true"/>