• Subject: Re: Command or api to copy a domino database?
  • From: rob@xxxxxxxxx
  • Date: Wed, 29 Nov 2000 11:43:05 -0500


Glenn,
I don't know if Jeffrey did rule out LEI or DECS.  I thought of those also.
I should have mentioned them, as we use LEI, but some people balk at LEI
because they want something for nothing.  We commonly start LEI tasks from
RPG with
C                   eval      cmd='CALL QNOTESLEI/LEIACT ' +
C                                 'PARM(' +
C                                 %trim(LeiCmd) +')'

Rob Berendt

==================
Remember the Cole!


                                                                                
                                        
                    Glenn Ericson                                               
                                        
                    <Glenn-Ericson@att        To:     DOMINO400@midrange.com, 
<DOMINO400@midrange.com>                  
                    .net>                     cc:     "Jeffrey Silberberg" 
<jsilberberg@mindspring.com>                 
                    Sent by:                  Subject:     Re: Command or api 
to copy a domino database?                
                    owner-domino400@mi                                          
                                        
                    drange.com                                                  
                                        
                                                                                
                                        
                                                                                
                                        
                    11/29/00 11:02 AM                                           
                                        
                    Please respond to                                           
                                        
                    DOMINO400                                                   
                                        
                                                                                
                                        
                                                                                
                                        





Jeffrey,
why do you  rule out Dominos LEI  and /or DECS replication functions?

Replication  sequence numbers are important part of the process, I
thought.

At 10:02 AM 11/29/2000 -0500, Jeffrey Silberberg wrote:
>>>>
     David,

           If you just do a dos link copy of the NS you do not create a new
   replica Id so you can get into a lot of trouble.  What you really need
   to do is use the New Copy function.  From a Workspace, it would be;

       a.) Click on the Icon
       b.)  File / Database / New Copy
                   Server =  A / B
                   Title    = Change Name to Identify New Object
                   File Name = Change Name to Identify New Object..
       c.) Click "OK"
       d.) Review ACL for old and new  NSF..

       Or you can look at using the C API toolkit which has a
   NSFDbCreateAndCopy which I beleive will do the same thing...  Not sure
   where, Maybe ServerAdmin, but I think I have seen a version of this
   around in a form that you could have a CLP submit a Domino Csl command
   to make this happen..


   HTH,
   JMS...
      ----- Original Message -----
      From: <mailto:dgibbs@verticalsky.com>David Gibbs
      To:<mailto:'domino400@midrange.com'>'domino400@midrange.com'
      Sent: Tuesday, November 28, 2000 4:27 PM
      Subject: Command or api to copy a domino database?


     Folks:

     I have need to copy a domino database on the AS/400 (within a CL or
     RPG program) so that it's replication id is different.

     Does anyone know of a way to do this?  A command or API would be fine.

     Thanks!

     david


     --

     David Gibbs
     Sr. Software Engineer

<<<<







Glenn
__________________________________
Glenn Ericson,
IBM Certified Specialist
Phoenix Consulting LLC
East Elmhurst, NY USA
Phone 718 898 9805   Fax 718 446 1150
mailto:Glenn-Ericson@att.net
___________________________________ +--- | This is the Domino/400 Mailing
List! | To submit a new message, send your mail to DOMINO400@midrange.com.
| To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To
unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. |
Questions should be directed to the list owner/operator: meechamw@ptd.net
+---



+---
| This is the Domino/400 Mailing List!
| To submit a new message, send your mail to DOMINO400@midrange.com.
| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: meechamw@ptd.net
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.