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

FILE SEARCHING


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
RAJESHKHANNA.R

New User


Joined: 13 Feb 2004
Posts: 1
Location: TRICHY

PostPosted: Fri Feb 13, 2004 4:31 pm
Reply with quote

icon_rolleyes.gif




WHETHER SEARCH COMMAND IS USED IN SEQUENTIAL FILES OR
INDEXED FILES PLEASE PROVIDE DETAILS.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Fri Feb 13, 2004 9:37 pm
Reply with quote

hi RAJESHKHANNA,

SEARCH is used in following cases:

The SEARCH statement is used to search a table for an element that satisfies a known condition.not like whether used in sequential files or indexed files.

The SEARCH statement allows you to perform a sequential search of a table. The OCCURS clause of the table description entry must contain the INDEXED BY phrase. If more than one index is specified in the INDEXED BY phrase, the first index is the controlling index for the table search unless you specify otherwise in the SEARCH statement.


THANKS AND REGARDS
ANU
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top