Difference: UnicodeCNV_BINStmt (3 vs. 4)

Revision 42011-03-17 - PeteBrower

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"
Changed:
<
<

CNV BIN

>
>

CNV BIN Statement

 
Changed:
<
<
Expected Behaviour
>
>

Overview

  o UNICODE Alpha Field from Numeric field or NATIONAL Alpha Field from Numeric Field
  • Converts the value of the specified Numeric Field to a 4-byte unsigned binary integer and stores it in the 1- character (4-byte) Unicode/National Alpha field.
Line: 26 to 25
 
  • The UNICODE/NATIONAL Alpha Field must be defined as a 1 character (4-byte internal length) field.
  • Em build should fail if the character length of the UNICODE/NATIONAL Alpha Field is greater than 1 character.
  • An Overflow error should occur at runtime if the value of the 4-byte unsigned binary integer is greater than the maximum value that can be stored in the specified Numeric Field.
Changed:
<
<
Test Plan
>
>

Test Plan

 
  • convert valid numeric field unicode value to alpha/national and alpha/unicode
  • try to CNV BIN from numeric field into alpha/national and alpha/unicode that are not 1 character (Em build error)
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback