Upload info from a scanner to the iSeries

Can information from a scanner attached to a PC serial or parallel port be uploaded to the iSeries? Example: Scan inventory item numbers and compare them with the order to assure they were the items ordered.

Certainly, you can. Set your scanner to send a CR/LF at the end of the transaction. Set your DDS on your display file field for the item number to auto-record advance CHECK(ER). This will return to your program after each scan. Your program can validate the field passed on each entry.

==================================
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 December 2002