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

how to write online query using JCL


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sourabh jain

New User


Joined: 29 Feb 2008
Posts: 27
Location: Pune

PostPosted: Thu Jul 01, 2010 9:46 pm
Reply with quote

Hi,

I need to write an online query using JCL to get the count from a table where the name of the record has to be given in a dataset. I have to get the count of around 70,000 records so it is difficult to write all the 70k record explicitly in JCL. Please help me out of this.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jul 01, 2010 11:14 pm
Reply with quote

Simple REXX will generate the query for you...

O.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 02, 2010 12:13 am
Reply with quote

Hello,

Please - Do not post "screen shots" as they add no value, waste space, and only introduce clutter.

Even if you generate the query, it may fail due to being too large. . .

Quote:
I need to write an online query using JCL to get
How do you intend to do this? JCL is not used for online queries. . .
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 Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top