TACL Reference Manual

Error Messages
HP NonStop TACL Reference Manual429513-018
B-50
Process Creation Error Messages
Process Creation Error Messages
If you receive a message indicating that the program file or library file has an illegal
format (*ERROR* NEWPROCESS error 006, nnn), TACL follows that message with
an error that describes why the file is unacceptable. Following is a partial list of errors:
*ERROR* Not a disk file
*ERROR* Not file code 100 or 700
*ERROR* Not correct file structure
*ERROR* Requires later version of GUARDIAN
*ERROR* No main procedure
*ERROR* LIB file has main procedure
*ERROR* No data pages
*ERROR* Invalid PEP
*ERROR* Header INITSEGS not consistent with size
*ERROR* Resident size greater than code area
*ERROR* File not fixed-up by binder
*ERROR* File has undefined data blocks
*ERROR* Unresolved references from data block to code block
*ERROR* Too many code spaces
*ERROR* Bad file or Bad target
See the Guardian Procedure Errors and Messages Manual for a description of the
subcode, and of process creation error messages in general.
If the error is not in a defined category, TACL displays *ERROR* Subcode nnn.
The #ERRORNUMBERS built-in variable stores four space-separated numbers after a
process creation operation. The first of the four numbers returned, 1101, represents
the process creation error (if no error occurred, all four numbers are zero). The second
number identifies the specific error, as listed in Table B-1.
Note. "*ERROR* Bad file or Bad target" occurs when trying to run a 700 code file on a
TNS/E system remotely from a TNS/R system.
Table B-1. #ERRORNUMBERS Results (page 1 of 2)
Number Error
1 Process has undefined externals (warning only; process was started)
2 No process control block available
3 File-system error occurred on program file
4 Unable to allocate map
5 File-system error occurred on swap file
6 Illegal file format
7 Unlicensed privileged program
8 Process name error
9 Library conflict
10 Unable to communicate with system monitor process