What is the scripting to read text file from as400 server using scheduled agent?
Subject: What is the scripting to read text file from as400 server using scheduled agent?
It’s the same script for reading any text file:
filenum = Freefile()
Open "/notes/dom01/data/mydata.txt" For Input As filenum
Do While Not Eof(filenum)
Line Input #filenum, etext
....
Loop
You need to make sure that the agent has “Allow restricted operations” selected and that the owner of the Domino process has permissions to read the file.