We run in batch:
natural bp=x parm=x batchmode stack=/("logon a;write1;write1;fin") cmprnt01=/tmp/1.prt
where write1 is a simple program:
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.
Can someone help?