ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

fields

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

  • fields

    Hi

    I have a file and this is getting used in many programs, now i wanna add a field in this particular file. i have changed my PF accordingly, now i have to find out the list of programs which uses this file so that i can recompile all those programs. can anybody tell hw to get the list of programs.

    cheers

  • #2
    Re: fields

    I wish it were that easy
    you can dsppgmref to an outq but all of em!

    then sort by file name including logicals

    you can get a list that way.
    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: fields

      hi jamief

      To use DSPPGMREF v need to know the program names right. My question, i don't know the program names but i wanna find out which all programs are using this particular file.

      Comment


      • #4
        Re: fields

        no you can do this
        Code:
         DSPPGMREF PGM(JAMIELIB/*ALL) OUTPUT(*OUTFILE)  
             OBJTYPE(*ALL) OUTFILE(QTEMP/JUNK)
        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: fields

          Good 'Ol Find String!

          PHP Code:
          FNDSTRPDM STRING('E0200'FILE(QRPGLESRCMBR(*ALL
          OPTION(*NONEPRTMBRLIST(*YES
          Predictions are usually difficult, especially about the future. ~Yogi Berra

          Vertical Software Systems
          VSS.biz

          Comment


          • #6
            Re: fields

            It is better to use a tool like ALDON.
            â??No bird soars too high if he soars with his own wingsâ?? â?? William Blake

            Comment

            Working...
            X