Could be Bruce [ well spotted ]

Possibly because the Q-pointer contains the Windows 'directory delimiter' 
'\' [ which in 'C' is taken as 'treat the following character as it's 
literal value, ie the '\' is no longer treated as a Windows Directory 
delimiter ]


Happy New Year all


On Thursday, 20 December 2018 14:32:55 UTC, Bruce Willmore wrote:
>
> Just brainstorming here, but could it be that problem is because the 
> Q-Pointer is referencing part of a path “OBJ\METHODS]MSOURCE” instead of 
> just a file name “METHODS]MSOURCE”? I never tried setting up a Q-pointer 
> like that before, and so I’m not sure.
>  
> *From:* pat 
> *Sent:* Wednesday, December 19, 2018 10:52 AM
> *To:* jBASE 
> *Subject:* Re: jBase Open file Fails with Error 128 in the .b File
>  
> 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] <javascript:>
> To unsubscribe, send email to [email protected] <javascript:>
> 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.
>

-- 
-- 
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.

Reply via email to