Hi,
We ruuning csh script. first step write a work file, & the second need to open it to “append”.
Can we defined the work file as “append” in the csh script or just in the program as;
define work file 1 type ‘sag’ attributes ‘APPEND’?
Hezi
Hi,
We ruuning csh script. first step write a work file, & the second need to open it to “append”.
Can we defined the work file as “append” in the csh script or just in the program as;
define work file 1 type ‘sag’ attributes ‘APPEND’?
Hezi
I am not a scripting expert, but what I have seen is the creation of a new file followed by a “cat” to put the old and new files together. Which method you choose (cat or APPEND) depends on your shop standards.
Hi,
you cann’t define a file as append or in append-Mode. Every program/process/skript must open the file in “append-mode”. In Natural you have to use “APPEND”, otherwise the file will be rewritten.
regards,
Markus Wessjohann