Professional Web Applications Themes

Echo command option for db2 - IBM DB2

-v for echo. In the sample below, the file connect.sql contains connect to sample; C:\tmp>db2 -t -v -f connect.sql connect to sample Database Connection Information Database server = DB2/NT 8.1.4 SQL authorization ID = ADAMACHE Local database alias = SAMPLE dfdfd wrote: > Is there an option for the db2 command that will echo the input lines? > For example I am executing a number of commands like: > db2 -t -f somestuff.ddl > > and I would like to see the sql echoed to the console > when it runs. I am using DB2 8.1 on Windows and I ...

  1. #1

    Default Re: Echo command option for db2

    -v for echo. In the sample below, the file connect.sql contains
    connect to sample;

    C:\tmp>db2 -t -v -f connect.sql
    connect to sample

    Database Connection Information

    Database server = DB2/NT 8.1.4
    SQL authorization ID = ADAMACHE
    Local database alias = SAMPLE

    dfdfd wrote:
    > Is there an option for the db2 command that will echo the input lines?
    > For example I am executing a number of commands like:
    > db2 -t -f somestuff.ddl
    >
    > and I would like to see the sql echoed to the console
    > when it runs. I am using DB2 8.1 on Windows and I
    > haven't been able to find the doentation for
    > the db2 command.
    >
    > Thanks,
    >
    > Bruce
    >
    >
    Blair Adamache Guest

  2. #2

    Default Re: Echo command option for db2

    .... or with "DB2 ? options" on the command line.

    PM


    PM \(pm3iinc-nospam\) Guest

Similar Threads

  1. Replies: 3
    Last Post: October 24th, 10:51 AM
  2. Modifier Keys (Command Option Shift) failing in FH10 OSX 10.1
    By art101 webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 2
    Last Post: October 23rd, 04:41 PM
  3. how to display variables within using echo command within html code
    By Bartosz Wegrzyn in forum PHP Development
    Replies: 4
    Last Post: July 22nd, 11:31 PM
  4. Command.Timeout option
    By Jawahar Rajan in forum ASP
    Replies: 1
    Last Post: July 18th, 03:21 AM
  5. Replies: 1
    Last Post: July 11th, 02:50 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139