Please enable JavaScript to view this site.

A-Shell 7.0 Release Notes

xcall MIAMEX, MX_SETERSATZ, erzdef {, status}

MX_SETERSATZ allows for adding or updating ERSATZ device definitions without relaunching session. This may be useful in applications where the specific location of certain system-wide ersatz devices (e.g. REPORTS:) may need to change based on the user, menu selection, etc.

Parameters

erzdef (String)  [in]

either a filespec containing ERSATZ definitions, or a single ersatz definition in the format: erznam:=device:{[p,pn]}

status  (Num)  [out]

optionally returns status of operation:

Value

Meaning

0

single definition replaced

1

definition(s) added

-1

invalid format

-2

exceeded max # of allowed ERSATZ definitions

-3

file not found