Sample for zfile to append to file
Sample for zfile to append to file
We are looking for a sample program that uses zfile to append to an mvs pds member. We are able to do it, but are seeing alot of extra allocations. We are sure it is because we create a new instance of zfile for the same file for each write. This happens because we created a class called write to member that handles the append. So, each time we call writetomember is does the new zfile. We are not sure how to hold or pass a zfile reference. any insight would help.