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

Will the DB2 Precompiler works if DB2 is down


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalyantkc

New User


Joined: 07 Mar 2005
Posts: 4
Location: hyderabad

PostPosted: Wed Apr 13, 2005 9:12 pm
Reply with quote

Hi
all

Will the db2-precompiler work if db2 is down?
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Wed Apr 13, 2005 11:55 pm
Reply with quote

yes
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Thu Apr 14, 2005 7:04 pm
Reply with quote

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
View user's profile Send private message
JayC

New User


Joined: 27 Sep 2008
Posts: 70

PostPosted: Thu Dec 11, 2008 12:19 am
Reply with quote

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
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Thu Dec 11, 2008 8:14 pm
Reply with quote

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
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Fri Dec 12, 2008 10:37 am
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts SARBCH PRINTJOB option not Works with... CA Products 4
No new posts How Adabas works in Mainframe Java & MQSeries 5
No new posts how omit works exacty??? JCL & VSAM 3
No new posts Mail through JCL works, but not sendi... JCL & VSAM 2
No new posts NEXT SENTENCE control flow works. COBOL Programming 17
Search our Forums:

Back to Top