ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to Retrieve and Customize a Command ?

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

  • How to Retrieve and Customize a Command ?

    We have a 3rd party tool that modifies RPG code so it can be run from a browser.
    Our current version command has defaults of our Source Member, Source Lib and Object Lib

    I don't see how the command is configured to use our defaults.
    We have a new command for an upgrade, and I would like to make a copy and put in our defaults.

    DSPCMD shows the source file and library, but I can't find them on our system

    Any idea how to retrieve the information ?

  • #2
    can you do WRKCMD?

    Comment


    • #3
      Sounds like a job for CHGCMDDFT.

      Cheers,

      Emmanuel

      Comment


      • #4
        Yes, I see WRKCMD has a "Change Defaults" option. Maybe that's what I need. When I look at the existing command, the "Change Default" string is blanks. I hoped it would show something.

        Comment


        • #5
          Hmmm....Seems many options in the command are blank, meaning they don't have a default.
          So I get an error trying to change a default, because there is no default for that option.

          Comment


          • #6
            TAATOOLS has a RTVCMDSRC function. In my case the source generated didn't create the new command to match the existing command, but it was a good starting point and I modified the source to get what I needed.

            Comment

            Working...
            X