IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

"optimize" compiler option was cancelled.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kranthikumarb

Active User


Joined: 02 Jan 2009
Posts: 115
Location: Hyderabad

PostPosted: Thu Jan 15, 2009 2:06 pm
Reply with quote

I am writing a simple cics cobol program. It includes a DCLGEN ans SQLCA. It is throwing an error like this:

GYSC3002-I A severe error was found in the program. The "OPTIMIZE" compiler option was cancelled.

IGYDS0225-S An "EXEC SQL" statement was found, but the "SQL" compiler option was discarded.

Please help me
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Jan 15, 2009 3:45 pm
Reply with quote

Get rid of the S & E errors and recompile......
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 11:21 pm
Reply with quote

Are you using a JCL generated by ISPF panels or your own JCL?
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Jan 16, 2009 12:10 am
Reply with quote

sounds like an inhouse issue with your job control.

Why not just ask your Tech Support people ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 16, 2009 12:15 am
Reply with quote

Quote:
IGYDS0225-S An "EXEC SQL" statement was found, but the "SQL" compiler option was discarded.
This is the key -- find out why the SQL option was discarded and then your S-level error will go away.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts SCOPE PENDING option -check data DB2 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
Search our Forums:

Back to Top