ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to view program code

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

  • How to view program code

    Hi all. I need to open a LE program someone built a while back to view the source and see what exactly it does. I saw one of my developers do this a few days ago but I didn't see how. What is the command to actually view the code contained in the program?

    Thanks in advance!

  • #2
    Re: How to view program code

    The object was created using source code in a member...

    type on command line
    PHP Code:
    dsppgm &programname 
    and mash the key..

    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: How to view program code

      Thanks Jamie! I'm using Mocha 5250 from home now, do you know how to get to a command line using it?

      Comment


      • #4
        Re: How to view program code

        What do you see when you logon?
        All my answers were extracted from the "Big Dummy's Guide to the As400"
        and I take no responsibility for any of them.

        www.code400.com

        Comment


        • #5
          Re: How to view program code

          Just the 2 character space to enter in a menu option.

          Comment


          • #6
            Re: How to view program code

            My guess is that the user profile you are using has a startup program attached to it...
            I would also guess that limit capabilities is set to "*YES".

            What happens when you hit the escape key?

            when you signon -- do you see "Program/procedure " under userid & password?
            All my answers were extracted from the "Big Dummy's Guide to the As400"
            and I take no responsibility for any of them.

            www.code400.com

            Comment


            • #7
              Re: How to view program code

              Nothing happens when I hit enter, I checked the keyboard mapping and esc is set to reset.

              Nope, nothing about program procedure under the uname and pass. I can change my startup in the office tomorrow but was hoping to get a bit of work done tonight . Thanks again.

              Comment


              • #8
                Re: How to view program code

                unless you have another id -- with my limited knowledge -- you're stuck till morning.
                All my answers were extracted from the "Big Dummy's Guide to the As400"
                and I take no responsibility for any of them.

                www.code400.com

                Comment


                • #9
                  Re: How to view program code

                  Cheers Jamie, thanks for the info anyways.

                  Comment


                  • #10
                    Re: How to view program code

                    btw .... command to view source once you find where it is...
                    PHP Code:
                    WRKMBRPDM 
                    All my answers were extracted from the "Big Dummy's Guide to the As400"
                    and I take no responsibility for any of them.

                    www.code400.com

                    Comment

                    Working...
                    X