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
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
How would the varchar column remarks defined?
How do I add a column in db2?
What kind of database is db2?
If I have a view which is a join of two or more tables, can this view be updateable?
What is rebind in db2?
What are iseries servers?
What does db2 mean?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
What is the difference between bind and rebind in db2?
Can you tell me how can you find out the # of rows updated after an update statement?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
How do I delete a table in database?
How to create backup table in db2?
How to find primary key of a table in db2?