|
-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de dina ramzy
I want to create a stored procedure in AS/400
I know that I can strsql and type create procedure and write
some SQL inside...and the proc will be created...
But Can I also do this by creating a member in SRCPF?
What should be the member type and how can I execute it from CL prog?SQLRPGLE. If I had to call it from CL I'd use REXX or put the CALL in a sourcefile member to be used by RUNSQLSTM.
How can I execute the code in the srcpf member in interactive SQL?You can use the CALL command in an sql session
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.