ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Modify parms for an old CMD / CLLE

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

  • Modify parms for an old CMD / CLLE

    Hi,

    A short question, If I have a command in several programs and I want to change the command and the program which process the command - to add more parameters, to be used in the future, but not mandatory, only optional, and without any other changes in the logic in the existing programs who have this command incorporated. - can I do this without recompiling those programs? the line of the call for this command will be the same because the new parameters will not be used by those programs, and in plus, will not be mandatory.
    Thanks

  • #2
    If I understand the question correctly, that should be fine. I've added new parameters to commands many times before and there's no need to recompile programs using them as it's a command you're using rather than calling the program directly. The command passer will send all parameters regardless of how many you have changed.

    Comment

    Working...
    X