|
I have a program that reads and processes an xlsx spreadsheet on a V7R2 system. Works great interactively but gets an exception when ran in batch. All there is in the job log after starting the JVM is the below escape message.
Any ideas would be greatly appreciated.
Jason
----------------------------------------------------------------------------------------------------------------------------------
RNX0301 Escape 50 05/21/20 09:04:07.916633 QRNXIE QSYS *STMT HSSFR4 POI36 *STMT
From module . . . . . . . . : QRNXMSG
From procedure . . . . . . : SignalException
Statement . . . . . . . . . : 21
To module . . . . . . . . . : HSSFR4
To procedure . . . . . . . : SS_OPEN
Statement . . . . . . . . . : 189900
Thread . . . . : 00000627
Message . . . . : Java exception received when calling Java method.
Program logic is:
SetJavaEnvironment();
ss_begin_object_group(100);
book = ss_open((%Trim(myFile));
If book = *null;
ReturnValue = UnableToOpenFile;
Else;
// do some stuff
EndIf;
ss_end_object_group();
As an Amazon Associate we earn from qualifying purchases.
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.