Previous Topic Next topic Print topic


PROCOB

Sets the DATE SQL compiler directive option to EXTERNAL.
Restriction: Applies to .NET applications only.

Syntax:

PROCOB

Properties:

Default: None

Dependencies:

To use PROCOB, you must set DBMAN=ADO.

PROCOB automatically sets CHECKSINGLETON.

Scope:

Used at compile time: Yes
Behavior at run time: Source file

See Scope - OpenESQL SQL Compiler Directive Options for more information.

Comments:

When SQL(PROCOB) is set, Oracle date and timestamp result types fetched into PIC X(n) host variables are truncated without warning.

When SQL(PROCOB) is set, OpenESQL error codes in the SQLCA are converted to Pro*COBOL-compatible error codes. This is controlled by the mfpcocds.txt file, located in %ProgramData%\Micro Focus\SQLCODES by default.

Previous Topic Next topic Print topic