Posted this on comp.databases.pick, with no response... So, thought I'd
see if I have any better luck here!
I have a program that processes a couple of large (1/2 million lines)
flat files. The actual 'files' reside on a seperate machine.
I can access the file via an MD Q pointer to LIST at JCL, or with OPEN
in DataBasic) and 'read' the item (which takes an age!).
Being a smart....guy, I thought it made more sense to OPENSEQ then
READSEQ thus saving the laborious read into memory of a huge file that
I only need to process 1 line at a time...
Only I can't 'OPENSEQ' the file... I'm just not sure what the correct
syntax for a remote file within jBase should be?
The Qpointer is 1=Q; 2=machine; 3=/directory
The Rpointer (in SYSTEM) is 1=R; 2=machine jRFS_machine; 3=null;
4=machine
where machine is the name of the machine the actual directory resides
in...
I've tried
OPENSEQ "qpointername", "filename" TO ...
and
OPENSEQ "machine:/directory","filename" TO ...
and various variations but with no joy...
Any help greatfully received.
Since then, I've had a copy of the original files placed on the same
machine and I still can't get the OPENSEQ to work?!?!
Very frustrating... there has to be a simple answer?
Best place for resolving issues is dev...@jbase.com
Regards
Robert
Danny
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf
Of Robert Cowen
Sent: Wednesday, July 13, 2005 10:53 AM
To: jB...@googlegroups.com
Cc: Devsup
Subject: RE: jBase : OPENSEQ file access...
Best place for resolving issues is dev...@jbase.com
Regards
Robert
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com]On Behalf Of
PortyMan
Sent: Wednesday, July 13, 2005 16:09
To: jB...@googlegroups.com
Subject: jBase : OPENSEQ file access...
Hi Guys,
I've tried
and
Any help greatfully received.
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged. If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately. Any unauthorized review, use, disclosure or distribution is prohibited.
Robert is a salesman – just trying to help out I think. Why the stupid conspiracy theory that he would somehow have the power to prevent thing s going in the public domain? It’s not like I was born in Beeston, Leeds or anything… err, oh yes, I was!
Perhaps you could have answered the question instead of beating up on others.
OPENSEQ takes a filespec directly:
OPENSEQ “C:/fred/myfile.xyz”
You don’t need all that Q pointer stuff on jBASE.
Jim
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of FFT...@aol.com
Sent: Wednesday, July 13, 2005
9:42 AM
To: jB...@googlegroups.com
Cc: dev...@jbase.com
Subject: Re: jBase : OPENSEQ file
access...
In a message dated 7/13/2005 9:06:28 AM Pacific Daylight
Time, rob...@jbase.com writes:
Best place for resolving issues is dev...@jbase.com
Regards
Robert
Robert, I think we may have 'spoken' (ie emailed) via another channel -
I'm away from home at the moment so can't check... Something to do with
me trying to install jBase at home...
I'd forgotten about the dev support email thingie... I did try the
jBase international site and found nothing about OPENSEQ in the
Knowledge base, and nothing about accessing remote files, etc. That's
why I came here! (As the man said, what's the point of this forum if
not to answer 'techie' queries? Just philosophical discussions on the
potential of Pick? Anyway, I've learned my lesson - bug the guys who
get paid to answer dumb questions first!! :-)
Anyway. Looks like it can't be done. Which is a shame, it would've been
nice to improve the performance of the routine. But, hey,it works -
albeit with a large pause while it reads a monster item into memory,
twice - so, I'm 'happy'.
I may try again I find an idle moment...
Oh, and apologies to Jim H for being such a Jackass/Jack Ass - I only
asked...(pout).
You might start with your support channel; jbase is a commercial
product, as much as some people here like answering ancillary support
questions, that's still your first line for support questions.
Take care and thanks for being such a jack ass.
You might start with your support channel; jbase is a commercial
product, as much as some people here like answering ancillary support
questions, that's still your first line for support questions.
Take care and thanks for being such a jack ass.
-Jim
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf
Of FFT...@aol.com
Sent: Wednesday, July 13, 2005 6:12 PM
To: jB...@googlegroups.com
Subject: Re: jBase : OPENSEQ file access...
In a message dated 7/13/05 12:46:26 PM Pacific Daylight Time,
ji...@temporal-wave.com writes:
<< Perhaps you could have answered the question instead of beating up on
others. >>
I would if I had *known* it. That's a bit of a requisite isn't it?
Will
Me again. Just to say
1) Sorry for having caused/incited/facilitated a flare-up of some sorts
between members. Obviously not my intention. Just an old guy trying to
make a living!
2) I suddenly remembered (that happens at my age...) that I was
directed to this 'group' directly from the jBase international site
from the bit right next to...
"Send support requests and bug reports to dev...@jbase.com."
which I obviously missed! (Actually, I did think my questions was kinda
trivial... turns out it's not really).
3) I am in dialogue with devsup (very nice people, I recommend them
thoroughly). Hopefully something will come of this. But as this issue
is a bit of a one-off (and I'm on a short-contract) I'm reluctant to
start 'installing' anything or even just rocking the boat re: file
setups etc...
Anyway, thanks for all your comments. I hope some steam's been released
and we can all get back to the important stuff (like the Golf, my
holiday next week and who killed Fenner? - I don't actually care who
killed Fenner, just trying to be topical and 'hip')
Peace and Love, maaaan...
Gary