|
Originally, I was using jar and piping the file list into it. That gave
me some issues with a huge file list. So, I switched to using xargs to
parcel out the file list. Can't recall why I switched to ajar at the same
time though - I could just use the "u" option on jar.
So, launch QSH to launch a shell script?
"All problems in computer science can be solved by another level of
indirection, except for the problem of too many layers of indirection."
I'll have to do some more experimenting.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of Jack Woehr
Sent: Friday, August 02, 2019 4:37 PM
To: Midrange Systems Technical Discussion
Subject: Re: Odd error - QSH ajar command
Write a bash shell script in the IFS under PASE using open source zip and
launch it from a CL.
On Fri, Aug 2, 2019 at 3:35 PM Roger Harman <roger.harman@xxxxxxxxxxx>
wrote:
V7.2list
I have a CL looping through a list of wildcards and building a zip file
using ajar. The build first creates an empty shell zip and then loops
through the wildcards adding to the zip.
In batch, I'm regularly seeing this error:
ajar: Could not rename temp file `<my zipfile>.zip_<some random
identifier>' to `<my zipfile>.zip
(Warning) Could not remove temp file `<my zipfile>.zip_<some random
identifier>'.
Running the same process interactively works fine. I came across a note
that said to be sure the environment variable QIBM_MULTI_THREADED was set
to Y and I've added that to my Robot job stream - it was not in my
interactive job though (WrkEnvVar).
Batch job is running from Robot and the user profile is on the AUTL for
the ifs folders (as am I).
Any thoughts? Thanks!
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
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@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
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@xxxxxxxxxxxx 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.
This mailing list archive is Copyright 1997-2025 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.