× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I totally get the concept of the *.tmp renaming. We've all written
that function to scan the IFS for a new file to post to EDI, etc. Renaming
it after download helps to stop the scan program from grabbing it
prematurely.

On Wed, Aug 28, 2024 at 3:18 PM Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

Some applications, chrome for instance when downloading, will create a
temporary file to save data too and then once writing is finished will
rename it to the actual name chosen.

Renaming a file, in most OS's, requires appropriate authority to the
directory in addition to the file itself.

For IBM i, "the user must have object management (*OBJMGT) authority to the
object to be renamed, and write and execute (*WX) authority to the
directory that contains the object."

So you might double check that.

Though as far as I see, the same authorities would have been needed to
create the temporary file in the first place. The only other thing I can
think to check is if somehow the object is getting created with "restricted
rename and unlink" attribute set. That should be visible when looking at
the file attributes. Why it would be being set I don't know.

HTH,
Charles



On Wed, Aug 28, 2024 at 8:03 AM Stephen Coyle <stephenfcoyle@xxxxxxxxx>
wrote:

Hi All,

I have a spreadsheet that with a button push will save the data to a
folder in the IFS as a CSV file.
This works fine for everyone but one particular user.
It doesn't seem to be an authority issue or a connection problem to
the IFS as a file does get saved.
The problem is that for this user the file is saved with a temporary
name and a TMP extension.
For everyone else using this process the file is saved as a CSV and
named correctly.
We then have a job that monitors the IFS folder and processes the file
accordingly.
But that monitor job is looking for a specific filename so the TMP
file is ignored.

I should clarify that the file name and extension look correct within
windows file explorer.
But when I look at the logs from the IFS monitor job it looks like
this:
2024-08-26-13.27.38.984944 *STMF
/Import/COLineCuts/ECB285C8.tmp CREATED 855061/QUSER/QZLSFILET

Does anyone have an idea why all that is left from the export/save
operation from Excel is a TMP file?
My manual fix so far has been to cut the file out and paste it right
back to the same folder to be processed.

Thanks for any info,
- Steve
--
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.


--
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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.