Hi all,
I'm getting the error No SQL directives set ,during compilation of a program..can anyone help
No SQL directives set ,during compilation of a program.
-
- Registered Member
- Posts: 21
- Joined: Mon Jan 18, 2016 8:16 am
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: No SQL directives set ,during compilation of a program.
Assembler program? COBOL program? PL/I program? Some other type of program?
The message means that you did NOT tell the compiler that you have EXEC SQL statements in your code, and hence the compiler did not prepare your program correctly. Go back and set the SQL directive in the compile JCL (or program source) and compile it again.
The message means that you did NOT tell the compiler that you have EXEC SQL statements in your code, and hence the compiler did not prepare your program correctly. Go back and set the SQL directive in the compile JCL (or program source) and compile it again.
-
- Registered Member
- Posts: 21
- Joined: Mon Jan 18, 2016 8:16 am
Re: No SQL directives set ,during compilation of a program.
It was a COBOL program. It was an error with correct compiler option at the time of compile. Thanks.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute