Scott,
If you're not using Java, I assume you're still having to generate spreadsheets somehow. What method/tool are you using?
Thanks.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Scott Klement
Sent: Wednesday, October 7, 2020 5:33 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: POI question
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.