CHKDUPOBJ (TAATOOL) command problem/? - IBM AS400

This is a discussion on CHKDUPOBJ (TAATOOL) command problem/? - IBM AS400 ; Is there an equivalent way to perform this task either with another tool and or program, thanks....

+ Reply to Thread
Results 1 to 4 of 4

Thread: CHKDUPOBJ (TAATOOL) command problem/?

  1. CHKDUPOBJ (TAATOOL) command problem/?

    Is there an equivalent way to perform this task either with another
    tool and or program, thanks.

  2. Re: CHKDUPOBJ (TAATOOL) command problem/?

    iseriesflorida wrote:
    > Is there an equivalent way to perform this task either with another
    > tool and or program, thanks.


    DSPOBJD of the libraries into the same database file. Query the file,
    joining it to itself by object name, object type and object subtype but
    with the object library names different. These are the duplicate objects.

    n.b. object subtype allows for multiple objects that have the same name
    and type e.g. type = *FILE, some possible subtypes are PF, LF, DSPF,
    PRTF etc.

    HTH

    GB

  3. Re: CHKDUPOBJ (TAATOOL) command problem/?

    gb wrote:
    > iseriesflorida wrote:
    >> Is there an equivalent way to perform this task either with another
    >> tool and or program, thanks.

    >
    > DSPOBJD of the libraries into the same database file. Query the file,
    > joining it to itself by object name, object type and object subtype but
    > with the object library names different. These are the duplicate objects.
    >
    > n.b. object subtype allows for multiple objects that have the same name
    > and type e.g. type = *FILE, some possible subtypes are PF, LF, DSPF,
    > PRTF etc.


    In any given library, there can only be one object name of a given name,
    irrespective of object attribute. Thus, you cannot have an object
    THISFILE of type *FILE attribute PF-DTA, and in the same library have
    THISFILE type *FILE attribute SAVF.

  4. Re: CHKDUPOBJ (TAATOOL) command problem/?

    Jonathan Ball wrote:
    > gb wrote:
    >> iseriesflorida wrote:
    >>> Is there an equivalent way to perform this task either with another
    >>> tool and or program, thanks.

    >>
    >> DSPOBJD of the libraries into the same database file. Query the file,
    >> joining it to itself by object name, object type and object subtype
    >> but with the object library names different. These are the duplicate
    >> objects.
    >>
    >> n.b. object subtype allows for multiple objects that have the same
    >> name and type e.g. type = *FILE, some possible subtypes are PF, LF,
    >> DSPF, PRTF etc.

    >
    > In any given library, there can only be one object name of a given name,
    > irrespective of object attribute. Thus, you cannot have an object
    > THISFILE of type *FILE attribute PF-DTA, and in the same library have
    > THISFILE type *FILE attribute SAVF.


    Correct, however, if you have multiple libraries where you are checking
    for duplicates, you could have an RPG pgm and a COBOL pgm of the same
    name. But they aren't duplicates of each other. Equally you could have a
    PF and a PRTF of the same name - but again, you probably wouldn't
    consider them to be duplicates...

    OK?

    GB

+ Reply to Thread