Tip

Working with MySQL

I have been using MySQL as a tool to help handle some of the data that comes from a vendor. Some vendors provide more data than we really need so rather than transfer the entire file to the 400 IFS and have the iSeries grind away it, I pre-process the data on a PC using MySQL. For instance, I only need seven fields from a file that contains 39 fields. Using a script, I load the vendor's file into MySQL, perform some cleanup of foreign characters, then output a file from MySQL containing the seven fields to the IFS of the iSeries. I then process the data from there.

So the PC does the bulk of the data grunt work (relatively quickly) and the iSeries gets just the data it needs. And these tasks are all contained in a couple of batch files and a SQL script file.

You can download a free copy of MySQL. It's another tool to get the job done.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


This was first published in March 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.