View previous topic :: View next topic
|
Author |
Message |
mathukumar
New User
Joined: 20 Aug 2009 Posts: 3 Location: chennai
|
|
|
|
Hi, can anyone tell me how to load a table using jcl from one DB2 subsystem to another DB2 subsystem? For example, now am in db2 subsystem DBJA and my jcl is also present in DBJA; now i need to load a table which is present in DB2 subsystem DBJB. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Suggest you unload the data to shared dasd on the A system and run the corresponding load on the B system. If there is no shared dasd or you are not permitted to use it, you might use tape instead. . . |
|
Back to top |
|
|
mathukumar
New User
Joined: 20 Aug 2009 Posts: 3 Location: chennai
|
|
|
|
I have the dataset in A system, can i run the load in A system to load the table in B system? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You should submit the load on system B. It should not matter where the transient dataset resides (assuming shared dasd). |
|
Back to top |
|
|
mathukumar
New User
Joined: 20 Aug 2009 Posts: 3 Location: chennai
|
|
|
|
Hi thanks for the information, But i would like to know, is there any posibility to submit the load on A subsystem to load the table in B subsystem.... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you speak with your DBA. . . . |
|
Back to top |
|
|
satyender
New User
Joined: 05 Jan 2008 Posts: 50 Location: Olympia, WA, USA
|
|
|
|
mathukumar,
First unload the data from DBJA environment using UNLOAD JCL.
Then log into DBJB, use the SYSREC dataset of UNLOAD JCL in LOAD JCL as input dataset and LOAD the data.
Check the region name while you are loading.
Otherwise you may replace the table in another region. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
This is what mathukumar has said is not wanted. . . |
|
Back to top |
|
|
|