Reply from aisha on Jun 23 at 8:38 AM hi, Yes it is giving me the file path as follows : Open of file /Datos01/psoft/appserv/PSDESA89/files/EXCEL_UPL.XLS failed: A file or directory in the path name does not exist.. This is where I kept my Excel. I have also given full access to the file. But when I open the file in view/edit mode it gives me some error. I am able to create the directory or file in this location. Is it that I don't have privileges in the directory? But otherwise I am able to view the excel. Also there is no space between the filename and extension.
| | | ---------------Original Message--------------- From: aisha Sent: Friday, June 22, 2012 7:24 AM Subject: A File Or Directory in the Path Name Does Not Exist Hi, I have a application engine with the auto generated file layout code. It reads the data from the excel and inserts into a staging record. But whenever i am running the application engine it gives me the location error : Open of file /Tuxedo/psoft/appserv/prcs/DESARAC1/files/excel_upl .xls failed: A file or directory in the path name does not exist.. (2,633) I am tired of figuring out the location. I have changed the code as follows in the application engine : &Path = GetEnv("PS_HOME") | "\appserv\prcs\DESARAC1\files\excel_upl.xls&qu ot;; &FILE1 = GetFile(&Path, "R", %FilePath_Absolute); &LOGFILE = GetFile(&Path, "W", %FilePath_Absolute); How to figure out the location. Am i going wrong anywhere to set the location. Do I need to check anything else ??? Thanks. | | Reply to this email to post your response. __.____._ | _.____.__ |
No comments:
Post a Comment