ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Prompt for User defined command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Prompt for User defined command

    Hi ,

    I am writing a command which will be similar to CHGDTAARA command except for the fact that it will be run on remote machines. There can be muliplte remote locations to which this command has to be executed. I will have to select values RMTLOC parameter in my new command. the valid values for this PARM keeps changing from time to time....so i want these valid RMTLOC values to be retrieved from a PF.

    My question is if i have a promt program that will be called when i take F4 from that field , how will the selected values be returned to the command and then to CPP...........


    Actually i am clueless about PROMPT PROGRAM itself.............can anybody throw light on this................( would be better if someones gives me a small example )
    Thanks
    Sudarshan

  • #2
    Re: Prompt for User defined command

    Comment

    Working...
    X