Thanks Sean.
When I run the command it places the .TXT file in the same directory. The
directory is set to public *RWX.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Porterfield, Sean
Sent: Wednesday, May 09, 2012 1:26 PM
To: Midrange Systems Technical Discussion
Subject: RE: Problem running QSH Java command
Where does it create the output file? Is it to your home directory and
perhaps the user doesn't have one? Otherwise, does the user have permission
to write the file in the directory if it's specified rather than implied?
--
Sean Porterfield
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jack Tucky
Sent: Wednesday, May 09, 2012 12:58
To: 'Midrange Systems Technical Discussion'
Subject: Problem running QSH Java command
I wrote a CL that uses QSH and PDFBox to convert a PDF to a .TXT file. It
runs fine for me.
When my users run it, I see the QSH command says completed normally with
exit code "1". The .TXT file isn't generated.
My QSH command is:
CHGVAR VAR(&CMD) VALUE('java -jar +
/JavaPDF/pdfbox-app-1.6.0.jar ExtractText +
' *BCAT &STMF)
QSH CMD(&CMD)
How can I find out what's going wrong? Is there a way to turn on logging or
anything?
Thanks for any help.
Jack
This email is confidential, intended only for the named recipient(s) above
and may contain information that is privileged. If you have received this
message in error or are not the named recipient(s), please notify the sender
immediately and delete this email message from your computer as any and all
unauthorized distribution or use of this message is strictly prohibited.
Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.