Page 1 of 1

VSAM file search

PostPosted: Wed Jun 10, 2009 11:11 pm
by navennaik
Hellow ,

For searching any field values in an array we will use SEARCH ALL and WHEN option.Whether the same clauses can be used for VSAM file search.

If possible then let me know the syntax ?

If not possible please let me know why it can not be possible?

Thanx in Advance.
Naveen.

Re: VSAM file search

PostPosted: Thu Jun 11, 2009 7:06 am
by dick scherrer
Hello,

Whether the same clauses can be used for VSAM file search.
No, it cannot.

If not possible please let me know why it can not be possible?
Because SEARCH and SEARCH ALL are used to process a table/array in a program - not a file (vsam or otherwise).

Re: VSAM file search

PostPosted: Thu Jun 11, 2009 3:03 pm
by navennaik
Thanks you so much...

Re: VSAM file search

PostPosted: Thu Jun 11, 2009 9:55 pm
by dick scherrer
You're welcome :)

d