Please enable JavaScript to view this site.

A-Shell Reference

SBR=optioncode {,optioncode} {,optioncode}

SBR is used to specify various configurable subroutine options to account for local variations in some otherwise standard subroutines. These variations are typically the result of someone modifying a standard routine to suit their purposes. An example of this the subroutine COMMON, which many people have modified to change the number and size of the saved modules. Rather than have several implementations of each subroutine which can differ, various SBR options can be specified to tune the operation of such subroutines.

Option

Description

AMOSJOB1

Causes JOBNAM to return the name of the parent job.

AMOS_RUNSBR

Deprecated. Use OPTIONS=, not SBR=.

AUTO_DLG_MAX

Maximizes dialogs, helpful for tablets and net-books.

AUTO_TABX

Automatically converts all Tab controls to TabX controls.

AXLOCK

Causes A-Shell to duplicate the behavior of XLOCK under AMOS.

BSMID5

Affects sequential search in SERCH.

BUBBLESORT

Obsolete, but documented by way of explanation.

CCYY

Affects the way INFLD and IDTIM guess at the century.

COMMONNDR

Non-destructive read in COMMON.

EZPRTX

Causes EZTYP to use EZPRTX.

GETOFD_NOCOM

Use old style Open/Save File dialogs in MX_GETOFD.

GET_CRNL2CR

Automatically sets the &h02 flag in Xcall GET.

INFLD_V1

Eliminates the need to specify the V parameter to INFLD.

INFDEF

Specifies type codes to INFLD.

INFLD143

Affects the operation of J justified types in INFLD.

INFLDB3

Causes INFLD to add blank spaces for comma-formatted fields.

INFLDCBRJ

Right-justifies text label.

INFLDEDIT

Provide support for a variation of INVUE.

INFLDLDROP

Special handling for type "L" operation in INFLD.

INFLD_KEEPALIVE

Sends a few bytes every 15 seconds while waiting for input.

INFLD_PRINTS

Maps ^P to File > Print Screen rather than to the text-based screen print/capture.

INFLD_NOPRINTS

Disables ^P screen print function..

VINFLDPS

Impacts the operation of types "P" and "S" in INFLDxs.

LSTLINSTRIP

Strips comments from command line before returning them to LSTLIN.LIT.

MALLOCSORT

Affects the memory allocation strategy of BASORTxs.

MESAGRTN

Changes behavior of MESAG.

MSGNUM

Changes the number of packets available to COMMONxs.4

MSGSIZ

Changes the size of each packet available to COMMONxs.

MXLOCK

Forces AG_XLOCK to conform exactly to standard documentation.

PCKLST_GUI

Use XTREE (GUI) in place of PCKLST (text)

PRINT_TIME

Allow for the time to be added to the report header.

PRINT_JOBUSN

Allow for the user name to be added to the report header.

PRINTNOFF

Eliminates form feed character in PRINT.

PRTCHK1

Causes PRTCHK to return 1 if printer is found, 0 if it is not.

SUBMIT2

Forces a new process to be the grandchild of the current process.

TRIMCTL

Causes TRIM to remove leading and trailing control characters.

TTI_PGRW

Affects how INFLD type codes $ and H are handled.

XMASCB_OPEN

Optimizes file open/close in XCALL xMASCB (ignores redundant open, explicit close; auto-close at program end).

XPPPNOCT

Affects how XPPN displays PPN value.

XTREE

Enables various operations for all XTREEs.