View previous topic :: View next topic
|
Author |
Message |
kalyantkc
New User
Joined: 07 Mar 2005 Posts: 4 Location: hyderabad
|
|
|
|
Hi
all
Will the db2-precompiler work if db2 is down? |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
yes |
|
Back to top |
|
|
learnmf
Active User
Joined: 14 Mar 2005 Posts: 123
|
|
|
|
Quote: |
Hi
all
Will the db2-precompiler work if db2 is down? |
Hi Friend
The Db2 precompiler will work although Db2 will down .
Thanks
Chandra |
|
Back to top |
|
|
JayC
New User
Joined: 27 Sep 2008 Posts: 70
|
|
|
|
The Precomplier doesn't need the DB2 to do what does. The precomplier will check the syntax and whether your using the right table/column names by looking at the COPYBOOK/DCLGENS that are present in the COPYLIB that you have given in the precomplier step.
Its the BIND that will need DB2, as it checks the DB2 statements by going against the Db2 catalog tables .
Correct me if theres anything wrong in what I have said ... |
|
Back to top |
|
|
star_dhruv2000
New User
Joined: 03 Nov 2006 Posts: 87 Location: Plymouth, MN USA
|
|
|
|
Rightly said JayC. Precompiler strips SQL statements from source code and verifies the sytax by checking it against DCLGEN.
Cheers!
Happy Coding |
|
Back to top |
|
|
hikaps14
Active User
Joined: 02 Sep 2005 Posts: 189 Location: Noida
|
|
|
|
Hey guys,
Just for your info. Read on the below link. Its one of the best articles on Precompiler & BIND.
Enjoy reading it.
Thanks,
-Kapil. |
|
Back to top |
|
|
|