Difference: UnicodeCNV_BINStmt (1 vs. 11)

Revision 112011-06-15 - JeanNeron

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

CNV BIN Statement

Line: 41 to 41
 
  1. Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
  2. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation? Confirmed 4/2/11, designed this way
  3. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that. ** Not a bug FAD**
Changed:
<
<
  1. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
>
>
  1. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow. * FIXED * June 9 engine
 
  1. Uses wrong character set? Example, I use CNV BIN to put 0xA4 into TEMP 1. This is a spiky ball character, but the debugger shows that TEMP 1 contains a Euro symbol. ** I think the problem is that my reference table only has the 8859-1 character set, where A4 is the spiky ball, but Appx is using 8859-15, where the same binary value is the Euro symbol. **

-- JeanNeron - 2011-03-11

Revision 102011-06-02 - JeanNeron

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

CNV BIN Statement

Line: 40 to 40
 
  1. Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
  2. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation? Confirmed 4/2/11, designed this way
Changed:
<
<
  1. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
>
>
  1. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that. ** Not a bug FAD**
 
  1. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
Changed:
<
<
  1. Uses wrong character set? Example, I use CNV BIN to put 0xA4 into TEMP 1. This is a spiky ball character, but the debugger shows that TEMP 1 contains a Euro symbol.
>
>
  1. Uses wrong character set? Example, I use CNV BIN to put 0xA4 into TEMP 1. This is a spiky ball character, but the debugger shows that TEMP 1 contains a Euro symbol. ** I think the problem is that my reference table only has the 8859-1 character set, where A4 is the spiky ball, but Appx is using 8859-15, where the same binary value is the Euro symbol. **
  -- JeanNeron - 2011-03-11 \ No newline at end of file

Revision 92011-05-02 - JeanNeron

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

CNV BIN Statement

Line: 42 to 42
 
  1. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation? Confirmed 4/2/11, designed this way
  2. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
  3. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
Added:
>
>
  1. Uses wrong character set? Example, I use CNV BIN to put 0xA4 into TEMP 1. This is a spiky ball character, but the debugger shows that TEMP 1 contains a Euro symbol.
  -- JeanNeron - 2011-03-11 \ No newline at end of file

Revision 82011-04-15 - JeanNeron

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

CNV BIN Statement

Changed:
<
<
CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.


>
>
 

Overview

o UNICODE Alpha Field from Numeric field or NATIONAL Alpha Field from Numeric Field

Revision 72011-04-06 - JeanNeron

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

CNV BIN Statement

Line: 41 to 41
 

BUGS

  1. Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
Changed:
<
<
  1. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
  2. Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
>
>
  1. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation? Confirmed 4/2/11, designed this way
 
  1. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
  2. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.

Revision 62011-04-01 - JeanNeron

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

CNV BIN Statement

Added:
>
>
CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
 

Overview

Line: 38 to 40
 
  • try to CNV BIN from unicode/national to numeric field of insufficient size

BUGS

Changed:
<
<
  • Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
  • CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
  • Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
  • National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
  • Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
>
>
  1. Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
  2. CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
  3. Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
  4. National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
  5. Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
  -- JeanNeron - 2011-03-11 \ No newline at end of file

Revision 52011-03-29 - JeanNeron

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

CNV BIN Statement

Line: 38 to 38
 
  • try to CNV BIN from unicode/national to numeric field of insufficient size

BUGS

Changed:
<
<
  • Painted 1 character national field on image, displayed as 4 characters. unicode was ok
>
>
  • Painted 1 character national field on image, displayed as 4 characters. unicode was ok. * FIXED * March 28 engine
 
  • CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
  • Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
  • National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.

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)

Revision 32011-03-11 - JeanNeron

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

CNV BIN

Line: 35 to 35
 
  • convert valid literal unicode value to alpha/national and alpha/unicode
  • try to CNV BIN from literal into alpha/national and alpha/unicode that are not 1 character (Em build error)
  • try to CNV BIN from literal into alpha/national and alpha/unicode from invalid numerics (negative, >=4294967296)
Added:
>
>
  • try to CNV BIN from unicode/national to numeric field
  • try to CNV BIN from unicode/national field >1 character to numeric field
  • try to CNV BIN from unicode/national to numeric field of insufficient size
 

BUGS

Changed:
<
<
  • Painted 1 character alpha/national field on image, displayed as 4 characters. alpha/unicode was ok
>
>
  • Painted 1 character national field on image, displayed as 4 characters. unicode was ok
 
  • CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
Changed:
<
<
>
>
  • Not a bug, just different implementation from above: CNV BIN from national/unicode field >1 character is rejected by ILF editor. If forced via Opt 88, correctly produces compile error
  • National fields are not transcoded to their proper character set. I can CNV BIN a character from the Unicode character set (but that does not exist in the National character set as specified on the SYSPARM file) into a National field, and it will display the Unicode character. Instead, it should transcode the Unicode character to the National character, and display that.
  • Overflow errors are not occurring at the expected limit. The max value for a 4 byte unsigned number is 4294967295, if I use this value I get overflow errors. If I decrease that by 1 to 4294967294, I do not get an overflow.
  -- JeanNeron - 2011-03-11

Revision 22011-03-11 - JeanNeron

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

CNV BIN


Changed:
<
<
Expected Behaviour
>
>
Expected Behaviour
  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: 27 to 27
 
  • 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.
Added:
>
>
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)
  • try to CNV BIN from numeric field into alpha/national and alpha/unicode from invalid numerics (negative, >=4294967296)
  • convert valid literal unicode value to alpha/national and alpha/unicode
  • try to CNV BIN from literal into alpha/national and alpha/unicode that are not 1 character (Em build error)
  • try to CNV BIN from literal into alpha/national and alpha/unicode from invalid numerics (negative, >=4294967296)
 

BUGS

Added:
>
>
  • Painted 1 character alpha/national field on image, displayed as 4 characters. alpha/unicode was ok
  • CNV BIN from negative literal does not generate compile time error, generates 'Invalid Sign' runtime error. Might not be actual bug, just different implementation?
 -- JeanNeron - 2011-03-11

Revision 12011-03-11 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="UnicodeTestPlan"

CNV BIN


Expected Behaviour

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.
  • 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 Numeric Field is greater than the maximum value that can be stored in a 4-byte unsigned binary integer.
  • An Overflow error should occur at runtime if the value of the Numeric Field is negative.

o UNICODE Alpha Field from Literal Value or NATIONAL Alpha Field from Literal Value

  • Converts a numeric literal value to a 4-byte unsigned binary integer and stores it in the 1- character (4-byte) UNICODE/NATIONAL Alpha field.
  • The UNICODE/NATIONAL Alpha Field must be defined as a 1 character (4-byte internal length) field.
  • The numeric literal value must be a positive decimal value.
  • Em build should fail if the numeric literal value is negative.
  • 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 Numeric Literal is greater than the maximum value that can be stored in a 4-byte unsigned binary integer. (Maybe this should be an Em build error instead)

o UNICODE Alpha Field to Numeric Field or NATIONAL Alpha Field to Numeric Field

  • Converts a 4-byte unsigned binary integer value that is stored in a 1-character (4-byte internal length) UNICODE/NATIONAL Alpha Field to an equivalent value stored in the specified Numeric Field.
  • 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.

BUGS

-- JeanNeron - 2011-03-11

 
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