Can a Db2 table data be retrived through JCL?
Answers were Sorted based on User's Feedback
Answer / kingmanish
Yes ofcourse
Use any of the unload utilities
Is This Answer Correct ? | 2 Yes | 1 No |
Yes,
That is how we are unloading data from table to dataset.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
WHAT IS MEANT BY COMMIT COMMAND?
What are the different types of base tables?
Bind concepts in DB2 cobol
10 Answers IBM, TCS, TRD, Virtusa,
wht steps we need will coding cobol and db2 pgm ?
Explain the function of data manager.
What is syscat in db2?
What is rct?
What is catalog database in db2?
database DSNDB01 means a.db2 catalog b.db2 directory c.BSDS d.active logs answer with reason please
What is coalesce in db2?
Define declaration generator (dclgen).
How to compare data between two tables in db2?