Problem solve Get help with specific problems with your technologies, process and projects.

Working with MySQL

Use MySQL as a tool to help handle some of the data that comes from vendors.

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.


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 last published in March 2003

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.