Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we unload the table to GDG?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Thu Aug 07, 2008 9:35 pm    Post subject: Can we unload the table to GDG?
Reply with quote

Hi,
Please excuse me if I am wrong,asking this question.

Can we unload a table using DSNTIAUL or by any other means into GDG?
Back to top
View user's profile Send private message

rpuhlman

New User


Joined: 11 Jun 2007
Posts: 80
Location: Columbus, Ohio

PostPosted: Thu Aug 07, 2008 9:56 pm    Post subject:
Reply with quote

Hi Satyender,

Have you tried it?

Rick
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 07, 2008 10:02 pm    Post subject:
Reply with quote

I hope so, I've been doing it for 10 years, if it we can't I'm in big trouble.
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Thu Aug 07, 2008 10:24 pm    Post subject:
Reply with quote

HI rpuhlman,

I am trying, but ending up with errors.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 07, 2008 10:27 pm    Post subject:
Reply with quote

satyender wrote:
HI rpuhlman,

I am trying, but ending up with errors.


With more information we may be able to help you.
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Thu Aug 07, 2008 11:05 pm    Post subject:
Reply with quote

Yes, It is working perfectly.

Thanks all for your responses.
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Thu Aug 07, 2008 11:12 pm    Post subject: JCL for UNLOAD ing the table into GDG
Reply with quote

Code:

//STEP1  EXEC DSNUPROC,UID='GDGUNLD',UTPROC='',SYSTEM='DB2E'
//SYSREC00 DD DSN=T0J0AJ7.UNLOAD.TLCS135(+1),
//            DISP=(,CATLG,DELETE),
//            LABEL=EXPDT=99000,UNIT=VTAPE
//SYSPUNCH DD DSN=T0J0AJ7.GDG.SYSPUNCH.TLCS135,
//            DISP=(,CATLG,DELETE),
//            UNIT=DISK,SPACE=(CYL,(100,100),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
  UNLOAD TABLESPACE tablespace name
    FROM TABLE tablename ;
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 07, 2008 11:44 pm    Post subject:
Reply with quote

What error are you getting?
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Fri Aug 08, 2008 1:16 am    Post subject:
Reply with quote

It was a operator error.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us