The file is in the Data directory on the Domino server on iSeries. The
agent is set up for testing as On event/Action menu selection but when
running the agent in Notes, I get the message "Unable to open file" on the
Open statement. I've tried all kinds of variations of the path/file name but
no luck.
Can anyone suggest what I may be doing wrong?
Here's the first part of the script:
Option Public
Sub Initialize
Dim session As New notessession
Dim db As notesdatabase
Dim doc As notesdocument
Dim fileNum As Integer, cells As Integer
Dim fileName As String
Dim InputStr As String, delimiter As String
Dim FieldArray As Variant
Dim rtitem As Variant
fileNum% = Freefile()
fileName$ = "/DOMINO/TDCDOMINO/DATA/XINVHDR.CSV" ' Location of file
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.