In our application we use two different cobol programs for a batch and online processing although the code is identical in both (except for the parmmvs in the header). From the maintenance point of view (apart from other reasons, I suppose) we would like to use the same source program to be executed online and batch independently.
Is there any possibility to do it? Could someone give me some references?
Thanks very much in advance.