Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Will the DB2 Precompiler works if DB2 is down

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Will the DB2 Precompiler works if DB2 is down
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Will the DB2 Precompiler works if DB2 is down
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How Adabas works in Mainframe ranujn Java & MQSeries 5 Sat Jun 04, 2016 11:20 am
No new posts how omit works exacty??? ram_vizag JCL & VSAM 3 Tue Nov 05, 2013 5:17 pm
No new posts Mail through JCL works, but not sendi... Meenakshi Selvaraj JCL & VSAM 2 Wed Jan 02, 2013 11:18 am
No new posts NEXT SENTENCE control flow works. Bill Woodger COBOL Programming 17 Fri Aug 26, 2011 11:03 pm
No new posts IBM Developer Works dbzTHEdinosauer All Other Mainframe Topics 1 Sun Jun 19, 2011 5:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us