if only 3 arguments are passed , the error is displayed
to the user's terminal.
if you use the following call it will log it to disk
in a file called 'ERROR.LOG' in the current PPN.
XCALL ERROR,ERR'0,ERR'1,ERR'2,ERR'L
The Variable ERR'L is just a null argument that is tested
right before returning to the basic program.
if the argument count is equal to 4 then we are going to
log this error.
The data written to disk has the following format ;
|------------------------------------------------------------------------------|
| Program Error(12) XCALL subroutine not found Saturday, July 25, 1987 12:51:57
| Job Name : JOBXXX Terminal : TRMXXX Program : PROGRM
| On Line : 00000 Channel : 00000 logged : DSKX:[P,PN]
|------------------------------------------------------------------------------|