View previous topic :: View next topic
|
Author |
Message |
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
Hi
I have subprogram cobol-sql code, main program only cobol code.
how to compile the program means sub program ( pre comple,comile, bind),we need to do same thing main program or not, if doing main program why it need without sql code. then how to run the program
suresh |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
if your mainprogram has no SQL's and subprogram has it, you need not compile the mainprogam with precompile ( There is no harm to do the same too)
Cause, In binding you will get an error, if you precompile and bind the proram with no SQL's Stating no SQL statements found in DBRM
In JCl you run the program as usual, but remeber to bind the subprogram |
|
Back to top |
|
|
|