View previous topic :: View next topic
|
Author |
Message |
gauravd01
New User
Joined: 25 Aug 2008 Posts: 14 Location: india
|
|
|
|
Hello All,
Could anyone please clear the doubt how to use search and Search all in different files like (Flat file/Index file/Sequential file/Relative files.)
Thanks,
GD |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what doubts do you have with the SEARCH and SEARCH ALL commands/statements with reference to files?
If you would read the documentation, for which Anuj provided you a link,
you will see that the two instructions have nothing to do with files,
instead they are statements that are used with reference to COBOL internal tables. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
search and search all are used on tables (Array) not files.
To search from files depending on file type (sequential or indexed) different methods are followed. |
|
Back to top |
|
|
|