Hi Pat, Thank you so much for the reply. I am not working on it anymore. I found a workaround to bypass this issue. I just tried removing the 4th Ordinal (the value 1) and it worked fine. Not sure if that is the right approach, but it served my purpose.
Once again appreciate your efforts in replying to my query. Regards Achyuth On Wed, Dec 19, 2018 at 9:22 PM pat <[email protected]> wrote: > So, taking this a step at a time > > OPEN 'file' ... > > Reads the Definition from the MD for 'file' > > Reads the 'Account Definition' from the 'SYSTEM' file > > Builds the path to the requested file : > > 'D:\Jenkins\workspace\MODULE64_Snapshot' : DIR_DELIM : ' > OBJ\METHODS]MSOURCE' > > So, in theory, identical to the working example where you provide the > 'full file path' > > Are there any ( redundant ) 'spaces' [ or 'tabs' etc ] in either the > 'SYSTEM MODULE' entry or 'MD MODULE.METHODS.SOURCE' item ? > > [ Use 'H', in 'ED' to see the Hex value of the contents [ '09' is tab, > '20' is Space etc ] ] > > On Friday, 15 June 2018 16:17:59 UTC+1, Achyuth Balakrishnan wrote: >> >> Hi, >> >> I have a .b file, in which I am trying to open a jBase file with the >> below syntax. But it fails with error: 128 (which means 'No such file or >> directory') >> OPEN "MODULE.METHODS.SOURCE" TO ibfvar SETTING openErr ELSE >> PRINT "Could not open '":ibfile:"': ":openErr >> GOSUB HELP >> STOP >> >> The JEDIFILEPATH environment variable is set to the folder location where >> this jBase file is.. >> The MODULE.METHODS.SOURCE is a jBase extended Object. In the MD file >> setting the fourth Ordinal to "1" means it is an extended Object. >> >> MD file entry is as below. >> D:\Jenkins\workspace\MODULE64_Snapshot>ed MD MODULE.METHODS.SOURCE >> MODULE.METHODS.SOURCE >> TOP >> .P >> TOP >> 001 Q >> 002 MODULE >> 003 OBJ\METHODS]MSOURCE >> 004 1 >> BOTTOM >> . >> >> The SYSTEM file entry is as below >> D:\Jenkins\workspace\MODULE64_Snapshot>ed SYSTEM MODULE >> MODULE >> TOP >> .P >> TOP >> 001 D >> 002 D:\Jenkins\workspace\MODULE64_Snapshot >> BOTTOM >> . >> >> Both the MD and SYSTEM files are in the same folder ( >> D:\Jenkins\workspace\MODULE64_Snapshot) which is set by the below >> environment variables. >> The MODULE.METHODS.SOURCE folder is in the folder >> D:\Jenkins\workspace\DPS64_Snapshot\OBJ >> set HOME=D:\Jenkins\workspace\MODULE64_Snapshot >> set JEDIFILENAME_MD=%HOME%\MD >> set JEDIFILENAME_SYSTEM=%HOME%\SYSTEM >> set EXIT=%HOME%\OBJ >> set JEDIFILEPATH=%HOME%;%HOME%\OBJ >> >> The below line of code when I try to OPEN with the complete path, it >> works fine. >> OPEN "D:\Jenkins\workspace\MODULE64_Snapshot\OBJ\METHODS]MSOURCE" TO >> ibfvar SETTING openErr ELSE >> >> Can someone please help. >> >> Thank you >> Achyuth >> >> >> >> -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "jBASE" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jbase/p_k1OMU3_-s/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Achyuth Balakrishnan Bangalore -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
