Page 1 of 2

About FAND and FOR command

PostPosted: Fri Jul 18, 2008 8:04 pm
by ranga_subham
Hi,

Do you know about FAND and FOR commands?

How to use them in browse mode?

Thanks.

Re: About FAND and FOR command

PostPosted: Fri Jul 18, 2008 8:59 pm
by MrSpock
Never heard of them. What does HELP have to say about them?

Re: About FAND and FOR command

PostPosted: Tue Jul 22, 2008 6:44 pm
by ranga_subham
MrSpock,

The format of FAND is as given below:

FAND (string1,string2,...,string8) parms


For example, you have a program in which you want to find a line where both "LABEL" and "ARE" are present. In this case, this FAND command is very useful as it gives you the desired results with less commands.

Hope it helps.

Thanks.

Re: About FAND and FOR command

PostPosted: Tue Jul 22, 2008 6:58 pm
by MrSpock
Do you have a reference link for those commands? I've looked in the TSO/E Commands, ISPF Browse Primary Commands, and ISPF EDIT Primary Commands and I can't find any mention of either one.

Re: About FAND and FOR command

PostPosted: Tue Jul 22, 2008 7:13 pm
by ranga_subham
MrSpock, I don't know. It works here for me in view or edit mode. Could be a site specific one !

Did you try it in yours?

Thanks.

Re: About FAND and FOR command

PostPosted: Tue Jul 22, 2008 8:26 pm
by dick scherrer
Hello,

Could be a site specific one !
Surely could be. It is definitely not part of the standard set of commands.

Have you talked with your system support people? Someone responsible for your system should know where this came from - whether it is some additional product or something developed locally.

Re: About FAND and FOR command

PostPosted: Thu Jul 24, 2008 6:08 pm
by ranga_subham
I don't know how to reach system support people or system programmers !

Thanks.

Re: About FAND and FOR command

PostPosted: Thu Jul 24, 2008 10:04 pm
by dick scherrer
Hello,

I don't know how to reach system support people or system programmers !
Someone does. . . Someone else on your project, your manager, someone at the help desk, etc.

Re: About FAND and FOR command

PostPosted: Fri Jul 25, 2008 6:49 pm
by ranga_subham
I will inquire. Thanks d.

Re: About FAND and FOR command

PostPosted: Fri Jul 25, 2008 6:57 pm
by Bill Dennis
You could do TSO ISRDDN and then M FAND to search the ISPF libraries for a site-written edit macro. Edit macros don't work in BROWSE so that may be your problem.