Selecting FOCUS Default Startup Options

In this section:

Sites wishing to change FOCUS startup options have two options for implementing site-wide configuration parameters:

The FOCPARM assembler CSECT in FOCCTL.DATA that is used to create load module FOCINI also contains additional startup options not modifiable through SET commands.

Note: These are all independent procedures—a change made to one does not require changes to the others.


Top of page

x
Edit the FOCPARM SET Commands

Member FOCPARM in ERRNLS.DATA is executed before FOCPROF and before each user's PROFILE FOCEXEC. It may only include SET commands. The FOCPARM file shipped with FOCUS follows:

-*--------------------------------------------------------------------*
-* THIS SECTION CONSISTS SOLELY OF SET COMMANDS USED TO CUSTOMIZE     *
-* THE BEHAVIOR OF FOCUS AT YOUR SITE. PLEASE NOTE THAT ONLY SET      *
-* COMMANDS ARE SUPPORTED, AND THAT ANY OTHER FOCUS COMMANDS ARE      *
-* NOT PERMITTED AND WILL FORCE YOU OUT OF FOCUS. THIS MEMBER MAY     *
-* NOT BE USED AS A PROFILE EXCEPT FOR SET COMMANDS.                  *
-*--------------------------------------------------------------------*
SET EMPTYREPORT=OFF
SET BLKCALC=NEW
SET FIELDNAME=NEW
SET QUALCH=. 
SET QUALTITL=OFF
SET HOLDSTAT=ON
SET HOTMENU=OFF
SET IMMEDTYPE=OFF
SET AUTOPATH=ON
SET AUTOINDEX=ON

Top of page

x
Create the System-Wide FOCPROF Profile

FOCPROF is a global profile for FOCUS that can contain any command valid in a FOCEXEC, including: TABLE, MATCH, MODIFY, MAINTAIN, REBUILD, COMPILE, LOAD, Dialogue Manager commands, TSO commands and DYNAM commands.

This gives you three FOCUS profiles: FOCPARM, FOCPROF, and PROFILE. FOCPARM and FOCPROF files are members of the ERRNLS PDS. The PROFILE file is a member of the FOCEXEC PDS. Their order of execution is:

  1. FOCPARM, which can only contain FOCUS SET commands.
  2. FOCPROF, a global profile.
  3. PROFILE.

Create a new member of the ERRNLS PDS named FOCPROF and include any commands you wish to have executed each time FOCUS is invoked.


Information Builders