Solved

how to use defncopy?

Posted on 1997-09-02
1
1,938 Views
Last Modified: 2012-05-04
I am trying to use "defncopy to copy out | in the view, rules, default and triggers from one database to another.

for example
defncopy -Usa -P out /tmp/pb_cattbl.dcopy hf_prod pb_cattbl

What' wrong for the above statement?
0
Comment
Question by:edward97
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Srw earned 50 total points
ID: 1098019
Your syntax appears fine.
Without knowing what exactly the problem is, it's hard to help, but...

1. Maybe the /tmp directory doesn't exist or have enough space.
2. If you're running this on a workstation, you may need to include the -S option (server name).
3. I'm sure you checked this one, but perhaps the DB name or object name is misspelled.
4. The Sybooks help says that defncopy won't work with objects created with Report Workbench
5. I'm just guessing, but pb_cattbl looks like a powerbuilder utility object.  You may not need to copy it.  Just get PB to create a new one.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question