We successfully ported a multi-million lines legacy system on Windows in 20006. However it's on NetExpress 4.0, therefore we want to migrate it to Enterprise Developer.
We have this problem with 385 batch programs but I will explain what's going on with a "typical" program...
The main program calls 5 sub-programs among which one is not a legacy but a DAL (Data Acces Layer) written while porting to Windows.
They all share the same directives except these 2 (The DAL does not use it)
AMODE"31"
FOLDCALLNAME"UPPER"
When I build the project, I get the following error (when using the almost-common directives)
COBLK0004 : Cannot read file : DAL.obj
If however I swith to the DAL's directives, the error disappear but reappear with the other sub-programs
COBLK0004 : Cannot read file : SUB1.obj
COBLK0004 : Cannot read file : SUB2.obj
COBLK0004 : Cannot read file : SUB3.obj
COBLK0004 : Cannot read file : SUB4.obj
I think it's because of the FOLDCALLNAME directive (Sub1-Sub4 uses it while DAL does not)
All the programs are static linked and there is a reason for it. The system has a complex network of "ENTRY" statements.
I suppose I could try to build the DAL as a DLL Project, but I would rather keep it static to avoid a mix & match.
Any advice?