MPE/iX Commands Reference Manual (32650-90877)

Chapter 5 185
Command List III
Commands DATA thru EXIT
Example
The following example shows how EOJ is used within a job file to terminate a batch job:
!JOB USER.PUBS
!RUN MYPROG1
!RUN MYPROG2
!EOJ
Related Information
Commands JOB
Manuals Using the HP 3000 Series 900: Advanced Skills
ERRCLEAR
Zeros out all HP predefined error-related variables. (Native Mode)
Syntax
ERRCLEAR
NOTE
This command follows the optional MPE/iX command line syntax. Refer to
"Optional Format for MPE/iX Commands" at the beginning of this chapter.
Parameters
None
Operation Notes
This command is equivalent to the following:
SETVAR CIERROR 0
SETVAR HPCIERR 0
SETVAR HPCIERRCOL 0
SETVAR HPFSERR 0
Use
This command is available from a job or session. It is not available from a program or in
BREAK. Pressing
Break has no effect on this command.
Example
errclear
continue
run database
if hpcierr < 0 then
echo database warning ![abs(hpcierr)] detected, proceeding...
elseif hpcierr > 0 then
echo FATAL database error !hpcierr detected, halting...