CEESISET—Bit set

Purpose

CEESISET returns a copy of its parm1 input, but with one bit selectively set to 1.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-CEESISET--(--parm1--,--parm2--,--fc--,--result--)-----------><

parm1 (input)
The first input to the Bit Set routine. The input can be any 32-bit integer.
parm2 (input)
The second input to the Bit Set routine. The parm2 value is a 32-bit integer in the range between 0 and 31, inclusive.
fc (output)
A 12-byte feedback code, optional in some languages, that indicates the result of this service. If you choose to omit this parameter, refer to Invoking callable services for the appropriate syntax to indicate that the feedback code was omitted.

The following symbolic conditions can result from this service:

Code Severity Message number Message text
CEE000 0   The service completed successfully.
CEE1VC 2 2028 The value of the second argument was outside the valid range range in math routine routine-name.
result (output)
The result of the Bit Set routine. The output is a copy of parm1, but with the bit numbered parm2 (counting from the right) set to 1.