MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 SQL Procedure Catalog

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Tue Mar 31, 2009 1:54 pm    Post subject: DB2 SQL Procedure Catalog Reply with quote

I have create following DB2 SQL procedure on z/os. It created successfully. I am not able to locate the procedure in catalog tables like SYSIBM.SYSROUTINES or SYSIBM.SYSPARMS tables. I wonder where this procedure definition store in catalogs on z/os. Is it different from cobol procedures. Any ideas. My SQL as follows. We are in DB2 V8

SET CURRENT SQLID = 'I581G';

CREATE PROCEDURE UPDRUGS
(IN DMUMNEM CHAR(8)
,IN DOSAGE DECIMAL(5, 2)
)
RESULT SETS 0
MODIFIES SQL DATA
EXTERNAL NAME UPDRUGS
NO DBINFO
WLM ENVIRONMENT TDB2SID1
STAY RESIDENT NO
COLLID ICVPC
PROGRAM TYPE MAIN
RUN OPTIONS 'TRAP(OFF),RPTOPTS(OFF)'
COMMIT ON RETURN NO
LANGUAGE SQL
UPDATE IDVPCS01.ITORDSET
SET DOSE = DOSE * DOSAGE
WHERE MNEMONIC = DMUMNEM;
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group