Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Preinitialized Data Structure Generated by the Precompiler

IP.com Disclosure Number: IPCOM000037716D
Original Publication Date: 1989-Jun-01
Included in the Prior Art Database: 2005-Jan-29
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Garrison, JR: AUTHOR [+2]

Abstract

Disclosed is a process to store static information in a precompiled source file so that the information can be used at runtime for the Database Manager to process executable SQL statements.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

Preinitialized Data Structure Generated by the Precompiler

Disclosed is a process to store static information in a precompiled source file so that the information can be used at runtime for the Database Manager to process executable SQL statements.

The precompiler generates runtime calls to the Database Manager for every executable SQL statement found in a user's source file. Each of these calls requires certain information to be stored in a data structure, the SQLRA. Some of the information changes on each call and some is static for the entire application.

The precompiler generates a data structure in the user's source file to store the static information so that it can be used to initialize the SQLRA before each call to the Database Manager. The initiaization occurs at runtime.

The data structure generated by the precompiler has the same general structure as an actual SQLRA. The static data is stored as initialization data for the declared data structure. The structure is passed to a runtime function that can use it as an actual SQLRA data structure.

The structure is available to the code in the source file and also to the Database Manager runtime functions. The static data is stored in the proper fields required for a real SQLRA, so there is no need to reassign the static data for each call to a runtime function.

Disclosed anonymously.

1