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

Using a Special File

When would I use a Special Device in the file specifications?

A Special Device file is used when the file processing (or part of the processing) is to be handled by an outside program. You can specify the processes (READ, UPDATE, DELETE, OPEN, CLOSE, FEOD or any combination of these) that the outside program is going to perform. The Special processing program will be called any time that process is performed. Here is an example in the ILE/RPG book. It includes a sample program for declaring the file as well as a program to process the records.

Good luck,

Dig Deeper on iSeries CL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.