Welcome Guest | My Membership | Login

Read and Writing Unix/Linux Files from UniVerse/UniData


Reading and Writing to Unix/Linux files is pretty simple within MultiValue Database application This article talks about SUBROUTINE (Store procedures) that can be used to make your job easier. The routines included in this article have a few limitations that you need to be aware of, though. They will read the complete Unix/Linux Files into memory as a dynamic array. This is not a problem with small files, but if you are working with large file (3MB, 4MB, or 10MB), it can become a problem. If you need to work with large files, then you will need to read the file in chunks, which is another article all together.

Another limitation has to do with binary data or blobs. MultiValue Database are designed to handle business data for storage, processing, reporting, mining, as well as other business tasks. Since binary data is unstructured and is generally stored in the OS File System, not the database, MultiValue SUBROUTINES (stored procedures) don't handle them well. If you want to know how to work with and store binary data within a MultiValue database, the please see the articles relating to Binary/Blob data.


Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options


# # #          # # #          # # #


Related Articles


    Company: International Spectrum Database: D3, jBASE, mv*Base, OpenQM, UniData, UniVerse

    CURL is an open source tools and can be found on every version of Linux being distributed. CURL can be find as compiled binaries as well as compliable source code. Many software applications integrate CURL using the libcurl, but in this case we will be using the curl command line routine using the command-line switches, standard-in, and standard-out to transmit information between MultiValue BASIC and CURL.

  • Read and Writing Unix/Linux Files from D3

    Database: D3

    This article will shows SUBROUTINE (stored procedures) code for reading and writing to Linux/Unix files from D3.

  • Read and Writing Windows files from D3

    Database: D3

    This article will shows SUBROUTINE (stored procedures) code writing to Windows files from D3.

  • Read and Writing Windows Files from UniVerse/UniData

    Database: UniData, UniVerse

    This article will shows SUBROUTINE (stored procedures) code writing to Windows files from UniVerse or UniData.

  • Auditing Database Changes with UniVerse Indexing Subroutines

    Company: Modern MultiValue, LLC Database: UniVerse

    UniVerse has file triggers which can be used to call a subroutine whenever a new record is added, changed, or deleted from a file so that the change to the database can be recorded in an audit trail for IT governance and compliance requirements. But full blown triggers come with a certain amount of performance overhead. For simple auditing, using indexing suboutines with a new system variable available at release 11.1 is a lighter weight alternative.

Return to top