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 is bufferpool in db2?

1 Answers  


how to unload different table data into different gdg files/ vsam files.

3 Answers  


How to check table size in db2 sap?

1 Answers  


What is consistency token in db2?

1 Answers  


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

1 Answers  


What is error -818 in db2. where can you find the timestamp of the DBRM and the source code.( precompile puts the timestamp on dbrm and source code correct?)

2 Answers  


How is a typical db2 batch pgm executed?

1 Answers  


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1 Answers  


What is a plan and package in db2?

1 Answers  


How do I copy a table in db2?

1 Answers  


Can you search give an array in the WHERE clause of a db2 query?

1 Answers  


What is a db2 package?

1 Answers  


Categories