× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



@Birgitta: what the reference tells and what the SQL precompiler really does, depends on PTF level, especially with Variables and their scope and why should I take any risc of programms working diffrent from PTF level to PTF level, or compiling sometimes and sometimes not.

Looking to the reference even local cursor declarations should be possible in V7R1.

**********************************************************
But my recommendations are, keep it simple and tiny:

- use Views instead of complicated SQL statements insite programms
- one separate data access module for every View
- put your declare cursor to the top of your global C specs
- use global variables for your hostvariables in embedded SQL statements, from the design perspective they are statefull anyway
- define all stateless variables as local variables in procedures
- if you need data from diffrent views, use the get and set procedures of the responsable data access modules

D*B

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.