Lines Matching +full:log +full:- +full:windows
1 ---
6 ---
7 <!--
10 -->
16 {: .no_toc .text-delta }
21 ---
41 programs](https://sourceforge.net/projects/icu/files/OldFiles/samples/ICU-COBOL.zip)
51 must be defined in the WORKING-STORAGE section for COBOL.
56 4. For a C/C++ API with a non-void return value, the RETURNING clause will be
59 5. Character string arguments to C/C++ must be null-terminated. In COBOL, this
72 > :point_right: **Note**: Parts of identifier names in Cobol are separated by `-`, not by `_` as in…
75 |--------------------------- |---------------------------------------------------------------------…
76 | wchar_t | "DISPLAY-1 (PICTURE N, G) wchar_t is the processing code whereas DIS…
80 | short signed int | PIC S9-S9(4) COMP-5. Can beCOMP, COMP-4, or BINARY if you use the TR…
81 | short unsigned int | PIC 9-9(4) COMP-5. Can be COMP, COMP-4, or BINARY if you use the TRU…
82 | long int | PIC 9(5)-9(9) COMP-5. Can be COMP, COMP-4, or BINARY if you use the …
83 | long long int | PIC 9(10)-9(18) COMP-5. Can be COMP, COMP-4, or BINARY if you use th…
84 | float | COMP-1. …
85 | double | COMP-2. …
89 | pointer(*) to function | PROCEDURE-POINTER. …
96 |------------------------------------------|-------------------------------------------------------…
99 | int16_t | PIC S9(4) BINARY. Can beCOMP, COMP-4, or BINARY if you…
100 | uint16_t | PIC 9(4) BINARY. Can beCOMP, COMP-4, or BINARY if you …
101 | int32_t | PIC S9(9) COMP-5. Can be COMP, COMP-4, or BINARY if yo…
102 | uint32_t | PIC 9(9) COMP-5. Can be COMP, COMP-4, or BINARY if you…
103 | Uchar | PIC 9(4) BINARY. Can beCOMP, COMP-4, or BINARY if you …
104 | Uchar32 | PIC 9(9) COMP-5. Can be COMP, COMP-4, or BINARY if you…
105 | UNormalizationMode | PIC S9(9) COMP-5. Can be COMP, COMP-4, or BINARY if yo…
106 | UerrorCode | PIC S9(9) COMP-5. Can be COMP, COMP-4, or BINARY if yo…
107 | pointer(*) to object (e.g. Uconverter *) | PIC S9(9) COMP-5. Can be COMP, COMP-4, or BINARY if yo…
108 | Windows Handle | PIC S9(9) COMP-5. Can be COMP, COMP-4, or BINARY if yo…
130 WORKING-STORAGE section.
131 *--------------- Ported from unorm.h ------------
133 77 UNORM-NONE PIC
135 77 UNORM-NFD PIC
147 U_USING_FALLBACK_WARNING = -128, /* (not an error) */
148 U_USING_DEFAULT_WARNING = -127, /* (not an error) */
160 88 U-USING-FALLBACK-WARNING value -128.
162 88 U-USING-DEFAULT-WARNING value -127.
181 /*--------------------- UCNV.H ---------------------------*/
195 Call API-Pointer using
196 by value Converter-toU-Pointer
197 by reference Unicode-Input-Buffer
199 by reference Input-Buffer
202 Returning Text-Length.
220 WORKING-STORAGE section.
221 01 Converter-Pointer PIC S9(9) BINARY.
223 Move Z"iso-8859-8" to converterNameSource.
225 Call API-Pointer using
228 Returning Converter-Pointer.
247 WORKING-STORAGE section.
248 01 Converter-Name-Link-Pointer Usage is Pointer.
250 01 Converter-Name-Link.
251 03 Converter-Name-String pic X(80).
252 PROCEDURE DIVISION using Converter-Name-Link.
253 Call API-Pointer using by value Converters-Index
254 Returning Converter-Name-Link-Pointer.
255 SET Address of Converter-Name-Link
256 to Converter-Name-Link-Pointer.
258 Move Converter-Name-String to Debug-Value.
263 Inter-language communication is often problematic. This is certainly the case
267 section below deals with COBOL to C calls on a Windows platform. Similar
270 ### Windows platforms
272 The following instructions were tested on a Windows 2000 platform, with the IBM
275 For Windows, ICU APIs are normally packaged as DLLs (Dynamic Load Libraries).
302 Call "LoadLibraryA" using by reference DLL-Name
303 Returning DLL-Handle.
304 IF DLL-Handle = ZEROS
309 Input Value: DLL Name (null-terminated string)
312 null-terminated, or the DLL file is not available (in the current directory or
319 Call "GetProcAddress" using by value DLL-Handle
320 by reference API-Name
321 Returning API-Pointer.
322 IF API-Pointer = NULL
325 Return value: API address, defined as PROCEDURE-POINTER
327 Procedure Name (null-terminated string)
330 case-sensitive), or the string is not null-terminated, or the API is not
335 Call API-Pointer using . . . returning . . .
344 Call "FreeLibrary" using DLL-Handle.
352 developed on and for a Windows 2000 platform. Some adaptations may be necessary
361 3. Make the libraries accessible (for instance on Windows systems, add the
368 Each program is supplied with input test files and with a model log file. If the
369 log file that you create by running a sample program is equivalent to the model
370 log file, your setup is probably correct.
383 * - Display the names of the converters from a list of all
385 * - Display the current default converter name.
386 * - Set new default converter name.
388 * - Read a string from Input file "ICU_Conv_Input_8.txt"
389 * (File in UTF-8 Format)
390 * - Convert this string from UTF-8 to code page iso-8859-8
391 * - Write the result to output file "ICU_Conv_Output.txt"
393 * - Read a line from Input file "ICU_Conv_Input.txt"
395 * - Convert this string from code page ibm-862 to UTF-16
396 * - Convert the resulting string from UTF-16 to code page windows-1255
397 * - Write the result to output file "ICU_ Conv_Output.txt"
398 * - Write debugging information to Display and
399 * log file "ICU_Conv_Log.txt" (File in ANSI Format)
400 * - Repeat for all lines in Input file
418 * - Read a string array from Input file "ICU_Coll_Input.txt"
420 * - Convert string array from code page into UTF-16 format
421 * - Compare the string array into the canonical composed
422 * - Perform bubble sort of string array, according
424 * - Convert string array from Unicode into code page format
425 * - Write the result to output file "ICU_Coll_Output.txt"
427 * - Write debugging information to Display and
428 * log file "ICU_Coll_Log.txt" (file in ANSI format)
445 * - Read a string from input file "ICU_NORM_Input.txt"
447 * - Convert the string from code page into UTF-16 format
448 * - Perform quick check on the string, to determine if the
451 * - Normalize the string into canonical composed form
453 * - Perform quick check on the result string, to determine
455 * - Convert the string from Unicode into the code page format
456 * - Write the result to output file "ICU_NORM_Output.txt"
458 * - Write debugging information to Display and
459 * log file "ICU_NORM_Log.txt" (file in ANSI format)