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 Unable to interpret a hex value to De... COBOL Programming 7
No new posts how to eliminate null indicator value... DB2 7
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
Search our Forums:

Back to Top