I've done the following:
On target server:
STRNFSSVR SERVER(*ALL)
CHGNFSEXP OPTIONS('-I -O RW=,ANON=0') DIR('/scserver/userdata/reports')
On source server:
MD DIR('/ereports') DTAAUT(*RWX) OBJAUT(*ALL)
MOUNT TYPE(*NFS) NFS('xx.xxx.x.xxx:/scserver/userdata/reports')
MNTOVRDIR('/ereports')
I can do a wrklnk and see/work with the contents on the target server.
But the Domino agent is still having 'trouble'
The code in one of the agents is pretty simple.
Sub Initialize
Dim s As NotesSession
Dim agent As NotesAgent
Dim db As NotesDatabase
Dim doc As NotesDocument
Set s = New NotesSession
Set agent = s.CurrentAgent
Set db = s.CurrentDatabase
'Set doc = db.GetDocumentByID(agent.ParameterDocID)
On Error Goto ErrorHandler
'pathName$ = doc.dispReportDepLocPath(0)
'fileName$ = Dir$(pathName$, 16)
'Doc.ReturnFile = fileName$
'Call doc.save(True, False)
'Exit Sub
Dim pathName As String, fileName As String
pathName$ = "\\ereports\bob.txt"
fileName$ = Dir$(pathName$, 0)
'Do While fileName$ <> ""
Print fileName$
fileName$ = Dir$()
'Loop
ErrorHandler:
Print "Error - " + Cstr(Error) +" - "+ Cstr(Err)
'Doc.ErrorStr = "Error - " + Cstr(Error) +" - "+ Cstr(Err)
'Doc.ReturnFile = ""
'Call doc.save(True, False)
End Sub
Michael Crump
Manager, Computing Services
SGCI
1509 S. Macedonia Ave.
Muncie, IN 47302
765.741.7696
765.741.7012 f
Elitism
It's lonely at the top. But it's comforting to look down upon everyone
at the bottom.
This email and its attachments may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any view
or opinions expressed are solely those of the author and do not
neccesarily represent those of Saint-Gobain. If you are not the
intended recipient of this email and its attachments, you must take no
action based upon them, nor must you copy or show them to anyone.
Please contact the sender if you believe you have received this email in
error.
-----Original Message-----
From: domino400-bounces+mike.crump=saint-gobain.com@xxxxxxxxxxxx
[mailto:domino400-bounces+mike.crump=saint-gobain.com@xxxxxxxxxxxx] On
Behalf Of Walter Scanlan
Sent: Friday, November 13, 2009 9:00 AM
To: Lotus Domino on the iSeries / AS400
Cc: domino400-bounces+wscanlan=us.ibm.com@xxxxxxxxxxxx; Lotus Domino on
the iSeries / AS400
Subject: Re: Domino application on iseries accessing stream file on IFS
onanother iseries
You can use the MOUNT command to mount the remote file system to a
directory under the data directory.
Walter Scanlan
Senior Software Engineer
Office: 507-286-6088
Cell: 507-990-4539
From:
"Crump, Mike" <Mike.Crump@xxxxxxxxxxxxxxxx>
To:
"Lotus Domino on the iSeries / AS400" <domino400@xxxxxxxxxxxx>
Date:
11/13/2009 07:52 AM
Subject:
Domino application on iseries accessing stream file on IFS on another
iseries
I'm looking at moving some of our domino servers to a new physical
server. We have a number of Domino applications that use stream files
created by other applications that are placed on a specific iSeries.
Even though I'm moving the Domino server I'm not looking at moving the
stream files to a new server.
For example, we have an application that is using an agent to retrieve
the file. Currently, the agent is using a location similar to
//application root/userdata/reports/file.pdf. This works like a champ.
Now, I'm moving that Domino application so the stream file is now
sitting on a different iSeries. Can a Domino agent work with
/qfilesvr.400/server/application root/userdata/reports/file.pdf? Would
you have to have QNOTES setup with identical passwords in order for this
to work? Would there be any other options?
Michael Crump
Manager, Computing Services
SGCI
1509 S. Macedonia Ave.
Muncie, IN 47302
765.741.7696
765.741.7012 f
Elitism
It's lonely at the top. But it's comforting to look down upon everyone
at the bottom.
This email and its attachments may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any view
or opinions expressed are solely those of the author and do not
neccesarily represent those of Saint-Gobain. If you are not the
intended recipient of this email and its attachments, you must take no
action based upon them, nor must you copy or show them to anyone.
Please contact the sender if you believe you have received this email in
error.
_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/domino400.
_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/domino400.
As an Amazon Associate we earn from qualifying purchases.