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

"FIND" instead of "SELECT" in sql


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jithesh N

New User


Joined: 22 Aug 2006
Posts: 2
Location: Trivandrum,Kerala, India

PostPosted: Tue Aug 22, 2006 2:49 pm
Reply with quote

Hi all.

I'm afraid whether this is the correct forum to post this query.
I'm just getting into a project in which i have to use a tool( not sure it is a
tool or a third party language) which uses "FIND" statement instead of
"SELECT" in SQL..

I'll be great, if somebody have an idea on this and post me some study
documents.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Aug 22, 2006 4:41 pm
Reply with quote

hi,

Yes, That is not an general SQL COMAND. You must be using the FIND command for Select for accessing a database ...probably DATACOM. This command internally triggers an SQL which access the database.

~Vamsi
Back to top
View user's profile Send private message
Archana_MF

New User


Joined: 21 Jul 2006
Posts: 49
Location: California

PostPosted: Sat Aug 26, 2006 4:59 am
Reply with quote

DATACOM does not use FIND, not that I know.
it uses REDKG, REDKY, GETPS, UPDAT DELET etc etc..
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 28, 2006 10:14 am
Reply with quote

I didn't say DATACOM uses FIND. In our SHOP, we use FIND for:

FIND table-name from col-name = 'value' col-name2 = 'value2'.........
print col-names................'

This inturn returns the rows from the datacome tables for the SQL

Select col-names.............from table-name where col-name = 'value' col-name2 = 'value2'.



~Vamsi
Back to top
View user's profile Send private message
Archana_MF

New User


Joined: 21 Jul 2006
Posts: 49
Location: California

PostPosted: Mon Aug 28, 2006 9:42 pm
Reply with quote

Oh! Sorry.
correction taken
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Inserting into table while open selec... DB2 1
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:


Back to Top