how to unload different table data into different gdg files/
vsam files.
Answer Posted / 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 View All Answers
Give the name of some fields form sqlca.
What are the 2 sqlcodes that are returned?
What is db2 purescale?
Describe major components of db2?
What is the reason behind not using select * in embedded sql programs?
What is bind in db2?
What is the usage of open cursor command?
What is null indicator in db2?
How to resolve deadlock issue
What is load replace in db2?
What are db2 tables?
What is check constraint. Explain with example.
What is the use of dclgen in db2?
What is schema in db2?
What is a Foreign Key?