Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can I copy book which contain db2 statment in procedure
divion?

Answer Posted / vikas pujar

No. Because the Precompiler will comment out all the SQL statements and replace them with equvi call statements. And if use DB2 statment in Copy ,during pre compilation the statements in the copybook wont be commented out.. they will get expanded during compliation of modified source code and we will get Complilation error there.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

1347


Define cobol?

1318


What is amode(24)?

1194


Name some of the examples of COBOl 11?

3089


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12209


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3180


What the difference is between continue and next sentence?

1114


What is inspect in cobol ?

1253


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1148


What is rmode(any) ?

1193


How do get the result of your program directly on your pc?

2303


how do you reference the esds vsam file formats from cobol programs

1136


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1183


What is the Purpose of Pointer in the string?

1032


How many sections are there in data division in COBOL?

1088