In Native COBOL you can have something like this:
01 MyData.
05 MyString1 Object Reference.
05 MyString2 Object Reference.
05 MyString3 Object Reference.
05 MyString4 Object Reference.
*> This is just a simplist list, there could be 100's
01 ProgramToCall PIC X(6).
procedure division.
*> Program Names are build dynamically and called in a variable.
move "ABCDEF" to ProgramToCall
Call ProgramToCall using MyData
Now moving to COBOL .NET this has to change as Object References must be on an 01 Level.
All of my programs are in separate projects.
All program Names are called inside a variable
All Linkages to different programs change depending on the program being called, some might not have any Object References, others my have 100's
Q1. How do I simulate the same process in COBOL .NET?
Q2. Can I do it without creating a project references? (Make it more dynamic)
Ideas?
Neil
------------------------------
Neil Hayes
Software Development Specialist
Syspro (Pty) Ltd
Rivonia GB
------------------------------
