FIND and LOCATE



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

FIND and LOCATE

Postby chetan_007 » Wed Jul 08, 2009 11:12 pm

Hi,

Although we use FIND and LOCATE to check a word eg:- F 'write' or L 'write'

What's the difference between FIND and LOCATE?
Although both does the same function?

Plz let me know.
chetan_007
 
Posts: 24
Joined: Sun Mar 02, 2008 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: FIND and LOCATE

 

Re: FIND and LOCATE

Postby MrSpock » Wed Jul 08, 2009 11:28 pm

The LOCATE command is used to display a specific line in the data being
edited. It can be abbreviated LOC or L.

Command ===> loc 450 displays line 450.
Command ===> loc .zfirst displays the first data line.

The designated line will be displayed on the first data line of the display.

LOC .zfirst can be entered to scroll to the top of the data.
LOC .zlast can be entered to scroll to the bottom of the data.

The FIND command is used to find and display the next occurrence of a
character string in the data being edited. It can be abbreviated F .
Command ===> find xxx finds the next "xxx".
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


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post