DOCUMENTUM - How can export the result of a DQL in CSV?

mpaube
edited July 29, 2022 in Documentum #1

How can export the result of a DQL in CSV? I would like to export the result of my DQL search in .CSV to analyse it. Does anyone know how to do this?

Comments

  • Hi,

    Create new file: input.dql (Name can be any thing) and add required DQL file to the file.
    Then, run the DQL from IDQL as below,
    CMD> idql your_docbase -Udmadmin -Padmin -Rinput.dql -E -n >out.txt

    There are many DQL/API utilities, like SAMSON, Repoint, DqMan..etc, to run DQL queries and export the results to excel/csv formats.

    Hope this helps:)
    Hari.

    Hari Gadhamsetty
    Architect, Consulting Services
    OpenText

  • Hi,
    The syntax is,
    CMD> idql your_docbase -U -P -Rinput.dql -E -n >out.txt

    Use Documentum User name and its password in the above syntax. The above method is works properly with smaller result sets. If the result set is really huge, the command prompt might get hung. In case of huge result sets, use the third party tools suggested above as workaround.

    Hope this helps:)
    Hari.

    Hari Gadhamsetty
    Architect, Consulting Services
    OpenText

  • Hi,

    Does repoint work with CS 21.4. Facing multiple issues.