|
View previous topic :: View next topic
|
| Author |
Message |
kranthikumarb
Active User
Joined: 02 Jan 2009 Posts: 115 Location: Hyderabad
|
|
|
|
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 |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| Get rid of the S & E errors and recompile...... |
|
| Back to top |
|
 |
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
| Are you using a JCL generated by ISPF panels or your own JCL? |
|
| Back to top |
|
 |
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
sounds like an inhouse issue with your job control.
Why not just ask your Tech Support people ? |
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| 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 |
|
 |
|
|