Welcome Guest | My Membership | Login

Tech Tip - Reading/Writing OS files


Summary

Reading and writing OS files is very important in the new hybrid systems we have to write these days. Most of our applications are pretty self-contained,and don't need to interact with programs or applications outside the MV environment. But that is slowly changing.

We now have e-mail sending programs, printer overlay programs, SQL Command lines, and many, many other applications that use OS files. The need to read/write OS files continues to go up, and each programmer does it differently.

If you don't already do this on your own, we have compiled some SUBROUTINE (Stored Procedures) that will make it easier for you. If you already read and write OS files, then these subroutines will provide you with a comparison.

Since each MultiValue database implements writing to OS files differently, you have some options to choose from. It also makes it difficult to implement a common set of subroutines without creating limitations.

The major limitation of these subroutines is that they load the complete record into memory. This is not a problem with small OS files, but if you are working with large file (3MB, 4MB, or 10MB), it can become a problem. In these cases you will have to implement a means of reading and writing chunks from the file.

Read More...

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

  • From The Inside May/June 2011

    Company: International Spectrum

    User Group Members Wanted!

  • Business Tech: Disaster Planning

    Company: HDWP

    Planning It is human nature to want to avoid thinking about painful things. But when disaster strikes, not having any plans on how to react or recover can vastly limit our chances of survival — either personally or as a business. This article explores some of the issues of planning business survival after a catastrophe. If you are like most of us, you will find some things that had never occurred to you to think about.

  • 2011 International Spectrum Conference Feedback

    Company: International Spectrum

    As we did last year, we decided it would be more interesting to you to hear what attendees at the conference had to say rather than what we thought of it. In these three interviews we hear the opinions of both seasoned MultiValue developers and a newcomer to our database.

  • Serious Data Compression for Network Transport in MultiValue Systems

    With the cost of disk space continuing to fall, does anybody except the very largest shops worry about the cost of data storage anymore? Maybe yes, maybe no. It still depends on the circumstances. But although network bandwidth continues to increase, there is still a price to be paid — not just in gigabytes transmitted but also in things like the hidden cost of lost productivity due to network congestion. This article suggests some data compression options, and it includes ready-to-run source code in MultiValue Basic.

  • MultiValue and the Web: Step into the Future

    Company: Precision Solutions

    If the idea that the green screen is dead and has been replaced by GUI is new to you, you must be reading International Spectrum magazine for the first time. Toss into that Ajax, Web 2.0, Cloud Computing, etc. and you have an entirely new set of customer expectations that you must meet in order to remain competitive in today's modern technology world. This article introduces a new series and explains why and how it will explore this topic.


Return to top