@echo off
rem (c) Copyright IBM Corp. 2007 All rights reserved.
rem
rem The following sample of source code ("Sample") is owned by International
rem Business Machines Corporation or one of its subsidiaries ("IBM") and is
rem copyrighted and licensed, not sold. You may use, copy, modify, and
rem distribute the Sample in any form without payment to IBM, for the purpose
rem of assisting you in the development of your applications.
rem
rem The Sample code is provided to you on an "AS IS" basis, without warranty
rem of any kind. IBM HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES, EITHER EXPRESS
rem OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
rem MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions
rem do not allow for the exclusion or limitation of implied warranties, so the
rem above limitations or exclusions may not apply to you. IBM shall not be
rem liable for any damages you suffer as a result of using, copying, modifying
rem or distributing the Sample, even if IBM has been advised of the
rem possibility of such damages.
rem BATCH FILE: empcat.bat
rem To catalog stored procedure EMP_DETAILS for C# client program SpReturn
rem Usage: empcat
db2 CONNECT TO SAMPLE
rem Drop the procedure EMP_DETAILS if it has already been cataloged
db2 DROP PROCEDURE EMP_DETAILS
db2 -td@ -vf EmpDetails.db2
db2 CONNECT RESET
@echo on