Hi All,
Can I get any document for unicode implementation in Cobol? Any help in this regard will be greatly appreciated.
Thanks.
~Anand
Using national data (Unicode) in COBOL
In Enterprise COBOL, you can specify national (UTF-16) data in any of several ways.
These types of national data are available:
* National data items (categories national, national-edited, and numeric-edited)
* National literals
* Figurative constants as national characters
* Numeric data items (national decimal and national floating-point)
In addition, you can define national groups that contain only data items that explicitly or implicitly have USAGE NATIONAL, and that behave in the same way as elementary category national data items in most operations.
These declarations affect the amount of storage that is needed.
since the manual specifically mentions an application error?-981 THE SQL STATEMENT FAILED BECAUSE THE
RRSAF CONNECTION IS NOT IN A STATE
THAT ALLOWS SQL OPERATIONS, REASON
reason-code.
Explanation: The application attempted to execute an SQL
operation but the RRSAF connection was not in a state that
allows the processing of SQL statements.
System Action: The statement cannot be executed.
Programmer Response: See reason-code in “Section 4. DB2
Codes†on page 571 for an explanation of the problem.
Correct the error in the application, REBIND, and run the application
again.
Destination: 57015
You make ABSOLUTELY no sense. The COBOL compiler option CODEPAGE requires a number parameter, not any words such as "Unicode". CODEPAGE(1140) must be specified for UTF-16 -- not CODEPAGE(UNICODE).everytime we give Codepage as Unicode in the cobol compilation and it take UTF-8 always.
Are you referring to a zIIP or zAAP co-processor? If not, what do you mean since "coprocessor" has very specific, highly limited meaning in the mainframe environment and none of the ways I'm used to seeing the word makes sense in your statement here.We have been using coprocesser for the compilation wherein we don' have to precompile the program.