Doug,

The new_XSSFWorkbook() routine does all of it's work in memory. There is nothing to assign authority to, as it does not create any objects.

I suspect you're later calling the ss_save() routine to create a file from the workbook?   This routine creates a file in the IFS using Java's "new FileOutputStream(String name)" .   This interface does not provide a way to set authorities that I'm aware of, so I'd assume it inherits authority from the directory?  But, not completely sure about that.  I haven't done anything in Java in around 10 years.

CHGAUT would work.  You could also try pre-creating the file with the authorities you want.

-SK


On 10/7/2020 3:16 PM, DEnglander--- via MIDRANGE-L wrote:
Does anyone know how I configure the authority assigned by POI when the
new_XSSFWorkbook() process executes? I want to change the Object
Authority assigned to the newly created object. Not sure if I can change a
configuration setting somewhere, or I need to manually change it using the
CHGAUT command.

Thank you,

Doug



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.