My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
CRDSS_Task1_05-7_UseOFEmbeddedSQLInCRDSS
CWCB
>
Decision Support Systems
>
DayForward
>
CRDSS_Task1_05-7_UseOFEmbeddedSQLInCRDSS
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
9/25/2011 10:18:52 AM
Creation date
5/30/2008 2:24:12 PM
Metadata
Fields
Template:
Decision Support Systems
Title
CRDSS Task 1.05-7 - Study of System Integration Issues Database - Use of Embedded SQL in CRDSS
Description
This memorandum discusses the related to using ESQL in the CRDSS.
Decision Support - Doc Type
Task Memorandum
Date
5/10/1994
DSS Category
DMI Utilities
DSS
Colorado River
Basin
Colorado Mainstem
Contract/PO #
C153658, C153727, C153752
Grant Type
Non-Reimbursable
Bill Number
SB92-87, HB93-1273, SB94-029, HB95-1155, SB96-153, HB97-008
Prepared By
Riverside Technology inc.
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
5
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
#include <stdio.h> <br />$include sqlca; <br />/* <br /> Several header files are provided with INFORMIX-ESQL/C, all of which <br />are located in the $INFORMIXDIR/incl directory. The sqlca.h file <br />contains the structure in which error status codes are stored. This <br />file is automatically included when a program is preprocessed, to <br />allow checking success or failure of SQL statements. <br />*/ <br />$define FNAME_LEN10; <br />$define LNAME_LEN20; <br />$define ORG_LEN30; <br />$define ADDR1_LEN60; <br />$define ADDR2_LEN60; <br />$define CITY_LEN20; <br />$define STATE_LEN2; <br />$define ZIP_LEN5; <br />$define EMAIL_LEN30; <br />$define PHONE_LEN12; <br />$define FAX_LEN12; <br />$define MODEM_LEN12; <br />$define USERTYPE_LEN1; <br />$define ENTERED_LEN8; <br />$define UPDATED_LEN8; <br />main() <br />{ <br />$char fname[ FNAME_LEN + 1 ]; <br />$char lname[ LNAME_LEN + 1 ]; <br />$char org[ ORG_LEN + 1 ]; <br />$char address1[ ADDR1_LEN + 1 ]; <br />$char address2[ ADDR2_LEN + 1 ]; <br />$char city[ CITY_LEN + 1 ]; <br />$char state[ STATE_LEN + 1 ]; <br />$char zip[ ZIP_LEN + 1 ]; <br />$char email[ EMAIL_LEN + 1 ]; <br />$char phone[ PHONE_LEN + 1 ]; <br />$char fax[ FAX_LEN + 1 ]; <br />$char modem[ MODEM_LEN + 1 ]; <br />$char usertype[ USERTYPE_LEN + 1 ]; <br />$char entered[ ENTERED_LEN + 1 ]; <br />$char updated[ UPDATED_LEN + 1 ]; <br />printf( "CRDSS Sample ESQL program running.\n\n"); <br />4 <br />A275 05.10.94 1.05-7 Malers, Rohlfs <br />
The URL can be used to link to this page
Your browser does not support the video tag.