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
 

 

"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
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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