Hi all,
i´m looking for a chance to write one and the same Outputfile from a Cobol-Mainprogram and a PLI-Subprogramm (with Fetch or static Link).
Main(Cobol) : Write Hallo 1
Call PLI-SUB
PLI-SUB : Write Hallo 2
return
Main(Cobol) : Write Hallo 3
End.
This is, what i want :
Hallo 1
Hallo 2
Hallo 3
Any Idea ?
Thanks for Help !
Regards,
Martin
P.S. Without an Open in PLI, PLI opens the File implicit, the Output before in Cobol is going to Discharge...... ((