Previous Topic: Marking Text to Find on or Fetch from a ScreenNext Topic: Find a Text String on a Screen


Place the Cursor on a Screen Field

When placing the cursor on a screen field, you can specify the following:

To have your EXEC place the cursor on a specific piece of screen text

  1. Issue the C command at the command line.

    The following novice mode screen for the C command appears. This illustration shows a CA NetSpy statistics screen displayed for session recording. Suppose that you want to place the cursor at the CA NetSpy command line (shown at the bottom of the screen).

    ------------------------------- PLACE THE CURSOR ------------------------------ COMMAND ===> SCROLL ===> CSR To specify Relative Positioning, use @ to mark the screen data to search for. Then use # to mark where you want the script to place the cursor after the data is found. To specify Absolute Positioning, use # to mark the position where the cursor will be placed. The default for SESSCMD is NOENTER ------------------------------------------------------------------------- HOST=S032 MEASURED INTERVAL= 3.8M 27MAR95.178 FRI 15:18:49 *** *** NETSPY RESPONSE TIME STATISTICS (INTERVAL) *** APPL AVGE=RSP WORST NO. NO. NO. NO. INPUT OUT-SZE OUT-SZE NAME HOST NET HOST SESS INPUT OUTPUT NETRSP SIZE TRANSCT WRITE ----------------------------- NETSPY= S032 --------------------------------- NETSPY32 0.1 0.0 0.6 1 8 8 8 6 1629 1629 TSO32 0.6 0.0 1.7 8 8 9 8 7 1366 1214 ----------------------------- NETSPY= S028 ---------------------------------- NETSPY28 0.0 0.0 0.4 4 16 16 16 8 1246 1246 TSO28 1.1 0.1 8.8 51 42 68 38 12 470 290 CICSA 0.4 0.1 0.9 3 210 226 186 136 1575 1108 CICST 0.3 0.2 0.6 2 22 24 20 130 1525 1075 PRESS PFK1= HELP, 3= MENU, 5= DA, 6= DT, 9=DNCPS, 10= DLINES, 12=LOGOFF OR ENTER A NEW COMMAND BELOW --->

  2. Type one or more control characters over screen text to indicate where to place the cursor.

    You can specify an absolute position for the cursor if your target is screen text that never changes. Or, you can indicate the cursor position relative to other screen data if the cursor will go on screen text that can vary.

  3. Assuming that the absolute screen location character is # and the relative screen location character is @:

The EPI first finds the screen text overtyped with @ characters, shown in Find a Text String on a Screen, and then places the cursor on the CA NetSpy command line.