× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

Does SAVLIB save external stored procedures? And does RSTLIB restore them
to a different library?

I have a procedure created with:



CREATE PROCEDURE LIVEFIL/GETNEWCLAIMNUMBER(OUT REFERENCE INTEGER )

LANGUAGE RPGLE NOT DETERMINISTIC NO SQL EXTERNAL NAME

LIVEPGM/TR1406 PARAMETER STYLE GENERAL

Every night I save library LIVEFIL out to a tape. Much later in the night I
also restore LIVEFIL from that tape into library CLAIMFIL (after completely
removing the older CLAIMFIL). Every morning the above procedure does not
exist in CLAIMFIL. LIVEFIL and CLAIMFIL are not "schema", just plain
libraries.

With backup procedures of other DBMSs (e.g. MariaDB) all procedure and
table definitions are saved with the data backups, and on restore to a new
database anything missing is recreated automatically.


-Paul.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.