Is there a way to set the Workfile Attribute to APPEND and/or DELETE from a script on Unix? I combed through the documentation and tried a few things myself but I do not seem to be able to do it. I was expecting to be able to do one of the following:
Pass a dynamic parameter WORKATTRnn=APPEND to override the default natparm.
Adding something to the CMWRKnn definition: CMWRKmm=“$USERDIR/temp/WORKFILE.TXT;APPEND”
or
Passing another input in the batch script CMATTRnn=APPEND
None of these are working. It is not practical for us to set the defaults in the natparm module we use as we would like the developers and users to override it as needed, more or less like in JCL’s DISP= statement.