Hi All,

I am processing an array in a pipeline. Part of the array contains a bit value. 
In a regular specs stage I would specify “xx.1 C2B nw” to print the bit value 
of the input. However in the array the location of the value is to be 
calculated during array processing.

So to obtain the value I have:
set #10:=substr(z,#2+(#0*#3)+1,#3)
set #13:=c2x(substr(#10,5,1))
set #14:=c2x(substr(#10,6,1))
where #10 is the record in the array and #13 and #14 are the bit values. I can 
convert the value into a hex value with C2X but I can’t use C2B to convert it 
directly into a bit value.

I now have a second specs stage to print the word with a X2B conversion, but is 
there a way to print the bit value directly within the first specs stage?

Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, Atos’ liability cannot be triggered for the message 
content. Although the sender endeavours to maintain a computer virus-free 
network, the sender does not warrant that this transmission is virus-free and 
will not be liable for any damages resulting from any virus transmitted. On all 
offers and agreements under which Atos Nederland B.V. supplies goods and/or 
services of whatever nature, the Terms of Delivery from Atos Nederland B.V. 
exclusively apply. The Terms of Delivery shall be promptly submitted to you on 
your request.

Reply via email to