Skip to main content

I am compiling a program with the following command line:

cobol cgetords.cbl case litlink makesyn "comp-5" = "comp" omf(obj)

but the object code file (cgetords.obj) is not being created, with the following resulting Linker errors:

-----
Object file-name [CGETORDS.OBJ]:
Source listing   [NUL]:
Object listing   [NUL]:
* Checking complete with no errors - starting code generation

C:\\Workarea\\Eloq>link
Micro Focus Net Express - CBLLINK utility
Version 5.100.0157 Copyright (C) 1984-2008 Micro Focus (IP) Limited.

ERROR: (1) Cannot open file :  cgetords.obj
ERROR: (6) No public symbols found. No object file generated
----


I have been through this compile/link process dozens of times in the last couple of weeks so I'm somewhat baffled as to why it should now fail. Has anyone any ideas as to cause and solution? Thanks

I am compiling a program with the following command line:

cobol cgetords.cbl case litlink makesyn "comp-5" = "comp" omf(obj)

but the object code file (cgetords.obj) is not being created, with the following resulting Linker errors:

-----
Object file-name [CGETORDS.OBJ]:
Source listing   [NUL]:
Object listing   [NUL]:
* Checking complete with no errors - starting code generation

C:\\Workarea\\Eloq>link
Micro Focus Net Express - CBLLINK utility
Version 5.100.0157 Copyright (C) 1984-2008 Micro Focus (IP) Limited.

ERROR: (1) Cannot open file :  cgetords.obj
ERROR: (6) No public symbols found. No object file generated
----


I have been through this compile/link process dozens of times in the last couple of weeks so I'm somewhat baffled as to why it should now fail. Has anyone any ideas as to cause and solution? Thanks

I should have added that my link command line is:

cbllink cgetords.obj image3kc.lib


I am compiling a program with the following command line:

cobol cgetords.cbl case litlink makesyn "comp-5" = "comp" omf(obj)

but the object code file (cgetords.obj) is not being created, with the following resulting Linker errors:

-----
Object file-name [CGETORDS.OBJ]:
Source listing   [NUL]:
Object listing   [NUL]:
* Checking complete with no errors - starting code generation

C:\\Workarea\\Eloq>link
Micro Focus Net Express - CBLLINK utility
Version 5.100.0157 Copyright (C) 1984-2008 Micro Focus (IP) Limited.

ERROR: (1) Cannot open file :  cgetords.obj
ERROR: (6) No public symbols found. No object file generated
----


I have been through this compile/link process dozens of times in the last couple of weeks so I'm somewhat baffled as to why it should now fail. Has anyone any ideas as to cause and solution? Thanks

Have you been able to resolve this issue?

I see nothing wrong with the command line but it appears that you are not getting the actual message:

* Generating cgetords

followed by a display of the data and code sizes generated.

What happens if you enter the command directly in a Net Express command prompt and not from within a .bat file?

It also appears that you are running with the base release of NX 5.1 so I would suggest that you apply the latest wrappack if possible.

Thanks.


I am compiling a program with the following command line:

cobol cgetords.cbl case litlink makesyn "comp-5" = "comp" omf(obj)

but the object code file (cgetords.obj) is not being created, with the following resulting Linker errors:

-----
Object file-name [CGETORDS.OBJ]:
Source listing   [NUL]:
Object listing   [NUL]:
* Checking complete with no errors - starting code generation

C:\\Workarea\\Eloq>link
Micro Focus Net Express - CBLLINK utility
Version 5.100.0157 Copyright (C) 1984-2008 Micro Focus (IP) Limited.

ERROR: (1) Cannot open file :  cgetords.obj
ERROR: (6) No public symbols found. No object file generated
----


I have been through this compile/link process dozens of times in the last couple of weeks so I'm somewhat baffled as to why it should now fail. Has anyone any ideas as to cause and solution? Thanks

It must have been a temporary aberration. The next time I rebooted my PC compiling and linking was back to normal, and has been since.

Where would I get the latest wrappack?


I am compiling a program with the following command line:

cobol cgetords.cbl case litlink makesyn "comp-5" = "comp" omf(obj)

but the object code file (cgetords.obj) is not being created, with the following resulting Linker errors:

-----
Object file-name [CGETORDS.OBJ]:
Source listing   [NUL]:
Object listing   [NUL]:
* Checking complete with no errors - starting code generation

C:\\Workarea\\Eloq>link
Micro Focus Net Express - CBLLINK utility
Version 5.100.0157 Copyright (C) 1984-2008 Micro Focus (IP) Limited.

ERROR: (1) Cannot open file :  cgetords.obj
ERROR: (6) No public symbols found. No object file generated
----


I have been through this compile/link process dozens of times in the last couple of weeks so I'm somewhat baffled as to why it should now fail. Has anyone any ideas as to cause and solution? Thanks

If you are currently on maintenance with Micro Focus for your Net Express product then you can download wrappacks from the Supportline Product Updates page here:

Thanks.