ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » using repos_copy

Post new topic  Reply to topic
 using repos_copy « View previous topic :: View next topic » 
Author Message
amateur10
PostPosted: Thu Dec 01, 2005 8:19 am    Post subject: using repos_copy Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

HEY GUYS

CAM SOOME ONE GIVE ME WHAT EXACTLY RESPO_COPY copies and its syntax. I use

repos_copy -sserver -uuser -ppwd -ffilename but did work. Could you please tell me how I should give the command and what exactly it copies

thanks
Back to top
View user's profile Send private message
djeripo
PostPosted: Thu Dec 01, 2005 8:52 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Its the search button which makes the difference.
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbise_administration.doc/doc/administration/administration27.htm
Back to top
View user's profile Send private message Visit poster's website
amateur10
PostPosted: Thu Dec 01, 2005 12:05 pm    Post subject: HOW TO SEND ERROR MESAGE TO A FILE Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

CAN SOME ONE GIVE ME SOME HELP HOW I CAN SEND ERROR MESSAGE TO LOG FILE
PLEASE GIVE ME SYSTAX

THANKS
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 01, 2005 12:12 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please don't use ALL CAPS.

Are you trying to capture the output of repos_copy into a file?

Then use the 'redirection' operator, which is ">". This works on Windows and Unix.

So you would say something like
Code:
repos_copy .... > logfile.log


Where the "..." means all the rest of the arguments for repos_copy to do what you need it to do.

If you want to maintain an ongoing log file, you can use the append operator instead of the redirection. Append is ">>", instead of ">".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
amateur10
PostPosted: Thu Dec 01, 2005 2:50 pm    Post subject: Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

thanks. But I wanto make copy of the all applied components into a file this is what I understood the purpose of the makig copy. right? how i can do that?

means creating a jar/ear file.

thansk
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 01, 2005 3:51 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

amateur10 wrote:
thanks. But I wanto make copy of the all applied components into a file this is what I understood the purpose of the makig copy. right? how i can do that?

means creating a jar/ear file.

thansk


This has nothing to do with either of your two other questions, which were 1) What is the syntax for the repos_copy command (which was clearly and directly answered, both in the manuals and by djeripo) and 2) How do I put an error message into a file.

It wasn't at all clear from your statements, at least to me, what kind of error message you wanted to put into a file... so I guessed that you wanted to capture the output of a command, including it's error messages, into a file.

You can build a jar/ear file by using the java command "jar". An ear file is just a Jar file with certain specific contents.

If you can be much more specific about the actual steps you are trying to take, and the exact things you are trying to accomplish... I'm pretty sure someone can help you. It probably won't be me, because I have not yet gotten ICS to work... and gave up after the first week.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
amateur10
PostPosted: Thu Dec 01, 2005 6:02 pm    Post subject: Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

Thanks for suggestion.

I want to put the error messsage generated while running MAP for example. My map calling program has some code it generates error. I like to know exactly where is the problem. I know if it was pure java stuff but it seems ics does not allow to put break point in code.

Can someone help me how to debug code?

thanks
Back to top
View user's profile Send private message
kotha
PostPosted: Thu Dec 01, 2005 7:34 pm    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

See your Interchangesystem.log file. for better understanding of all errors, open Interchangesystem.log and other related log files, if any you have mentioned, in logviewer.
Back to top
View user's profile Send private message
amateur10
PostPosted: Fri Dec 02, 2005 8:17 am    Post subject: Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

Sorry guys not being clear what I wanted to do. I know the log file but I want to log the error generated while running a java code say in Map calling or in collab. My question is how i can send the error message to the log file

I tried trace(" message");
did not send to the file
i also tried

if( traceEnabled(5))


logError("mesage) but did not send the error to the log file.

I want to debug the program wherer and what error is . Any help. Please give clear systax of the functions/method

thanks
Back to top
View user's profile Send private message
djeripo
PostPosted: Fri Dec 02, 2005 8:54 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Quote:
My question is how i can send the error message to the log file

I tried trace(" message");


You are writing the code trace("message") inside a collab.That means you have to tweak something on the collab end.All the messages will be shown in Interchangesystem.log as long as you wont configure Interchangesystem.trc seperately.I guess you did not configure Interchangesystem.trc seperately

So think which property will allow you to show this trace in the Interchangesystem.log !!!
Change the trace on your collab object from '0' to '5' and you will see this trace message in the Intechangesystem.log
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » using repos_copy
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.