See...now that is what I was thinking...instead of forcing their users to go through the conversion process, especially considering that they know the file will be generated on Windows, to just write their app to handle that situation, but alas...
_____ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Ben Chernys Sent: Thursday, May 08, 2008 3:26 PM To: [email protected] Subject: Re: RANT: arimportcmd ** Fair enough. I'm certainly not offended and hope I haven't offended anyone! I presume that support is quite frustrating from the stories I have heard. I personally try not to use it (pointing out bugs is a chargeable service after all) and have been quite impressed with the support I have had from BMC when I have needed it. And, these days anyhow, I make my living by using, configuring, talking about, and servicing BMC's products. And I AM a great believer in Documentation bugs after all! As for how hard it is to fix: I was going to say it's one line, but I'm glad I checked: It's about 9 lines (including three lines of comments and two extra lines for spacing for old mainframe style source files or four lines actual c) every place they read a line from a file. And here it is: // delete <lf> and <cr><lf> if (strlen(pBf) && pBf[strlen(pBf)-1] == '\n') pBf[strlen(pBf)-1] = '\0'; if (strlen(pBf) && pBf[strlen(pBf)-1] == '\r') pBf[strlen(pBf)-1] = '\0'; // handle a windows only <eof> in cc 1 of an empty // line or as the last character of a text line if (strlen(pBf) == 1 && pBf[0] == 0x1a) pBf[0] = '\0'; if (strlen(pBf) > 1 && pBf[strlen(pBf)-1] == 0x1a) pBf[strlen(pBf)-1] = '\0'; I wonder how the import tool will handle a Windows CSV on the Unix platform? No doubt you will have tested that in your travails - as an aside I just looked up that word for its spelling and though it had originated from the French but was amused to note: ...[Middle English from Old French travail, travaillier, ultimately via medieval Latin trepalium 'instrument of torture', from Latin tres 'three' + palus 'stake'] - perhaps a tad more literal in your case! Cheers Ben _____ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of LJ Longwing Sent: May 8, 2008 9:10 PM To: [email protected] Subject: Re: RANT: arimportcmd ** I only tagged it as a rant because of how frustrated I was with their response, or lack of concern for their customer. I wasn't till I replied back telling them that it wasn't good enough that 'I' knew it, that it needed to be updated in the documentation that they created a documentation defect to ensure no one else has to go through those 2 weeks of hassle... _____ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Ben Chernys Sent: Thursday, May 08, 2008 12:23 PM To: [email protected] Subject: Re: RANT: arimportcmd ** This is "normal" with almost all tools - BMC or otherwise. I specifically check for both types of line endings in Meta-Update (so that any CSV or Meta-Update script created on any platform can run on any platform) but that is not the norm. Try a makefile with Windows line returns; try a compiler's source file, and on and on. There is no need for a rant. Most people with Unix familiarity do ascii file conversions as a matter of course. Now that you know, it is no problem for you either. BTW, some file in Windows also contain an end of file marker as the last byte (Ctrl Z). This also causes Unix tools grief. dos2unix also eliminates these as DOS ascii mode ftp transfers and the like. The mapping file is an ASCII file. It can be used on any platform as long as the normal ascii file transfer mechanisms are used. Cheers Ben _____ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of LJ Longwing Sent: May 8, 2008 8:06 PM To: [email protected] Subject: RANT: arimportcmd ** I just got done working with BMC regarding a mapping problem and I'm not liking their answer. I wanted to poll the community to test the waters for this in case I need to open an RFE to make things work the way they say they are supposed to work I created an ARM file from the windows tool, just like the docs say to, and transferred it to a Suse Linux box, and couldn't get the arimportcmd tool to work properly, after several back and forths with support, they gave me a 'working' arm file, after several hours of trying to figure out what the difference was, I came down to the fact that for the Linux version of the import tool you need to run a dos2unix conversion (remove the hex 0D from the CRLF). When I commented that I shouldn't need to run any conversions on the ARM I was told point blank that the difference between how windows and Unix store text files is beyond BMC's support realm and that I simply needed to perform the conversion myself. My problems with this are several, but the major one of which is that the documentation states Importing with mapping refers to running the BMC Remedy Import CLI by using a mapping created in BMC Remedy Import. The mapping must be created on Windows because that is the only environment BMC Remedy Import runs on interactively. After it is created, the mapping can be used on any platform. I take this to mean that I don't need to convert anything to use it, because it 'can be used on any platform'....I'm curious if anyone on HPUX or AIX has to go through this conversion, and if so, did you figure it out on your own or did you get told this by support, and is anyone else annoyed about the fact that the documentation is misleading at best, and completely wrong at worst. I think that at a minimum they should either create the file so it's readable on all platforms they support, or update the documentation to indicate that some type of conversion needs to be performed to be able to use it on non Windows platforms. __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

