There are times when you might want to view the context of a found
or changed string, in the output listing. To do this, you can enter
the VCONTEXT command, or set its value as an option, on the Find/Change
Utility panel, with parameters to specify how many records before
and after the found or changed string should be displayed. For example,
if you entered VCON 2 2, each found or change string
is displayed with the 2 prior and subsequent records. This can be
particularly useful when searching data set members containing JCL.
The VCONTEXT command affects all output displays for the remainder
of the current session. It can be changed within a session or reset
to zero by entering the command with no parameters.
Note: The VCONTEXT command only affects the output display when the Listing
Option is set to Long. Figure 1. Sample output listing with VCONTEXT 2 2 specified
********************************* Top of Data **********************************
HCL Z Data Tools
Find/Change Listing DSN: USERID.MANYMBR2
M100 ----- STRING(S) FOUND/CHANGED -----
Record Number
3 //*ROUTE PRINT STLVM20.gregcz
4 //*=================================================================*//
5 //*CLEANUP EXEC PGM=IEFBR14
6 //*OLDLISTS DD DISP=(MOD,DELETE),
7 //* DSN=ECHAS.PLX370.TEST.LISTPLX,
83 //UNIDATA DD SYSOUT=*
84 //*=================================================================*//
85 //TESTASM EXEC PGM=IEFBR14 ASMA90,COND=(9,LE,COMPILE)
86 //*TESTASM EXEC PGM=ASMA90,COND=(9,LE,COMPILE)
87 //*TESTASM EXEC PGM=ASMA90,PARM='ADATA',COND=(9,LE,COMPILE)
-- Find/Change summary section --
Records found: 2 Records processed: 111
ISPF packing option: ASIS
Search cols: 1:80 Longest line: 80
Edit options in effect: CAPS:OFF
Count Value
Found : 2 >EXEC PGM=IEFBR14<
----------------------------------------------------------------------