[Migrated content. Thread originally posted on 14 December 2011]We are currently working with RM / COBOL, and we set up a folder system that we like to keep when we come to work with Visual Cobol.
We have the following folders:
All Programs .CBL are in the /FUENTES folder. When you compile a program, the copies are obtained from /CPY folder, the .LST file generated goes to /LST folder, and the .COB goes to /OBJ.
I've been doing some testing with Visual Cobol Native and I have some doubts. My idea is to generate .SO files so that programs can be executed with the command cobrun, and to be called by other programs with CALL.
1)Compiling and linking from command line. With de command
(DES): aixlab0102: / FUENTES> cob -z -P Program1.cbl
I get the next files
Then I move "Program1.so" to /OBJ folder and "Program1.lst" to /LST folder; and I remove the rest of files. I do all of this manually; it would be possible to automatically perform this movements through some option of command cob or some compiler directives????
2)Compiling and linking from Visual Cobol Eclipse (Windows) for Visual Cobol Remote Projects
This type of project generates on the remote server a project folder, and a set of related files: cobolBuild, cobolProj .. I suppose that this structure cannot be different, isn’t it???? I would like to have only one .CBL file for project in /FUENTES folder...
In any case, there is any way that the .so and .lst files goes automatically to ./OBJ and ./LST folders when I build the project from Visual Cobol Eclipse (Windows)???