Set Command [S]

Changes configuration options of Qedit.

SET keyword [ value ... ]

You can use Qedit in its default mode, as it comes out of the box. To get the most out of Qedit, you will eventually want to try some of the optional features. To see all of the Set options available and their minimal abbreviations, type Verify All at the prompt.

  /set modify hp                {select MPE-style modify}  /set visual save on update on {full-screen options}  

Each Set command may specify one keyword from among those listed below.

Length

Zip

Here is a list of the Set keywords:

Account Where to find Qedified compilers and help files.
Alias Redefine Qedit commands or create new commands.
Autocont Do not abort in batch on errors.
Check Verify Delete or Justify > 5 lines, hold programs.
Decimal Apostrophe means Control Character (’7 = Bell).
DL Reserve memory in DL area for user Procs.
Editinput Remove line noise; allow Roman-8.
Expandtabs Expand tab characters into spaces when Texting.
Extentsize Minimum sectors/extent for Keep and New.
Extprog Attach an external program such as MPEX to Qedit.
Filename Override file names on Help, Hint, Qzmodhlp files.
FORTRAN External files default to FORTRAN, not SPL.
Hints Disable the “hint of the day”.
Hppath Override default path for cmd/prog files (MPE V).
Increment Default increment between added lines.
Interactive Override batch/session mode.
Justify Margins and options for justifying and centering.
Keep Format of the next Keep file.
Language Type of program or text to be kept in this file.
Left Left margin for edit, list, keep (default=1).
Length Maximum characters per line for a Lang=Text file.
Lib Default Lib= for the :Run command.
Limits Restricting features of Qedit available to user.
List Format of LP listings; also LJ options.
MAXDATA Default Maxdata= value for the Qedit icon razz Set Command [S] rep command.
Modify Type of modify (Robelle, HP or Qzmodify).
Open Default modes for Open Command (Defer, etc.)
Pattern Switch back to old pattern-matching.
Priority Switch Qedit execution to a new MPE subqueue.
Prompt Replace “/” with new prompt string.
Right Right margin for edit, list, keep, etc.
RL Default RL= value for the Qedit icon razz Set Command [S] rep command.
Shift Configure how to up- and down-shift.
Spell Configure how spell checks lines and words.
Statistics Print CPU and wall time of each command.
Suspend Whether to suspend on Exit or not.
Tabs Set “tab” key and columns; set on terminal.
Term Adjust number of terminal display columns.
Totals Print number of lines processed by a command.
UDC Recognize User Defined Commands in Qedit.
Undo Disable/enable ability to “undo” changes.
Visual Full-screen options (save fkeys, update, etc.).
Warnings Print warning messages (or not!).
Whichcomp Which COBOL compiler, etc.
Window Rules for string search (columns, upshift, etc.).
Work Default size/function of workfiles.
Wraparound Move words to next line when long line Added.
X Tag changed lines in COBOL file with string.
Zip Configure auto-modify, first, last, all, etc.

To configure Qedit to operate as you like best, put your favorite Set commands in a file named Qeditmgr, either in Pub.Sys or in the same group as the Qedit program file (usually Pub.Robelle). If you can’t build files in those groups or you don’t think your Set options will appeal to everyone, create Qeditmgr in your logon group and run Qedit with Parm=2.

A typical configuration file for a COBOL shop might look like this:

  {These are default Qedit values for all users:}  comppri=ds             {force compiles into ds}  set whichcomp cobol 85 {select default compiler}  set lang cobolx all on {always use 80 columns}  set x date list off    {mark changed lines with date}  set check on           {verify delete/format of >5 lines}  set list page on       {lp listings interpret $page}  set vis save 1         {Visual saves function keys}  set udc on             {load UDCs}  z=listj */last         {define Z command}  set shift down 3 up 3  {shift everything but strings}  

Syntax of Set Commands

The syntax descriptions that follow list the initial values. These are also the defaults that are used if you omit values in Set commands. For example:

Set Foo [ ON|OFF ]

(Default: ON)

(Initially: OFF)

The (imaginary) Foo key
word may be set ON or OFF. Initially when Qedit starts up it is OFF. Thereafter, if you type Set Foo without specifying ON or OFF, the default will be as though you had specified ON.

Error Messages

If you type a Set command that Qedit does not understand, you usually get an error message telling you specifically what is wrong, sometimes suggesting valid values. Occasionally you will see the error message

  Error: Param.  

This is Qedit’s catch-all message for when you have typed something that it doesn’t like, and cannot guess what you meant.

More:

Account

Alias

Autocont

Check

Decimal

DL size

Editinput

Expandtabs

Extentsize

Extprog

Filename

FORTRAN

HFS

Halfbright

Hints

Hppath

Increment

Interactive

Justify

Keep

Language

Left

Length

Lib

Limits

List

Maxdata

Modify

Open

Pattern

Priority

Prompt

Redo

Right

RL file name

Shift

Spell

Statistics

Stringdelimiters

Suspend

Tabs

Term

Text

Totals

UDC

Undo

Varsub

Visual

Warnings

Whichcomp

Window

Work

Wraparound

X

YNone

Zip

Set Command [S]