Reply from mybasicknowledge on Jun 24 at 9:34 AM There are couple of consideration 1- PRCS owner user does not have rights of your directory, or might only have read access 2- Path is not recognize 3- I believe you must be running app engine via prcs server and directory must exist there try this: Run App engine from your app designer by clicking signal button, and create directory at your local drive and test.
| | | ---------------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