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

Answers were Sorted based on User's Feedback



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

Answer / harsha

Use DSNTIAUL utility

Is This Answer Correct ?    3 Yes 0 No

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

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

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

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

Post New Answer

More DB2 Interview Questions

Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


What is an EXPLAIN in DB2. How and what is the steps followed in EXPLAIN command. Can all the queries be used in EXPLAIN command to check the performance.

3 Answers   IBM,


is it possible to get -811 error when you use cursors. why?

2 Answers   IBM,


What is the difference between dbm cfg and db cfg file in db2 ?

1 Answers   MCN Solutions,


how to check the table is empty or not?

3 Answers   IBM,


How do I create a view in db2?

1 Answers  


What is copy book?

1 Answers   Thomson Reuters,


What is a buffer pool?

2 Answers  


pls tell me abt the normalization five types....

2 Answers  


What is db2 optimizer?

1 Answers  


what is the certification that has a good value for a practioner in mainframes but not habving much knowledge on db2 related stuff?

2 Answers  


What is the use of COMMAREA ?Minimum how much data we can pass from it?

7 Answers   Cap Gemini,


Categories