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

Working with Choice Program(CHOICEPGM

In a command I am trying to use the parameter: Choice program(CHOICEPGM) to use a program(a subfile selection program) to select a user from a file. The command does prompt with the program I am using but does not return with the selection. Any Ideas?

Define a pointer to the variable being passed to your program. Define a work variable of the same type and a pointer to that variable. Set the passed variable pointer to the work variable pointer prior to returning to the command.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

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 iSeries ILE 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.

-ADS BY GOOGLE

SearchDataCenter

Close