IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unloading data from table by using SQL query in JOB


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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
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
Reply with quote

hi arultm,

For more information u can see this link

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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top