Oh B***** !!!
I've never actually tried to write to a directory channel - but DJ_OPEN_DIR
uses the normal QDOS IO_OPEN trap with the correct setting for a directory.
I must have a look into this at some point - Work, wife and QLTdis allowing
:o)
Looks like a disc editor is your best bet then :o(
Norman.
----------------------------------------------------------------------------
----
Norman Dunbar EMail: [EMAIL PROTECTED]
Database/Unix administrator Phone: 0113 289 6265
Lynx Financial Systems Ltd. Fax: 0113 201 7265
URL: http://www.LynxFinancialSystems.com
----------------------------------------------------------------------------
----
-----Original Message-----
From: Dilwyn Jones [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 10, 2001 11:41 AM
To: QL Users List
Subject: [ql-users] MinisQL
>Nice idea Norman, just tried it. Sadly, seems like opening a channel
>to the directory with DJ_OPEN_DIR or FOP_DIR is read only in the
>current DV3 filing system, certainly using PRINT or BPUT to try to
>send either the whole 64 bytes header or individual bytes gives a
'bad
>parameter' error on trying to write to the header directly.