Results 1 to 3 of 3

Thread: avoiding db2cmd

  1. #1
    Join Date
    Nov 2004
    Posts
    2

    Question Unanswered: avoiding db2cmd

    Hi,

    Is there anyway I can avoid db2cmd to initialize the db2 environment before using db2 command-line utilities?

    May be we can set some environment variables or run db2cmd at startup to initialize all command windows.

    Thanks in advance.

    vka_77

  2. #2
    Join Date
    Nov 2004
    Posts
    374

    db2cmd

    Any reason why not using the db2cmd command
    this can also be requested from another job : db2cmd -c xxxxxxx
    Best Regards, Guy Przytula

  3. #3
    Join Date
    Nov 2004
    Posts
    2
    I have an application that supports multiple OS including Windows, unix, solaris, AIX. On all other platforms except Windows we need to run db2 directly as the environment is initialized using the db2profile. The initalization on Windows is done by db2cmd. This makes my code platform dependent.

    Is there any workaround for this?

    Thanks in advance.
    Vineet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •