AS400 and File access

Hi,

I’m trying to access a file on my iSeries in QDLS\DSRP folder.

If I use the following code, it’s working! The file will be create in the Domino Data folder.

FileAppendText% = Freefile()

Open “filename.txt” For Append As FileAppendText%

Print #FileAppendText%, “test”

If I try to access a folder outside the data, it doesn’t work. I always have this error message: Unable to open file

FileAppendText% = Freefile()

Open “QDLS\DSRP\filename.txt” For Append As FileAppendText%

Print #FileAppendText%, “test”

I shared the DSRP folder and also give full access to QNOTES.

Thank you for your help.

Alexandre

Subject: AS400 and File access

Hi, I get about the same problem to solve.

I moved my database from NT to AS400 server.

In my database, I have some lotusscripts that create and open files (log, doc, xls,…) on the server.

These scripts (locating in agent and action) do not work at all because they do not successed in accessing AS400 folder.

Users are unknown by AS400.

If we log on AS400 before, it’s working.

Is there a way to allow all theses scripts to access my AS400 folder with wright to open and create files, without modifing the lotuscript code and without asking the user to to log on AS400 ?

Thanks in advance for your help.

Unfortunely, I do not have skill in AS400, so thank you for helping an beginner.

Luc