QUIZ and subfiles
RUTMJVA
tmjva23664 at gmail.com
Fri Mar 31 07:32:11 CDT 2023
Unless you did a KEEP on SET SUBFILE, it will always be a temp.
PORTABLE subfiles are always perm.
I know how frustrating it can be when you can't find your hidden temp files.
So here is a thought.
Put your SET SUBFILE line back in.
The default subfile name is QUIZWORK.
After the GO, do an ACCESS *QUIZWORK then REPORT ALL
If stuff appears, there's your subfile.
Some other things.
If there is already a file out there called QUIZWORK, it will have
trouble writing to it. (But it should ask what to do with it after the GO.)
If there is a file equation in your session that says something like
FILE QUIZWORK;DEV=$NULL, then some other programmer is playing games
with you with a logon UDC.
On 3/31/23 08:14, James B. Byrne wrote:
> On Thu, March 30, 2023 17:06, James B. Byrne wrote:
>> I am trying to produce a CSV file from a type 642 QUIZ SUBFILE. The QUIZ
>> script compiles ok but when it is run it does not create the expected output
>> file. If I run the script without the SET SUBFILE statement in it then the
>> output that appears on the terminal is what I am trying to save to a file.
>>
>> If I run the compiled script then all that appears to happen is that the QUIZ >
>> prompt appears.
>>
>> Has anyone any idea what I have tripped over? The problem script is:
>>
> Thank you for the formatting suggestions. However the problem is not what goes
> into the file. The problem is that the output file is never created at all,
> neither as a TEMP nor PERM. If I remove the SUMMARY option from the REPORT
> statement and remove the SET SUBFILE statement then the output goes to the
> terminal and what I see there is what I expect to go into the subfile. When I
> change back to REPORT SUMMARY and SET SUBFILE then there is no output.
>
> My question has to do with what is happening that is preventing the subfile
> from being created.
>
--
Tracy Johnson
BT
NNNN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20230331/b516fd68/attachment.html>
More information about the powerh-l
mailing list