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

For Read Stability locks are not applicable for phantoms, What is Phantoms?

2 Answers  


What Utility is used to migrate DB2 from one release to the next?

1 Answers  


Which catalog table stores referential constraints?

1 Answers  


What is phantom read in db2?

0 Answers  


when we are tying to update a table having 100 rows. if the program abends when updating 51 row . how to start updating again from the 51 row .what was the logic

2 Answers   TCS,






What is sqlcode -922 ?

2 Answers  


What is a precompiler?

2 Answers  


What is reorg and runstats in db2?

0 Answers  


What are the contents of dclgen?

0 Answers  


What are the isolation levels possible ?

3 Answers  


What can the Locate option of the Repair Utility accomplish?

2 Answers  


How to find last record before record through SQLRPGLE?

1 Answers   IBM,


Categories