Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
"FIND" instead of "SELECT" in sql

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: "FIND" instead of "SELECT" in sql
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    Post subject:
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    Post subject: Re: "FIND" instead of "SELECT" in sql
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    Post subject:
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    Post subject: Re: "FIND" instead of "SELECT" in sql
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us