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,

This was last published in March 2001

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.



  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...