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 a Db2 table data be retrived through JCL?

Answers were Sorted based on User's Feedback



Can a Db2 table data be retrived through JCL?..

Answer / srikant

yes

Is This Answer Correct ?    4 Yes 3 No

Can a Db2 table data be retrived through JCL?..

Answer / kingmanish

Yes ofcourse

Use any of the unload utilities

Is This Answer Correct ?    2 Yes 1 No

Can a Db2 table data be retrived through JCL?..

Answer / azharuddinsyed

Yes,

That is how we are unloading data from table to dataset.

Is This Answer Correct ?    0 Yes 0 No

Can a Db2 table data be retrived through JCL?..

Answer / mr. cooooool

Hi...............

Use the Following jcl to retrived the Db2 table data.

//SYSREC00 DD DSN=COOL.UNLOAD.SYSREC02,
// UNIT=SYSDA,SPACE=(32760,(1000,500)),DISP=(MOD,CATLG)
//SYSPUNCH DD DSN=COOL.UNLOAD.SYSPUNC1,
// UNIT=SYSDA,SPACE=(800,(15,15)),DISP=(MOD,CATLG)
//SYSIN DD *
SELECT * FROM SYSIBM.SYSTABLES WHERE OWNER = 'COOL123';
/*
//


THANKS

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More DB2 Interview Questions

What error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.

4 Answers   Cap Gemini, Verizon,


What do you mean by cursor?

0 Answers  


What is reorg and runstats in db2?

0 Answers  


What are common abends

1 Answers   SPIC, Virtusa,


Can All Users Have The Privilege To Use The SQL Statement Select (DML)?

1 Answers  


How to check sequence on a table in db2?

0 Answers  


What do you mean by NOT NULL? When will you use it?

3 Answers  


what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names

5 Answers   Accenture,


which is the most efficient tablespace?? a.simple tablespace. b.partitioned tablespace. c.segmented tablespace. d.none of the above. please post answer with the reason.?

3 Answers  


What is a DB2 bind?

1 Answers   Logica CMG,


Differentiate between cs and rr isolation levels? Where do you specify them?

0 Answers  


In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

2 Answers  


Categories