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 how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


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