ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How can I find source from an object without DSPOBJD

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

  • How can I find source from an object without DSPOBJD

    Hi,
    Can anyone tell me another method to find a source please?
    without DSPOBJD, because we have some situations for different objects like *PGM where we have blanks at source file & library, with DSPOBJD.
    Thanks.

  • #2
    Re: How can I find source from an object without DSPOBJD

    Maybe I am completely missing the boat on what you asking here, but have you tried the DSPPGM command for locating the program creation information?

    Comment


    • #3
      Re: How can I find source from an object without DSPOBJD

      Egami, you are right, with DSPPGM I can see the source file and the library, the place where I can find the source from an object, this works for *PGM.
      ..but one more question, for other type of object, for example file, how can I find the source (dds for a file), I have the object FCLIENT, I verify the existane for my object and after the description with DSPOBJD but the source file and library are not displayed, like this:

      Object . . . . . . . . . . . . . . . : FCLIENT
      Library . . . . . . . . . . . . . : VOICUCOSM1
      Library ASP device . . . . . . . . . : *SYSBAS
      Type . . . . . . . . . . . . . . . . : *FILE

      Source file . . . . . . . . . . . . :
      Library . . . . . . . . . . . . . :
      Member . . . . . . . . . . . . . . . : FCLIENT
      Attribute . . . . . . . . . . . . . : PF

      Comment


      • #4
        Re: How can I find source from an object without DSPOBJD

        Try this:

        DSPOBJD OBJ(LIBRARY/FILE) OBJTYPE(*FILE) DETAIL(*SERVICE)

        Comment


        • #5
          Re: How can I find source from an object without DSPOBJD

          For some objects doesn't work, source file and library not displayed .. and I don't know other tips, I usually use dspobjd with option 8=Display service attributes, similar with your command, do you know other tricks for this issue?

          Comment


          • #6
            Re: How can I find source from an object without DSPOBJD

            Not exactly what you are looking for........ but this program will find all the source for selected object across all libraries/source files




            Best of Luck
            GLS
            The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

            Comment


            • #7
              Re: How can I find source from an object without DSPOBJD

              Is this a PF object? Are you sure it's not a DDL PF?

              Comment


              • #8
                Re: How can I find source from an object without DSPOBJD

                There are also some objects that don't have source. Some program objects that are created using CRTPGM using bound modules. Files can be created without source code as well.

                Comment

                Working...
                X