FOCUS Facilities Under TSO

In this section:

FOCUS facilities under TSO include:

Using FIDEL

The actual terminal control program is loaded dynamically, according to the program name you specify in the DATA VIA subcommand of MODIFY.

DATA VIA FIDEL
END

A DATA statement is not required in a MODIFY which uses CRTFORM if the procedure will be executed on a 3270-type terminal. FOCUS automatically loads FIDEL if the MODIFY procedure uses CRTFORM.

TED Editor

How to:

You can edit a file with TED using the TED command. You can also edit a file with your system editor using the IEDIT facility. For information about IEDIT, see Invoking Your System Editor With IEDIT.

Syntax: How to Enter TED

TED ddname

or

TED 'prefix.qualifier1.qualifier2...(member)' 

or

TED name

where:

prefix

Is a prefix other than the one you are working under. If you are working within your own prefix, you do not have to specify the prefix or the single quotation marks around the data set name.

qualifier

Is the name of the file within the prefix. Qualifiers are separated with periods. You can have up to 44 characters in a data set name.

(member)

Is necessary only when you are using a partitioned data set. For sequential data sets, a member name (enclosed in parentheses) is not used.

name

Is either the ddname of an allocated sequential data set or the member of a partitioned data set allocated to the ddname FOCEXEC. Specify only from the FOCUS command line.

FOCUS searches for the member of a partitioned data set allocated to ddname FOCEXEC first. If a partitioned data set does not exist, FOCUS continues and searches for a sequential data set allocated to the ddname name.

Example: Entering TED

You can specify a valid data set name or ddname with a member name if the file is a PDS. Note the following examples:

TED

Edits the last executed FOCEXEC.

TED TEST

Edits the data set allocated to ddname TEST or the member name in a partitioned data set allocated to the ddname FOCEXEC.

TED FOCEXEC(A)

Edits member A of the data set allocated to ddname FOCEXEC.

TED X.DATA(REPT)

Edits member REPT of the data set prefix.X.DATA.

TED 'USER1.X.DATA'

Edits the data set USER1.X.DATA.

Syntax: How to Issue TSO Commands From TED

{TSO|MVS} command

where:

MVS|TSO

Specifies the operating system. The MVS prefix may be substituted for the TSO prefix.

command

Is a TSO command

Note:
  • In z/OS, TED cannot edit uncataloged data sets.
  • In z/OS, the execution of a fully qualified data set name as a FOCEXEC does not allow the TED command to be issued without that full name following the command.
  • TSO commands may be issued on the command line in TED, but not within Screen Painter.
  • The maximum record length supported by TED in TSO is 32760 bytes.
  • TED may not edit files containing unprintable characters.
  • In z/OS, the ISPF statistics for date, time, version, size, and user ID are automatically updated when the member of a partitioned data set is stored using the TED FILE or SAVE command.

Syntax: How to Submit a Job From TED

You can submit a job from TED by using the following syntax to submit the current file to z/OS:

SUBmit 

Example: Creating a TED Profile

On entry to TED, a search is made for a profile as member TEDPROF of the data set allocated to ddname FOCEXEC. If found, it is processed by TED before the first screen appears. The profile may issue most TED commands that do not involve any file manipulation (for instance such commands as SPV and FILE may not be issued in the profile). The most common use for a profile is to establish a prefix area and perhaps a scale and PF key assignments. A typical profile might be:

1. NUM ON 
2. SCALE ON 
3. PF 6 FILE

where:

  1. Sets the prefix area on and displays line numbers.
  2. Displays a scale on line 2 of the screen.
  3. Redefines the PF6 key as FILE.

National Language Support

How to:

FOCUS is designed with consideration for National Language Support (NLS). FOCUS stores data as entered and retrieves the data based on the current code page mapping. FOCUS can be configured for local language messages and keyboards. For installation instructions, refer to the z/OS Installation Guide. Your Information Builders' representative can provide a list of available language choices.

The ? LANG command can be used to determine the current language setting and parameters pertaining to language, such as continental decimal notation.

Syntax: How to Determine Current Language Settings

? LANG

FOCUS supports languages that require two bytes of storage per character, such as Kanji. For more information, see the Describing Data manual.


Information Builders