If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to omit ouput of store procedure from db2cmd?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-07, 03:59
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
How to omit ouput of store procedure from db2cmd?

Hi,
calling a store procedure from command prompt
Code:
C:\temp>db2 call admin.myprocedure('021')
returs result:
Code:
  Result set 1
  --------------

    MYCOL1               MYCOL2
    -------------------- --------
            91,8600259 021

  1 record(s) selected.

  Return Status = 0
Is there any way I could omit unneeded info like "Result set 1", "1 recourd(s) selected." and "Return Status = 0".
So to get output like this:
Code:
    MYCOL1               MYCOL2
    -------------------- --------
            91,8600259 021
Thanks,
Grofaty
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On