Hi All,
I am working on V05 to V10 upgrade in Linux and currently performing the compilation of the code using cob64 and facing below issues.
Appreciate your help with these issues, attached the compiler options used for reference.
1) .so file not Created during Bulk compile
We are using the below command to compile the programs, the process is creating .int, .idy , .o and .so file during the compilation if I perform the task for one module by specifying the full name but only .int, .idy and .o is created if I use wildcard *.cbl to pickup all the program. Could some one please help with the correct option to create the .so files during bulk compilation.
cob64 -z -v -k ./SRC/*.cbl -N OBJ"/home/jenkins/loadlib/batload/" -a -g -C "USE(/opt/microfocus/EnterpriseDeveloper/cobol.dir)" -C "USE(/opt/microfocus/EnterpriseDeveloper/sql.dir)" -C "USE(/opt/microfocus/EnterpriseDeveloper/batch.dir)" -U
2) Compilation of Programs with special characters failing
Some of the programs have special character in the comments and also in strings which is causing the compilation to fail. I have changed the source code file to UTF-8 but still causing the same problem. Do we have any option or compiler directive to fix this issue.
3) Sliding Data item error
We are getting the below error while compiling some of the programs, there is a value clause used in the depending on variable but the same code is compiling fine in Version 5.0. Do we have any way to overcome this issue through compiler options.
2623 05 XAS-FORMAT-COUNT-1 PIC 9(4). 00650002
[cobol] COBCH1962S A sliding data item cannot have a VALUE clause.
------------------------------
Durga Prasad Munirajulu
Principal Consultant
Rocket Internal - All Brands
Denver CO US
------------------------------