Page 1¶
Product Information¶
| Product name | Product number |
|---|---|
| SIBAS/R SQL Library for ND-500/5000 | 211574B |
Description of Product¶
The SQL Library allows application programs to access the SIBAS/R database using SQL-oriented function calls. Ordinary SIBAS calls can also be used and mixed with SQL calls.
To make the interface as easy to use as possible, there is a library for each of the languages COBOL, FORTRAN, PLANC and C.
There are precompilers for COBOL and FORTRAN with embedded SQL.
NOTE:
To test out queries and verify that the database system works correctly, we recommend the product:
211575B SIBAS/R Interactive SQL for ND 500/5000
Reason(s) for New Release¶
+---------------------------------------------------+
| - The new SIBAS/R process with built in SQL |
| server allows SQL programming from application |
| programs. |
+---------------------------------------------------+
Table of Contents¶
| Table of Contents | Page |
|---|---|
| Prerequisites | 2 |
| Dependencies | 3 |
| Documentation | 3 |
| Installation procedure | 4 |
| Modifications | 6 |
| Errors corrected | 6 |
| Errors known but not corrected | 6 |
ND-895616.1 EN
Page 2¶
Product Information¶
| Date | Norsk Data | Page |
|---|---|---|
| 90.10.16 | 2 of 6 |
Product Name¶
SIBAS/R SQL Library for ND-500/5000
Product Number¶
211574B
1 Prerequisites¶
The following things are required in order to use this product.
1.1 Hardware Prerequisites¶
The following hardware must be present for this product to be used:
CPU type (any of the following):
- 500
- 5000
1.2 Software Prerequisites¶
The following software must be installed on the system for this product to be used:
Operating system:
| Name | Version/Revision |
|---|---|
| SINTRAN III - K | >11000B |
| SINTRAN III - L |
Other software:
| Product name | Product number |
|---|---|
| SIBAS/R version B05 | 220001B05 |
| UE-ERRORS, version D09 or later. | 210586D |
1.3 Other Prerequisites¶
The following are necessary for this product to be used.
Minimum Permanent Mass Storage:
| User | Space (pages) | Number of files |
|---|---|---|
| SQL-SYS | 300-600 | 10-26 (depends..) |
ND-895616.1 EN
Scanned by Jonny Oddene for Sintran Data © 2011
Page 3¶
Product Information¶
| Date | 90.10.16 |
|---|---|
| Company | Norsk Data |
| Page | 3 of 6 |
| Product name | Product number |
|---|---|
| SIBAS/R SQL Library for ND-500/5000 | 211574B |
2 Dependencies¶
The SQL Library is self-contained.
However, the interactive query editor, 211575B SIBAS/R Interactive SQL for ND-500/5000 will be of great help.
3 Documentation¶
Included (distributed free with product)
| Title | Number |
|---|---|
| DIALOGUE - SQL Application Development | ND-860259.1 EN |
ND-895616.1 EN
Page 4¶
Product Information¶
| Date | Norsk Data | Page 4 of 6 |
|---|---|---|
| Product name | SIBAS/R SQL Library for ND-500/5000 | Product number |
| 211574B |
4 Installation Procedure¶
The installation process is simple. Just copy the files to SINTRAN user (SQL-SYS). Create this user if it does not already exist.
If you want the library for all languages, then copy the whole diskette. If you only want the library for one language, just select the files you need from this list: (use for example, the BACKUP-SYSTEM)
The following files are always needed:
| File | Description |
|---|---|
| sort-merge:nrf | ORDER BY is executed by SQL library. |
| planc-lib-j:nrf | PLANC library. The SQL programming libraries are written in PLANC, so all this library must be loaded with all programs. (vers J is not required, H or I will do) |
| mon-call-lib:nrf | Monitor call library. |
| planc-util:nrf | Standard PLANC utilities |
| uelib-p5-d00:nrf | The library use UE to convert error codes to text, and to the correct name of the user. |
| uelib-d5-d00:nrf | |
| ue-plib-p5-d:nrf | |
| ue-plib-d5-d:nrf |
Copy these files if you intend to use the programming language COBOL:
| File | Description |
|---|---|
| sqllib-cob-B01:nrf | SQL library for the programming language COBOL. |
| SQL-PRE-COB-B01:DOM | SQL precompiler for COBOL. |
| ex5-pre-cob:symb | Programming example in COBOL with embedded SQL statements. |
| pre-cobol:mode | JEC file to precompile and load the programming example. |
Copy these files if you intend to use the programming language FORTRAN:
| File | Description |
|---|---|
| sqllib-for-B01:nrf | SQL library for the programming language FORTRAN. |
| SQL-PRE-FOR-B01:DOM | SQL precompiler for FORTRAN. |
| ex5-pre-for:symb | Programming example in FORTRAN with embedded SQL statements. |
| pre-fortran:mode | JEC file to precompile and load the programming example. |
ND-895616.1 EN
[Scanned by Jonny Oddene for Sintran Data © 2011]
Page 5¶
Product Information¶
Date: 90.10.16
Norsk Data
Page: 5 of 6
Product Details¶
| Product name | Product number |
|---|---|
| SIBAS/R SQL Library for ND-500/5000 | 211574B |
Copy these files if you intend to use the programming language PLANC:
| File Name | Description |
|---|---|
| sqllib-planc-B01:nrf | SQL library for the programming language PLANC |
| sqllib-planc-B01:impt | Import file for SQL library |
| sqllib-planc-B01:defs | Definition of data types, cursor etc. |
| ex5-planc:symb | Programming example in PLANC |
| ex5-planc:load | To load the programming example |
Copy these files if you intend to use the programming language C:
| File Name | Description |
|---|---|
| sqllib-nc-B01:nrf | SQL library for the programming language C |
| sqllib-nc-B01:h | Header file for the library |
| bcd-lib-nc-B01:h | Header file for the BCD library |
| ex5-nc:symb | Programming example in C |
| ex5-nc:load | To load the programming example |
ND-895616.1 EN
[Scanned by Jonny Oddene for Sintran Data © 2011]
Page 6¶
Product Information¶
| Date | Norsk Data | Page |
|---|---|---|
| 90.10.16 | 6 of 6 |
| Product name | Product number |
|---|---|
| SIBAS/R SQL Library for ND-500/5000 | 211574B |
5 Modifications¶
5.1 New Functions/Commands¶
None.
5.2 Changed Functions/Commands¶
None.
5.3 Removed Functions/Commands¶
None.
5.4 Other Modifications¶
None.
6 Errors Corrected¶
None.
7 Errors Known But Not Corrected¶
None.
7.1 Limitations¶
SIBAS/R B05 can only handle one SQL-thread.
SQL statements are therefore not permitted in transactions.
The library may sometimes find the SQL server busy. In this case the library will wait until the server is ready.
ND-895616.1 EN