Hi, 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 a folder that we have created on the server (at the same level that QIBM).
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
ps : I’ve already post this message but I an response, so I didn’t know if it will be seen easily… sorry for that.
Subject: open/create files on AS400 from Lotuscript (agent&action)
In our lotus script to do similar we have the user id and pw in the script as well. But I don’t know if you are using the same methods as us to connect to the AS400:
Set sessionDB2 = New LCSession
sessionDB2.ConnectionPooling=True
Set lcconnDB2 = New LCConnection(“odbc2”)
Set lcflParameters = New LCFieldList
Set lcflResult = New LCFieldList
lcconnDB2.Server=“SERVERNAME”
lcconnDB2.UserID=“USERID”
lcconnDB2.Password=“PW”
Subject: RE: open/create files on AS400 from Lotuscript (agent&action)
In fact, I do not use connexion functions at all in my scripts for now.
One of these scripts has to create a log in our folder in the server
Dim fLog As New NotesLog(“Agent log_txt”)
Call fLog.OpenFileLog(“path_to_our_folder_on_the_server\Log_AgtMasquage.log”)
This script works fine if the log file as to be creating on NT server, and does not on AS400 server.
Is there anyway in AS400 admin or Domino admin, to allow all scripts of my database to open/create files in our folder on the server without dealing with connexion stuff in lotuscript code ?
thanks
luc
Subject: RE: open/create files on AS400 from Lotuscript (agent&action)
anyone to help me dealing with AS400 folders ??luc