define data
local
1 #a (a10)
end-define
define printer (1)
write (1) "hello"
end
I assume we will get twice “hell” in the printer file (on the ibm/vse is working like that),
but we get only once “hello”.
The second program override our printnig file.
I have an idea but cannot test it, as I have restricted access under Unix. It works under Windows. Perhaps you can find the equivalent under Linux. Give it a try.
Running the Natural Configuration utility (NATPARM), I select a member and open Natural Execution Configuration → Device/Report Assignments. Under Devices I click on Setup for LPT1 and a window pops up in which I specify the Physical specification of “>> C:\Print1.prt”, and I check the box for Print to file.
All my Natural output written to (01) is appended to c:\Print1.prt.