System Commands List

The following table shows the system commands that are included with A-Shell, with links to extended descriptions for most of them. An asterisk in the "Class" column indicates that the command will accept wildcards. For information on how the commands are processed, see the various topics under Introduction to System Commands

Note that the system commands are all .LIT files which can be found in the SYS: account, and that most of the commands will display usage information if invoked with a /? switch.

Command

Class

Function

ABOUT

A-Shell

Display information about the current license and environment

AGCMD

A-Shell

Sends a AG_xxx command from the dot prompt or a command file

APN

A-Shell

Launches APN session.

APPEND

AMOS

Appends file together

ASHLPD

A-Shell

Invokes A-Shell line printer daemon

ASHUPDATE

A-Shell

Retrieves A-Shell updates via the A-Shell menu Help ... Check for Updates.

ASTAT

Utility

Abbreviated dynamic job display

ATECFG

JB Tech

Configure A-Shell Terminal Emulator (Windows only)

ATECTL

A-Shell

Connect ATE "reverse channel" socket

ATSYNC

A-Shell

Synchronize host directory with ATE's cache on PC

C, CLS

Utility

Clear screen

CHAT

A-Shell

(UNIX only) Full screen dialog between two users

COMPIL

AMOS

BASIC 1.4 compiler

COMPLP

A-Shell

BASIC Plus compiler; see COMPIL.

COPY

AMOS *

Copy files

CREATE

AMOS

Allocate random data file

DATE

AMOS

Display system date

DEL

AMOS

Deletes modules from user memory

DEVTBL

AMOS

List virtual AMOS devices

DIFF

UNIX

(UNIX only) Compare two source files.

DING

AMOS

Ring bell

DIR

AMOS *

Produce directory of files

DO

AMOS

Force command file execution

DUMP

AMOS *

Dump file contents in octal or hex

ELSE

AMOS

Conditional flow in command file

ENDIF

AMOS

Conditional flow in command file

ERASE

AMOS *

Erase files

ERSATZ.LIT

AMOS

Display defined ERSATZ devices

EXIT

AMOS

Exit command or DO file

EXPLORE

MicroSabio

Launches Windows file explorer.

EZPRT

MicroSabio

Print file, using EZ-SPOOL configured menu of printers

EZTYP

MicroSabio

Display text file with full paging control

FLIT

 

Used internally by A-Shell.

FIXTRN

AMOS

Function key translation table editing utility

FORCE

AMOS

Force keystrokes into another job’s input

FREE

AMOS

Display amount of free space on specified device

GETENV

A-Shell

Retrieves value of environment variable; use getenv var. Lists all of the environment definitions if no parameter is passed on command line.

GETATEREG

A-Shell

Retrieve ATE configuration settings from the server. Execute with no arguments or with /? to display help.

GOTO

AMOS

Jump to label within command file; see DO File Statements.

HEAD

A-Shell *

Display (or copy) first N lines of a text file

HOST

A-Shell *

Return to host machine command level

IF

AMOS

Conditional flow in command file

ISMBLD.LIT

AMOS

Build ISAM 1.x file.

ISMDMP

AMOS

Dump ISAM 1.x file

ISMUTL

AMOS

Dump/build/examine ISAM-A file

JOBALC

AMOS

Display current job name

JSTAT

A-Shell

Monitor another job

KILL

AMOS

Terminate another process

LICENS

A-Shell

Update license information

LOAD

AMOS

Load file into memory

LOG

AMOS

Change current login account

LOGROLL

MS

Rolls over log files

LOGON

AMOS

With MUSER, simulates the logon scheme used under AMOS.

LOGOFF

AMOS

Log off

LOKUTL

A-Shell

Display information about file locks in use

LOOKUP

AMOS

Test for existence of file; see DO File Statements.

MAKE

AMOS

Create a blank sequential file. Will create a file ending in "." if so directed.

MAP

AMOS*

Display user memory

MDO

A-Shell

Alternate version of  DO

MEMORY.LIT

AMOS

Change user partition size

MMAP

A-Shell*

Display or load list of files to be memory mapped

MOVE

A-Shell *

Move a file (UNIX only)

MUSER

AMOS

With LOGON, simulates the logon scheme used under AMOS.

OCMPIL

AMOS

BASIC 1.3 compiler; see COMPIL

OPRE

Debug plc

BASIC 1.3 pre-compiler

ORUN

AMOS

Run BASIC 1.3 or 1.4 program (same as RUN)

PAGE

Debug plc

Page command output

PPN

AMOS

Display PPNs on a given device

PRE

Debug plc

BASIC 1.4 pre-compiler

PRINT.LIT

AMOS *

Sends files (wildcard spec) to a spooler

PWD

A-Shell

Display current login directory in native O/S format

QUIT

A-Shell

Same as HOST, but terminates PolyShell parent and all siblings

QUTL

Debug plc

Queue/XLOCK/FLOCK display utility

RENAME

AMOS *

Rename files

RUN

AMOS

Run BASIC 1.3 or 1.4 program

SAVE

AMOS

Save module from memory to disk

SEND

AMOS

Send text message to another user

SET

AMOS

Set miscellaneous system and job parameters

SETATEREG

A-Shell

Set ATE configuration settings. Execute with no arguments or with /? to display help.

SETENV

A-Shell

Sets environment variable; use setenv var = value.

SHLEXC

A-Shell

Execute/open specified file in Windows

SIZE

AMOS

Display size of specified file, in bytes

SLEEP

AMOS

Sleep specified number of seconds or fractions of a second.

SLEEPR

AMOS

Sleep until specified time

SORT

AMOS

Sort sequential data file

SRCCOM

AMOS

Compare two source files

SUBMIT.LIT

AMOS *

Submit a background task

SUBMIT2

A-Shell

Special version of SUBMIT.LIT for use with Docker.

SYSACT

AMOS

Maintain PPNs and passwords

SYSTAT

AMOS

Display jobs and devices

TAIL

A-Shell *

Display (or copy) last N lines of a text file

TELNET

JB Tech

Launch A-Shell Terminal Emulator; see ATECFG

TELSER

A-Shell

Turn current session into telnet server

TIME

AMOS

Display system time

TYPE

AMOS

Type sequential text file on screen

U

AMOS

Store a command line for later recall

UPDCUR

A-Shell

Updates current directory from online repository

VER

AMOS

Display current A-Shell version

VERIFY

AMOS

Verify files against a DIR file

VERSYS

A-Shell *

Display detailed version information about a program

VUE

AMOS

Full screen-based text editor

WEBRUN

A-Shell *

Runs A-Shell's WEBCACHE system for named program

WSET

Debug plc

Install TRACKER 2.0

XY

AMOS

Execute TCRT code

ZTXFER

MS

ZTERM file transfer

ZXPWIN

A-Shell

(ZTERM utility) Transfer file to PC and launch app