In a command I am trying to use the parameter: Choice program(CHOICEPGM) to use a program(a subfile selection program)...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.