NORSLOCATORS

Enables non-COBOL client applications to read result sets from COBOL stored procedures that have been migrated from the mainframe. SQL Server COBOL stored procedures return result sets as simulated mainframe result sets.
Restriction: NORSLOCATORS applies to .NET SQL Server COBOL stored procedures only.

Syntax:

NORSLOCATORS

Properties:

Default: None

Dependencies:

To use NORSLOCATORS, you must set DIALECT=MAINFRAME and DBMAN=ADO.

Scope:

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

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

Comments:

While compiling COBOL stored procedures, the specification of NORSLOCATORS in combination with DIALECT=MAINFRAME and DBMAN=ADO ensures that cursors declared as WITH RETURN TO CALLER return default SQL Server result sets rather than simulated mainframe result set locators.