Please provide more detail as to what you are doing and what error you are receiving.
There are copybooks missing that are referenced by the copybooks that are present so I cannot compile the program.
Please upload all required copybooks.
Thanks.
Chris, what copybooks do you missed? in the zip files you have all copy files! adress.cbl, Basis.if, datio.cpy, fdadress.cpy --> adress.zip I had this error not in netexpress5.x and not in vc3.0, only in vc5.0 release mode
Chris, what copybooks do you missed? in the zip files you have all copy files! adress.cbl, Basis.if, datio.cpy, fdadress.cpy --> adress.zip I had this error not in netexpress5.x and not in vc3.0, only in vc5.0 release mode
yes, the copybook adm-link.cpy is missed, i will send it thanks
if B-LtzReadOk-m and xSatz-l (K-POS-KEY0:K-LG-KEY0) = DATEI-Key0
it mus be xSatz-l (K-POS-KEY0:K-LG-KEY0)
Second warning:
string K-DATEI " : Eintrag nicht vorhanden (" xSatz-l (K-POS-KEY0:K-LG-KEY0) ")" delimited size into xStatustext-l
it must be xSatz-l (K-POS-KEY0:K-LG-KEY0) ")"
Those are not errors, they are warnings and I get them too in both Debug and Release builds but only if I change my project warning level to include warnings.
These are valid warnings that the code might cause a problem at run-time. You are specifying reference modification on a one byte PIC X field to include 7 characters. (1:7).
Since the field is only one byte long this could cause an error at runtime. The field is in the linkage section so you are probably setting the address dynamically or you are passing in a parameter that is longer than one byte which is perfectly valid to do.
If you do not wish to be informed of this potential issue then you can turn this off with the compiler directives that I specified previously.
NOWARNINGS or CHANGE-MESSAGE"CH1111 N"
If you are using a Visual COBOL project then you could simply change the list box on the COBOL tab of the property page so that the warning level does not include warnings.
Those are not errors, they are warnings and I get them too in both Debug and Release builds but only if I change my project warning level to include warnings.
These are valid warnings that the code might cause a problem at run-time. You are specifying reference modification on a one byte PIC X field to include 7 characters. (1:7).
Since the field is only one byte long this could cause an error at runtime. The field is in the linkage section so you are probably setting the address dynamically or you are passing in a parameter that is longer than one byte which is perfectly valid to do.
If you do not wish to be informed of this potential issue then you can turn this off with the compiler directives that I specified previously.
NOWARNINGS or CHANGE-MESSAGE"CH1111 N"
If you are using a Visual COBOL project then you could simply change the list box on the COBOL tab of the property page so that the warning level does not include warnings.
Chris, i mean that the Compiler must recognize that this field is dynamic depending on the key length. But with you Explanation, i can accept this. I use more than one such dynamic fields!
Recent badge winners
Neil Morrishas earned the badge Consistent Trajectory