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
How many databases are there?
can all users have the privilage to use the sql statement select * (dml)?
How is a typical db2 batch pgm executed?
What are db2 objects?
What is bind and rebind in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
Explain the contents that are a part of dclgen.
How to rename a table in DB2 ?
What are the contents of a dclmgen?
Mention some fields that are a part of sqlca.
What is a collection in db2?
What types of tables are there in the db2 database?
What is the difference between plan and package in db2?
What is a db2 collection?
What is explain in db2?