Re: Import from the command line
Hi, If you are scripting this, you can do it yourself easily enough: Windows bat-file: type C:\x\y\import.log >>C:\x\y\total.log Unix script: cat /x/y/import.log >>/x/y/total.log Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. > Hi All > I am running data import from the command line, importing multiple files. > Is there any way to concatenate the log files to a single file? Basically > for each command line the Import overwrites the log file. What I want is > for the Import to append rather than overwrite. I have looked at all the > documentation and have not found anything. > Any help would be greatly appreciated. > ARS 7.6.04 P2 > > > > > > Shafqat Ayaz > > > > > > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
Re: Import from the command line
Hello Misi thanks for your reply. I wish the problem was that simple! For 1 or 2 files that would be fine, for 200 - 300 files! it becomes a major hassle. Unfortunately since the logs gets overwritten every time it is difficult to find out if anything failed. It is weird that Definition import writes to the console but Data Import does not. Shafqat Ayaz From: Misi Mladoniczky To: arslist@ARSLIST.ORG Sent: Thursday, April 12, 2012 5:33 PM Subject: Re: Import from the command line Hi, If you are scripting this, you can do it yourself easily enough: Windows bat-file: type C:\x\y\import.log >>C:\x\y\total.log Unix script: cat /x/y/import.log >>/x/y/total.log Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. > Hi All > I am running data import from the command line, importing multiple files. > Is there any way to concatenate the log files to a single file? Basically > for each command line the Import overwrites the log file. What I want is > for the Import to append rather than overwrite. I have looked at all the > documentation and have not found anything. > Any help would be greatly appreciated. > ARS 7.6.04 P2 > > > > > > Shafqat Ayaz > > > > > > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
Re: Import from the command line
Hi, Presumably you do not run the data import manually, and consequently you should be able to add the logfile concatenation stuff into your process without a problem. Best Regards - Misi, RRR AB, http://rrr > Hello Misi > thanks for your reply. I wish the problem was that simple! For 1 or 2 > files that would be fine, for 200 - 300 files! it becomes a major hassle. > Unfortunately since the logs gets overwritten every time it is difficult > to find out if anything failed. It is weird that Definition import writes > to the console but Data Import does not. > > > > > Shafqat Ayaz > > > > > > From: Misi Mladoniczky > To: arslist@ARSLIST.ORG > Sent: Thursday, April 12, 2012 5:33 PM > Subject: Re: Import from the command line > > Hi, > > If you are scripting this, you can do it yourself easily enough: > > Windows bat-file: > type C:\x\y\import.log >>C:\x\y\total.log > > Unix script: > cat /x/y/import.log >>/x/y/total.log > > Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) > > Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): > * RRR|License - Not enough Remedy licenses? Save money by optimizing. > * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. > Find these products, and many free tools and utilities, at http://rrr.se. > >> Hi All >> I am running data import from the command line, importing multiple >> files. >> Is there any way to concatenate the log files to a single file? >> Basically >> for each command line the Import overwrites the log file. What I want is >> for the Import to append rather than overwrite. I have looked at all the >> documentation and have not found anything. >> Any help would be greatly appreciated. >> ARS 7.6.04 P2 >> >> >> >> >> >> Shafqat Ayaz >> >> >> >> >> >> >> ___ >> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org >> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"