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

Working with the ANZKEYF command

Find the command key for the file without having to flip to another screen.

While in the Source Entry Utility (SEU) editor, a programmer may need to find the key he/she wants to use for a file. Because a Physical file can have many logicals with different keys, his command is supposed to find the key for the file that the programmer desires without having to flip to another screen and open the source for each logical to find the desired key.

I would assume that the entries for the command would be the physical file and the key fields the programmer wants to use in his/her program to access that data. The command should return the physical, member name, logical and the full keys to the file.

It you have any doubts or questions regarding this tip, you can contact me at mailto: velardezv@comafi.com.ar.


Click here to view Victor's code for ANZKEYF

==================================
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.

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close