Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Unanswered: Help about sql batch execute

    HI,Experts.

    I need put a bunch of SQLs into a sql file that will be executed by db2 -tf. however, i need put some terminate commnad after catalog. So could you help to answer how to put terminate into sql file? for example:

    catalog tcpip node FEDNODE remote dbserver1 server hunan;
    terminate;
    catalog database rUNIC as UNIC at node FEDNODE;
    terminate;


  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    You have done it right
    Visit the new-look IDUG Website , register to gain access to the excellent content.

Posting Permissions

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