×
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.
as of v5r4 the SET OPTION *must* be the first SQL statement in the source
member.
Thanks,
Tommy Holden
From:
Bruce Collins <Bruce.Collins@xxxxxxxxxxxxx>
To:
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date:
07/11/2008 01:43 PM
Subject:
SQL0084
We just upgraded a partition from V5R3M0 to V5R4M0 with latest CUME,
Hipers and Groups. When Trying to compile an SQLRPGLE program I am now
getting this error. It works fine under V5R3. Any ideas.
Thanks
Hoss
pgetChildren b
dgetChildren pi
/free
// *****************************************************
EXEC SQL
Line 163 --> SET OPTION NAMING = *SQL, DATFMT = *ISO, COMMIT=*NONE,
CLOSQLCSR = *ENDMOD;
// By using the PREPARE statement it allows us to send the
statement
// to the SQL engine for analysis.
Exec Sql
Prepare S1 From :Sql;
// The Declare statement analyzes its associated SQL Statment,
// determines that columns are returned, and defines a record
buffer
// to hold the data that will be returned when the statement
executes.
Exec Sql
Declare C1 Cursor For S1;
// I just named the Cursor C1. I cold have named it anything.
// the Open statement Identifies which SQL Cursor to open.
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.