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's the best lock size that you could use when you create a tablespace?

2 Answers   IBM,


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

0 Answers  


what is a collection?

2 Answers  


What is innodb buffer pool?

0 Answers  


How can you display the current date & current time ?

7 Answers   Cap Gemini,






I have a main program (A) where we delete some rows in table in a cursor, and we commit it in sub program(B). What will happen - will we get an error or not?

2 Answers  


what is the differences between spufi and qmf and which is better?

4 Answers   Accenture, Cap Gemini,


what are extents?

5 Answers  


On the create tablespace, what does the CLOSE parameter do?

1 Answers  


What is auditing?

2 Answers  


What is ibm db2 database?

0 Answers  


How do you find the maximum value in a column in db2?

0 Answers  


Categories