COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-91
Message List
515 (Error)
Cause. In the ACCEPT statement, either DATE appears followed by something other 
than YYYYMMDD or DAY appears followed by something other than YYYYDDD.
520 (Error) 
Cause. A data structure that could start on an odd byte was passed as a parameter to 
a CALL statement. If the data structure actually does start on an odd byte, the wrong 
address will be passed to the CALL statement. Certain subscript combinations cause 
this problem.
521 (Error) 
Cause. An ENTER statement tried to pass a parameter by value to a FORTRAN 
routine. This parameter must be passed by reference.
522 (Error) 
Cause. An ENTER statement tried to pass a parameter by value to an HP C function. 
This parameter must be passed by reference.
525 (Error) 
Cause. The program was compiled in the OSS environment with one of these 
compiler directives:
•
ENV
•
NONSTOP
•
SAVE
•
SUBTYPE
Expected YYYYMMDD after DATE or YYYYDDD after DAY
Possible odd byte address for parameter
Parameter must be passed BY REFERENCE to a FORTRAN routine
Parameter must be passed BY REFERENCE to a C function
This directive is not permitted in the OSS environment










