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: 10231
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: 1753
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: 992
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: 7306

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: 1002
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 Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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