Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CLIEXPR

The CLIEXPR macro evaluates arithmetic, logical and string expressions. The expression is passed in an input field, the result is returned in an output field. It is possible to request a specific output format for the result (binary number, Boolean constant, string).

The macro can also be called using MF = M.

Operation

Operands

CLIEXPR

MF = E
,PARAM = <name 1..27> / (<integer 1..15>)

MF = D

[,PREFIX = C / prefix ]

MF = C

,PREFIX = C / prefix

[,MACID = LIE / macid]

MF = L

,INPUT@ = <pointer>

,INPUTL = <integer 0..2147483647>

,OUTPUT@ = <pointer>

,OUTPUTL = <integer 0..2147483647>

,VFORM = *BY-VALUE / *STRING

,OTYPE = <pointer>

,OACTL = <pointer>

,PROT@ = NULL / <pointer>

,PROTL = 0 / <integer 0..2147483647>

,OPROTL = NULL / <pointer>

Return codes (hexadecimal)

Subcode2

Subcode1

Maincode

Meaning

00000000Normal execution
01000000Overflow of PROT field  (Warning)
00400001Syntax error in expression to be evaluated
01400001Overflow of PROT field
00400002Error during evaluation
01400002Overflow of PROT field
00400003Output field too short
00010004Input field not specified or not aligned
01010004Output field not specified or not aligned
02010004Log field (not aligned)
03010004Other fields (not aligned)
04010004Field address specified but field not accessible
00400005Insufficient space in caller’s address space
01200006System error
00400007Invalid procedure format; macro execution has been aborted
0001FFFFWrong specification for UNIT or FUNCTION in standard header
0002FFFFRequested function is not supported
0003FFFFWrong version specification in standard header