aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PCB-00236: Cannot use PIC N/G variable. NLS_NCHAR not set or set incorrectly.

PCB-00236: Cannot use PIC N/G variable. NLS_NCHAR not set or set incorrectly.
Cause: To use PIC N or PIC G variables as host variables, both of the environment variables NLS_LANG and NLS_NCHAR must be set with correct values. One of the following problems has occurred which prevents Pro*COBOL from accepting PIC N and PIC G variables as host variables: 1) One or both of NLS_LANG and NLS_NCHAR are not set at all. 2) NLS_LANG is not set with a valid language, territory, or character set. 3) NLS_NCHAR is not set to a valid NCHAR character set. 4) The character set specified by NLS_NCHAR is not a fixed width character set. Pro*COBOL can only use fixed width character sets for PIC N or PIC G host variables.
Action: Set the NLS_NCHAR environment variable to a valid fixed width character set name. Set NLS_LANG with a valid language, territory, and character set.

请先 登录 后评论

1 个回答

小智
PCB-00236:不能使用PIC N / G变量。NLS_NCHAR未设置或设置不正确。,
.原因:要使用PIC N或PIC G变量作为主机变量,必须使用正确的值设置环境变量NLS_LANG和NLS_NCHAR。发生以下问题之一,防止Pro * COBOL接受PIC N和PIC G变量作为主机变量:1)NLS_LANG和NLS_NCHAR中的一个或两个都不会被设置。2)NLS_LANG未设置有效的语言,区域或字符集。3)NLS_NCHAR未设置为有效的NCHAR字符集。4)由NLS_NCHAR指定的字符集不是固定宽度的字符集。Pro * COBOL只能对PIC N或PIC G主机变量使用固定宽度的字符集。,
.操作:将NLS_NCHAR环境变量设置为有效的固定宽度字符集名称。使用有效的语言,区域和字符集设置NLS_LANG。,
.
请先 登录 后评论