DBRMLIB[=DBRMLIBName]
NODBRMLIB
Default: | DBRMLIB
This is the equivalent of DBRMLIB=DBRMLIB. |
Requires that DBMAN is set to ODBC.
Requires that the TARGETDB SQL directive be set to TARGETDB=MSSQLSERVER.
Automatically sets the CHECK SQL directive.
Mutually exclusive with both BIND and ACCESS.
Used at compile time: | Yes |
Behavior at run time: | Source file |
See Scope - HCOSS SQL Compiler Directive Options for more information.
If required to fully emulate your mainframe setup, you can also specify the MEMBER and VERSION directives.
Before running your application, use the DSN command or the Manage Packages and Plans tool to bind DBRMs to packages and/or plans in the database.
Packages and plans are stored as SQL Server stored procedures.
SET CURRENT PACKAGESET SET CURRENT PACKAGE PATH SET APPLICATION PLAN
DBRMs are stored as XML files with an extension of .hcodbrm in the localHCOSSFiles\DBRMDataSets\DBRMLIBName directory, where localHCOSSFiles represents the value of the Local HCOSS Directory HCOSS option, and DBRMLIBName represents the value of the DBRMLIB directive.
SET CURRENT PACKAGESET VALUES INTO CURRENT PACKAGESET SET CURRENT PACKAGE PATH VALUES INTO CURRENT PACKAGE PATH
DBRMLIB enables use of the APPLICATION PLAN special register, that can be used in SET host-variableAssignment and VALUES INTO statements, and also supports the SET APPLICATION PLAN statement, which allows an application to set the application plan to be used when static SQL statements in DBRMs generated by the DBRMLIB directive are executed.