Other PSL Functions
Unlike the functions in PSL International Functions, the functions described in this section existed before internationalized versions of PATROL were available. These functions have little to do with internationalized PSL development, but each function has a feature or two that supports internationalization. The following section briefly describes these features.
Command Execution Functions
The following table lists the command execution functions that have internationalization features.
Function | Description |
---|---|
| You should set the CODECVT locale category to match the locale of the command output. If CODECVT differs from CTYPE, this function converts the locale and returns text in CTYPE. |
| You should set the CODECVT locale category to match the locale of the text data in the file. This function opens a channel that has a registered locale equal to CODECVT. During subsequent read and write operations, PATROL automatically converts the locale when necessary. |
| You should set the CODECVT locale category to match the locale of the text data in the channel. This function opens a channel that has a registered locale equal to CODECVT. During subsequent read and write operations, PATROL automatically converts the locale when necessary. |
| You should set the CODECVT locale category to match the locale of the command output. If CODECVT differs from CTYPE, this function converts the locale and returns text in CTYPE. |
Input and Output Functions
The following table lists the input and output functions that have internationalization features.
Function | Description |
---|---|
| The |
| If the registered locale for the channel differs from CTYPE, |
| If the registered locale for the channel differs from CTYPE, |
| If the registered locale for the channel differs from CTYPE, |
File Handling Functions
The following table lists the file-handling functions that have internationalization features.
Function | Description |
---|---|
| You should set the CODECVT locale category to match the locale of the text data in the file. If CODECVT differs from CTYPE, this function converts the locale and returns text in CTYPE. |
| The offset parameter of the |
| The |
String Functions
The following table lists the string functions that have internationalization features.
Function | Description |
---|---|
| The |
| The |
| The |
| These functions support multiple-byte characters in the text and separator parameters. |
| The |
| The |
| The |
| The |
Set Functions
The following table lists the set functions that have internationalization features.
Function | Description |
---|---|
| The |
| These functions support multiple-byte characters in the element strings. |
Date and Time
The following table lists the date and time functions that have internationalization features.
Function | Description |
---|---|
| The |
Comments
Log in or register to comment.