|
Have a sftp process that gets a text file from remote partner, to an
existing ifs folder.
As soon as sftp ended, a rpgle is called to open and read the file.
Has run for years, 10-30 times a day, but last couple days rpgle throws
error
eval fd = open(%trim(@file):
O_RDONLY+O_TEXTDATA)
CPF9897 Escape 40 10/26/18 10:41:27.830575 XXX14
XXXPGM
From module . . . . . . . . : XXX14
From procedure . . . . . . : DIE
Statement . . . . . . . . . : 1087
To module . . . . . . . . . : XXX32
To procedure . . . . . . . : XXX32
Statement . . . . . . . . . : 986
Message . . . . : open(): No such
path or directory.
Run multiple times and same result.
Auth is the same
No recent changes in sftp or called programs.
V7R3 and no recent ptf changes
Sftp job is submitted and using dtaq to notify caller (CLLE) when done.
Caller then calls RPGLE XXX14.
There are 5200 files in that directory, adding 10 to 30 each day.
Very little activity on the system.
Added a 5 second delay before calling XXX14 and now it works again.
What would cause OS to not recognize a new file in the IFS and need such a
delay?
One change to the system is change from weekly ipl to quarterly.
Jim
--
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: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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: http://amzn.to/2dEadiD
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.