VCURSOR: A cursor sensitive command example

VCURSOR is a REXX program which uses two variables, available in ISPF 4.5 and higher  to allow you to edit a data set by placing the cursor on the data set name and pressing enter.  Unlike the many edit macros that perform this function, VCURSOR will work on any ISPF screen and from within any ISPF application.

Update 18 August, 1999:

VCURSOR now has code to bypass the built-in variables so it works in more situations. It also will work on any Version 4 (and maybe Version 3) of  ISPF. Bypassing the variables on V4.5+ requires a minor code change.)

Vcursor is available as source code.

To save the source code using Netscape or Internet Explorer, select the link above with the right mouse button and select 'Save Link As...' or Save Target as...'

Function

To edit a data set pointed to by the cursor.  If the data set name is not in quotes, then TSO naming conventions are used.

Calling Syntax from ISPF:

  TSO %VCURSOR

Output

Data set name pointed to by the cursor is edited.

Installation

  1. Place vcursor.txt in a library allocated to SYSEXEC or SYSPROC.
  2. Assign a PF key to TSO %VCURSOR (the percent sign is recommended to enable VCURSOR to work better in popups)

Samples

N/A