Create-file question

47 views
Skip to first unread message

Marc

unread,
Nov 16, 2018, 4:32:02 PM11/16/18
to jBASE
I'm trying to EXECUTE a CREATE-FILE command  as shown below and I'm obviously screwing up the punctuation...

FILENAME = VNAME:".PRICE"
OPEN ''",FILENAME TO F.OUT ELSE
         EXECUTE \CREATE-FILE DATA "\:FILENAME:\"\ 11\
OR

EXECUTE \CREATE-FILE DATA "\:FILENAME:\" 11\

What am I doing wrong??

Thanks!

Peter Falson

unread,
Nov 16, 2018, 5:04:09 PM11/16/18
to jb...@googlegroups.com
Get rid of the " around the \FILENAME \

Sent from my iPhone
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
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 jbase+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dick Thiot

unread,
Nov 16, 2018, 5:22:44 PM11/16/18
to jb...@googlegroups.com
Marc,

Your create statement assumes that there is already a dictionary section.  Are you wanting to create a new data section underneath and existing file or a new file with both dictionary and data sections.  Also, I agree with Peter.  Get rid of the double-quotes.  If the latter then try:
EXECUTE \CREATE-FILE DATA \:FILENAME:\1 11\

Dick

Bruce Willmore

unread,
Nov 16, 2018, 7:34:21 PM11/16/18
to jb...@googlegroups.com
Just a thought. I don’t know if this is a new application or not, but if it is, have you considered Multi-part files?

Marc Zitcer

unread,
Nov 17, 2018, 8:40:00 AM11/17/18
to jb...@googlegroups.com
Thank you all for the responses.  It was the "extra" quotes that caused the problem!  I will look into the multi-part file possibility.

Appreciate the prompt responses.
Marc

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/ISxqGXUcj2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jbase+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages