PROGRESS HLI

PROGRESS HLI

Post by Mark Nels » Sat, 27 Apr 1991 06:19:25



I am interested in perspectives on the PROGRESS 4GL products. I am
currently creating an Ada interface to the progress SQL calls and
would like to know if anyone has experience using the PROGRESS HLI/C
entry points directly from within a C application?

Information can be emailed directly or posted to this newsgroup.

Thanks

      ____  _         ____
     /   / / |    /  /   /
    /___  /__|   /  /
       / /   |  /  /
  /___/ /    | /  /____/

Mark A. Nelson                    |
Ada Development Group             |  uunet!seismo!esosun!mark

San Diego, CA                     |

 
 
 

1. PROGRESS HLI problem - need help

I am looking for someone who can help me with the following problem:
  I have a Progress database, and am using the Progress tool HLI to
  extract information from that database using 'C' code.  The code
  listed below compiles and links fine, but when I execute it, I get
  a bad return code, and nothing was extracted from the database.  I
  would appreciate any help anyone can offer.

#include <string.h>
#include <stdio.h>
void main(void)
{
      long SQLCODE;
   EXEC SQL BEGIN DECLARE SECTION;
      char my_desc[16];
   EXEC SQL END DECLARE SECTION;

   if (sqllogin(0,(char **)0, "-db demo", "") == -1)
       return;
   else
       printf("login ok\n");

   EXEC SQL SELECT st\-desc INTO :my_desc FROM state where st == "TX";

   printf("SQLCODE=%ld\ndescription of texas=%s\n",SQLCODE,my_desc);
   sqllogout();

Operating system SCO Unix
Computer DELL 433
Progress version 6.03E03

Thanks,                
Elmer Phillippi

Genesis Data Systems
Houston

2. Decimals

3. SQL Anywhere, VB5 and the SQL HLI

4. sql-NT setup : facing an odd problem

5. Need Unify HLI interface for Oracle

6. Handling Nulls in queries

7. SQL Anywhere connecting to NT Server via HLI / wsqlexec

8. SQL Mail

9. C++ as an HLI ?

10. HLI/C

11. Wang PACE HLI Programmer Needed

12. Track the progress of Replication by progress bar?

13. Progress Bar when Backup Command is in Progress