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

Run a query on a DDM file

We have two partitions on one box with DDM files between the partitions. A user wants to create and run query's over DDM files. Is this possible? Query doesn't recognize the DDM file as a legitimate file.

It is not possible to run a query on a DDM file. If the results will not be large, I would suggest using an HLL such as RPG to create a temporary file in QTEMP based on the user's initial input and allow them to run the query on the subset. The only other way would be to write programs to communicate between partitions and pass the data back and forth.


The Best Web Links: tips, tutorials and more.

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

Dig Deeper on RPG iSeries programming