About FAND and FOR command



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

About FAND and FOR command

Postby ranga_subham » Fri Jul 18, 2008 8:04 pm

Hi,

Do you know about FAND and FOR commands?

How to use them in browse mode?

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: About FAND and FOR command

 

Re: About FAND and FOR command

Postby MrSpock » Fri Jul 18, 2008 8:59 pm

Never heard of them. What does HELP have to say about them?
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: About FAND and FOR command

Postby ranga_subham » Tue Jul 22, 2008 6:44 pm

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.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: About FAND and FOR command

Postby MrSpock » Tue Jul 22, 2008 6:58 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: About FAND and FOR command

Postby ranga_subham » Tue Jul 22, 2008 7:13 pm

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.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: About FAND and FOR command

Postby dick scherrer » Tue Jul 22, 2008 8:26 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: About FAND and FOR command

Postby ranga_subham » Thu Jul 24, 2008 6:08 pm

I don't know how to reach system support people or system programmers !

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: About FAND and FOR command

Postby dick scherrer » Thu Jul 24, 2008 10:04 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: About FAND and FOR command

Postby ranga_subham » Fri Jul 25, 2008 6:49 pm

I will inquire. Thanks d.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: About FAND and FOR command

Postby Bill Dennis » Fri Jul 25, 2008 6:57 pm

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.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Next

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post