Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

"SQL" compiler option was not effect

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
chavinash2004

New User


Joined: 30 Jun 2010
Posts: 13
Location: hyderabad

PostPosted: Fri Oct 15, 2010 4:00 pm    Post subject: "SQL" compiler option was not effect
Reply with quote

While compling i am getting this error please any one solve my ASAP

EXEC SQL" statement was found, but the "SQL" compiler option was not
effect. The statement was discarded.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Oct 15, 2010 4:10 pm    Post subject: Reply to: SQL
Reply with quote

if You have ASAP issues hire a consultant
he will be glad to agree to Your terms negotiating a proper fee

our replies are
on our time
our equipment
free of charge

the compilation procedures are site dependent, ask Your support for the process/proc to be followed/used
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 15, 2010 7:16 pm    Post subject:
Reply with quote

Hello,

Every environment has standard compile processes in place. For whatever reason, you chose to use something of your own (or used the wrong compile process - there will most likely be multiple compile processes depending on the code to be compiled).

Your technical support can tell you which is the proper process to use on your system.
Back to top
View user's profile Send private message
haronrasheed

New User


Joined: 27 Dec 2007
Posts: 4
Location: Chennai

PostPosted: Mon Jun 17, 2013 2:07 pm    Post subject: Reply to: "SQL" compiler option was not effect
Reply with quote

I recently faced this issue (IGYXX0225-S) and was able to solve the problem. In general, technical support won't interfere with activities that affect program compilation. Atleast not without a formal communication to warn the users. So you can bet that it is something with your program.

Solution:
My problem was that the I did not start the "EXEC SQL INCLUDE SQLCA END-EXEC." in column 12. I believe you too had the same issue.

If your issue was different, please post on what the cause was. Will help us learn.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1771
Location: Bloomington, IL

PostPosted: Mon Jun 17, 2013 3:11 pm    Post subject:
Reply with quote

Given that IGY is the COBOL prefix, either Avinash has posted to the wrong forum, or what you write is irrelevant.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Jun 17, 2013 4:08 pm    Post subject:
Reply with quote

Have you the PP(SQL'options') compile option specified and the DB2 library available to the compiler?

Garry
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 17, 2013 6:47 pm    Post subject:
Reply with quote

Hello,

Quote:
My problem was that the I did not start the "EXEC SQL INCLUDE SQLCA END-EXEC." in column 12. I believe you too had the same issue.

If your issue was different, please post on what the cause was. Will help us learn.
Do realize that you have replied to a topic that became dormant in 2010 . . .

It is best to reply to currently active topics icon_wink.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Jun 17, 2013 9:16 pm    Post subject: Reply to: "SQL" compiler option was not effect
Reply with quote

Although, curiously, the original does turn out to be a COBOL compiler diagnostic message :-)
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1027
Location: Oostende, Belgium

PostPosted: Mon Jun 17, 2013 9:43 pm    Post subject:
Reply with quote

dick scherrer wrote:
Do realize that you have replied to a topic that became dormant in 2010 . . .

It is best to reply to currently active topics icon_wink.gif

Then why don't the moderators close topics older than one/two/three/six months, like yours truly does on the FanDez forum, after just one month...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us