{ FIND } [ relational-operator ]
{ F }
value
[ BOUNDARY(bdy [,index]) ]
[ BREAK | NOBREAK ]
[ MASK(mask) | NOMASK ]
[ FIRST ]
[ LAST ]
[ NEXT ]
[ PREVIOUS ]
{ FIND } [ relational-operator]
{ F }
value
[ col [ col ]]
[ ALL ]
[ FIRST ]
[ LAST ]
[ NEXT ]
[ PREVIOUS ]
[ X ]
[ NX ]
[<|LT|<=|LE|¬>|NG|=|EQ|>=|&cont;
GE|¬<|NL|>|GT|¬=|NE]
Both bdy and index can be 1 through 2 raised to the thirty-first power 231 and can be expressed in decimal, hexadecimal (X'xxx...'), or binary (B'bbb...') notation.
When you specify this option, it remains in effect until you specify a new search argument or you override this option. If you enter a new search argument and omit BDY, the default is BDY(1,1).
NOBREAK specifies that FIND is to continue processing if it cannot retrieve storage from the dump. FIND continues the search with the next available address in the dump.
When you specify this option, it remains in effect until you specify a new search argument or you override this option. If you enter a new search argument and omit NOBREAK, the default is BREAK.
NOMASK suppresses masking.
FIRST specifies that a search for the first occurrence of the value is to be done. The search starts at the beginning of the displayed report or address space; the search finishes at the end of the report or address space.
LAST specifies that a search for the last occurrence of the value is to be done. The search starts at the end of the displayed report or address space; the search finishes at the beginning of the report or address space.
NEXT specifies that a search for the next occurrence of the value is to be done. The search starts at the beginning of the line being displayed (if the cursor is on the command/option line), or at the cursor location (if the cursor is within the data display area). The search finishes at the end of the displayed report or address space.
PREVIOUS specifies that a search for the previous occurrence of the value is to be done. The search starts at the end of the line preceding the first line being displayed (if the cursor is on the command/option line), or at the cursor location (if the cursor is within the data display area). The search finishes at the beginning of the displayed report or address space. The abbreviation PREV is accepted for this parameter.
COMMAND ===> find abc 1 9
FIND searches for the value abc only in columns 1 through 9. When found, the value is intensified.
The following screens depict use of the FIND and RFIND primary commands. Figure 1 shows the FIND command entered on the COMMAND line to search through the display and find the first occurrence of the search argument “dsp”.
IPCS OUTPUT STREAM ------------------------------------------ LINE 0 COLS 1 78
---------------------
|COMMAND ===> f dsp_ | SCROLL ===> CSR
---------------------
****************************** TOP OF DATA ***********************************
* * * * K E Y F I E L D S * * * *
JOBNAME RASP
SELECTED BY: CURRENT
ASCB: 00F09E00
FWDP..... 00F09C00 ASID..... 0003 TRQP..... 80F09301
CSCB..... 00F1D3C8 TSB...... 00000000 AFFN..... FFFF
ASXB..... 00AFDF00 DSP1..... 00 FLG2..... C4
SRBS..... 0000 LOCK..... 00000000 ASSB..... 01AB6D00
TCB: 00AFE178
CMP...... 00000000 PKF...... 00 LMP...... FF DSP...... FF
TSFLG.... 00 STAB..... 00AFD300 NDSP..... 00000000
JSCB..... 00AFDD84 BITS..... 00000000 DAR...... 00
RTWA..... 00000000 FBYT1.... 00
Task non-dispatchability flags from TCBFLGS4:
Top RB is in a wait
PRB: 00AFDD60
WLIC..... 00020001 FLCDE.... 00C12630 OPSW..... 070C1000 810D7C20
Figure 2 shows the results of the FIND command. IPCS highlights the line that contains the search argument, positions the cursor at the beginning of the search argument, and displays a message in the upper right corner of the display indicating in which line and column the argument was found.
Figure 3 is a result of pressing PF5 to invoke the RFIND command. This screen displays the next occurrence of the search argument following the position of the cursor. Notice that the display message is changed, reflecting a newly found search argument.
IPCS OUTPUT STREAM ----------------------------------- FOUND IN LINE 16 COL 17
COMMAND ===> SCROLL ===> CSR
****************************** TOP OF DATA ***********************************
* * * * K E Y F I E L D S * * * *
JOBNAME RASP
SELECTED BY: CURRENT
ASCB: 00F09E00
FWDP..... 00F09C00 ASID..... 0003 TRQP..... 80F09301
CSCB..... 00F1D3C8 TSB...... 00000000 AFFN..... FFFF
----------------------------------------------------------------------
| ASXB..... 00AFDF00: DSP1..... 00 FLG2..... C4 |
----------------------------------------------------------------------
SRBS..... 0000 LOCK..... 00000000 ASSB..... 01AB6D00
TCB: 00AFE178
CMP...... 00000000 PKF...... 00 LMP...... FF DSP...... FF
TSFLG.... 00 STAB..... 00AFD300 NDSP..... 00000000
JSCB..... 00AFDD84 BITS..... 00000000 DAR...... 00
RTWA..... 00000000 FBYT1.... 00
Task non-dispatchability flags from TCBFLGS4:
Top RB is in a wait
PRB: 00AFDD60
WLIC..... 00020001 FLCDE.... 00C12630 OPSW..... 070C1000 810D7C20
IPCS OUTPUT STREAM ----------------------------------- FOUND IN LINE 16 COL 39
COMMAND ===> SCROLL ===> CSR
****************************** TOP OF DATA ***********************************
* * * * K E Y F I E L D S * * * *
JOBNAME RASP
SELECTED BY: CURRENT
ASCB: 00F09E00
FWDP..... 00F09C00 ASID..... 0003 TRQP..... 80F09301
CSCB..... 00F1D3C8 TSB...... 00000000 AFFN..... FFFF
ASXB..... 00AFDF00 DSP1..... 00 FLG2..... C4
SRBS..... 0000 LOCK..... 00000000 ASSB..... 01AB6D00
TCB: 00AFE178
---------------------------------------------------------------------------
| CMP...... 00000000 PKF...... 00 LMP..... FF DSP.....FF|
---------------------------------------------------------------------------
TSFLG.... 00 STAB..... 00AFD300 NDSP..... 00000000
JSCB..... 00AFDD84 BITS..... 00000000 DAR...... 00
RTWA..... 00000000 FBYT1.... 00
Task non-dispatchability flags from TCBFLGS4:
Top RB is in a wait
PRB: 00AFDD60
WLIC..... 00020001 FLCDE.... 00C12630 OPSW..... 070C1000 810D7C20