×
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.
Jerry,
The CRTRPGMOD does not include the SQL preprocessor.
Use CRTSQLRPGI command with the *MODULE option.
Hope that helps,
Mark S. Waterbury
On Tuesday, November 26, 2024 at 10:11:14 AM EST, (WalzCraft) Jerry Forss <jforss@xxxxxxxxxxxxx> wrote:
Not sure why this is giving me trouble.
I have a service pgm that has been used for years that I want to make a change to.
When I CRTRPGMOD (it is SQLRPGLE) it is failing saying the SQL is invalid.
I am not even touching this export!!
040000 WorkDate = %Date(DateIso : *ISO);
040100 DateISOAlpha = %EditC(DateISO : 'X');
040200
040300 Exec SQL Set :MonthName = MonthName( :WorkDate);
======> aaa
*RNF5347 30 a 040300 An assignment operator is expected with the EVAL operation.
040400
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+
Msg id Sv Statement Message text
*RNF7030 30 040300 The name or indicator EXEC is not defined.
*RNF7030 30 040300 The name or indicator SQL is not defined.
Entire Export
...(snip)...
As an Amazon Associate we earn from qualifying purchases.