how to unload different table data into different gdg files/
vsam files.
Answers were Sorted based on User's Feedback
Answer / raghu
by using DSNUTLIB utility .
in dsnutlib of unload utility we first unload table data into file ,from that file we can load data into gdg/vsam files by idcams .
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anilkumar
do you need to unload more than 2 tables in a single unload step
Then need to specify sysrec01,syrec02 in jcl step
and in sysin
specify like this
select * from tab1 with ur; ---- data extrcat into sysrec01
select *from tab2 with ur; ----- data extract into sysrec02
this sort of jcl's we used in our project
but the same thing is not work for if you used union and
union all in the queries.
| Is This Answer Correct ? | 0 Yes | 1 No |
How do I delete a column in db2?
how to get duplicate records from tables?write qurey for this?
How to check table size in db2 sap?
What is the specific need of Plan and..where are the tables in DB2 are physically saved
What is a correlated sub query?
What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?
Can we insert update delete in view?
what is the difference between declaring the cursor in WS section and Procedure division?
How to get the ddl of a table in db2?
what is SPUFI ?
What is reorg in database?
COBOL PRECOMPILER ERROR: "XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED DCLGEN VARIABLES GETS IMPORTED TWICE FOR ONLY ONE EXEC SQL STATEMENT. WHAT COULD BE THE PROBLEM?