|
Looks like backup/restore is the best option but need to use SQL to
create the library (schema) and not let the restore do it.
Procedures for put back OK but journaling was not. Creating the
schema setup default journaling and the restore then attached tables
to the journal in the restore library.
Create save file
SAVLIB of source lib
iNav or STRSQL to create the schema (library)
RSTLIB to target lib
Delete save file
Others wrote [about using RSTLIB]:
<<SNIP other replies>>
Wednesday, 30. March 2011 04:09 Im Auftrag von Mike Cunningham:
We have a library with only database objects which include not
only SQL tables and view but also SQL stored procedures and some
external stored procedures. A CRTDUPOBJ *ALL from this library to
another looks like it correctly duplicated all objects, include
the stored procedures, but the procedures do not appear on the
Navigator list of procedures because they are not in the SQL
catalog. Is there a better way to duplicate this type of library
or is the only option to keep a script to DROP and CREATE all the
procedures in the library after the CRTDUPOBJ command? We are on
V5R4 (but hopefully only for another 4 months)
As an Amazon Associate we earn from qualifying purchases.
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.