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.


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.

This was last published in August 2002

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.



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