Please enable JavaScript to view this site.

A-Shell Reference

Navigation: System Commands > Introduction

System Commands List

Scroll Prev Top Next More

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 function 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

ATEUPDATE

A-Shell

Initiates an ATE update

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

ASB 1.4 compiler

COMPLP

A-Shell

BASICplus compiler; see COMPIL

COPY

AMOS *

Copy files

CSV2XL

A-Shell

Alternative to PRINT.LIT for generating spreadsheets from CSV input

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

ECHO

AMOS

Echoes <text> to screen

EL, EP

A-Shell

Deprecated. Was used to launch old A-Shell Editor. Use APN instead

ELSE

AMOS

Conditional flow in command file

ENDIF

AMOS

Conditional flow in command file

ERASE

AMOS *

Erase files

ERSATZ

AMOS

Display defined ERSATZ devices

EXIT

AMOS

Exit command or DO file

EXPLORE

A-Shell

Launches Windows file explorer

EZPRT

A-Shell

Print file, using EZ-SPOOL configured menu of printers

EZTYP

A-Shell

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

FUNCIDX

A-Shell

Generates an XTREE index of functions within a set of files

GETENV

A-Shell

Retrieves value of environment variable; use getenv {var}

GETATEREG

A-Shell

Retrieve ATE configuration settings from the server

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

IMGDSX

A-Shell

Image display utility

ISMBLD

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

A-Shell

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

MDFUPD

A-Shell

Internal use only: convert help menu to new format during update.

MDO

A-Shell

Internal use only: variation of DO.LIT.

MEMORY

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

AlphaBASIC 1.3 compiler; see COMPIL

OPRE

Debug plc

AlphaBASIC 1.3 pre-compiler

ORUN

AMOS

Run AlphaBASIC 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

AlphaBASIC 1.4 pre-compiler

PRINT

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 ASB 1.3 or 1.4 program

RUNPROF

A-Shell

Generate a run profile log

SAVE

AMOS

Save module from memory to disk

SBCSCH

SBC Inc.

Custom search routine written by Gary Guilbert; see usage with SBCSCH/?

SEND

AMOS

Send text message to another user

SET

AMOS

Set miscellaneous system and job parameters

SETATEREG

A-Shell

Set ATE configuration settings

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

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

VIEWASHLOG

A-Shell

Provides a simple way to view ashlog.log

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