×
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.
When an RPG program (or module) containing embedded SQL is compiled it is
first passed through a pre-compiler which converts the SQL into calls to the
various SQL API's.
The "new" source is written to a source file in QTEMP, so if you do a DSPPGM
or DSPMOD on the program or module and see that the source file is in QTEMP
then there's a reasonable bet that it contains embedded SQL.
The alternative is to look at the programs references and see if any calls
are made to the SQL API's - not sure on their names off the top of my head.
There is a utility at www.astradyne-uk.com/download.htm that can generate a
cross reference file of all program and file references in a library.
All the best
Jonathan
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Chris Beck
Sent: 31 October 2008 18:37
To: rpg400-l@xxxxxxxxxxxx
Subject: Does a program contain embedded SQL?
Does anyone know how to tell by only looking at the object if a program
contains embedded SQL?
I looked through the API's but didn't see much, I hope I am just missing the
obvious.
Chris
This email transmission and any documents, files or previous
email messages attached to it may contain information that is
confidential or legally privileged. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
printing, distributing or use of this transmission is strictly
prohibited. If you have received this transmission in error,
please immediately notify the sender by telephone or return
email and delete the original transmission and its attachments
without reading or saving in any manner.
The Evangelical Lutheran Good Samaritan Society.
As an Amazon Associate we earn from qualifying purchases.
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.