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
 

 

Unloading data from table by using SQL query in JOB

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

New User


Joined: 03 Dec 2007
Posts: 7
Location: Mumbai

PostPosted: Thu Dec 06, 2007 11:40 am    Post subject: Unloading data from table by using SQL query in JOB
Reply with quote

Hi,

I want to unload data from table to dataset by using SQL query in Job to know the exact time taken for unload.
Is there any utility to do it?
If so what are the job steps and what are the details we need to furnish in the job?
Please clarify.
Back to top
View user's profile Send private message

mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu Dec 06, 2007 11:48 am    Post subject:
Reply with quote

Hi arultm,

If you can observe the spool carefully U can get the time taken for execution of the job.

In the JESMSGLG, U can get these details. Below is the sample.


0------ JES2 JOB STATISTICS ------
- 05 DEC 2007 JOB EXECUTION DATE
- 12 CARDS READ
- 713 SYSOUT PRINT RECORDS
- 0 SYSOUT PUNCH RECORDS
- 42 SYSOUT SPOOL KBYTES
- 0.57 MINUTES EXECUTION TIME
Back to top
View user's profile Send private message
arultm

New User


Joined: 03 Dec 2007
Posts: 7
Location: Mumbai

PostPosted: Thu Dec 06, 2007 11:52 am    Post subject:
Reply with quote

I want to know the job to unload the table content when we give SQL query as input?
Can we unload the table content using job?
If so, please let me know how to do it?
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu Dec 06, 2007 12:25 pm    Post subject:
Reply with quote

hi arultm,

For more information u can see this link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH11/APPENDIX1.4.1?SHELF=DSNSHHA1&DT=20010719144747
Back to top
View user's profile Send private message
arultm

New User


Joined: 03 Dec 2007
Posts: 7
Location: Mumbai

PostPosted: Thu Dec 06, 2007 2:41 pm    Post subject:
Reply with quote

Thank you very much
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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