ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Find dependent Join logical files from a list of physical files

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

  • Find dependent Join logical files from a list of physical files

    Hi,

    I need to copy a number of file objects (Both PFs and LFs) from various libraries to a new library. The problem is the list is having some join logical files too. So is there any way to identify a join logical file at the object level?

  • #2
    Re: Find dependent Join logical files from a list of physical files

    not at the object level you'll have to either use APIs or DSPFD to an outfile
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: Find dependent Join logical files from a list of physical files

      Originally posted by tomholden View Post
      not at the object level you'll have to either use APIs or DSPFD to an outfile
      I have to do it inside a program. So could you please let me know how to do using API?

      Comment


      • #4
        Re: Find dependent Join logical files from a list of physical files

        DSPDBR helps and QDBLDBR is the API equivalent. You can look into these to see how to identify join logicals for a particular physical file.

        Comment

        Working...
        X