Find a home grown pgm/command that does something similar and look at the CPP for the command. You'll catch on; the 400 does this for you with no trouble at all. bobh
Find a home grown pgm/command that does something similar and look at the CPP for the command. You'll catch on; the 400 does this for you with no trouble at all. bobh
I am trying to e-mail enable an application that is controlled with a command program. I've added a 60 character parameter for the e-mail address to send the report to. However, I want to allow users to use F4 to prompt for a list of values (Choice program), then select the address they need, and return that value to the command. Can anyone suggest how to accomplish this. Thanks!
You will probably have to write the selection window in the actual program (PGM on CRTCMD) to allow the user to select from a list. You can provide a list of options using the CPP, but the users will have to still type it in. For a 60 character parameter I don't think this is what you want, however I'm attaching an example of a CPP anyway.
choicepgm.txt