I have a text file created in the /mail directory of our iSeries containing two mail databases that I want to convert (testing before I convert everyone). The contents of the txt file is the following:
mail/user1.nsf
mail/user2.nsf
The command is the following:
load convert -f -u mail/2infr.txt iNotes5 iNotes60
Have also tried:
load convert -f -u mail/2infr.txt * iNotes60
Have also tried:
load convert -f -u mail/2infr.txt iNotes5.ntf iNotes60.ntf
And many other variations, but…
I get the following results:
04/30/2003 08:31:56 Mail Convert Failed: None of the specified databases’ templates match ‘iNotes5’
Both of these mail databases inherit their design from iNotes5.ntf. Any ideas as to why I’m receiving this failure?
btw - running the explicit convert utility on a single mail file works fine:
load convert -u mail/user.nsf * iNotes60
Subject: Load Convert -f - 04/30/2003 08:31:56 Mail Convert Failed
I’m getting ready to test the same thing. According to the Upgrade Redbook (p138), it looks like they are putting the full path to the .txt file, not just the folder. Let me know if that works.
Subject: RE: Load Convert -f - 04/30/2003 08:31:56 Mail Convert Failed
It’s a long shot but you could try (and don’t laugh it worked for me) check that there is a carriage return at the end of the last entry in your text file. I spent hours with the same issue, searching ldd R5 gave me a hint and now it works fine!Good luck!
Subject: RE: Load Convert -f - 04/30/2003 08:31:56 Mail Convert Failed
Yes, that is it! If you use the -l switch to create a text file containing mail files in the mail directory it has the hard return at the end of the text file. Crazy!
Subject: RE: Load Convert -f - 04/30/2003 08:31:56 Mail Convert Failed
The same thing has been known to be a problem with the notes.ini file, where the last line was being ignored if it didn’t have a carriage return. Seems to be a standard thing with the way Notes reads in text files…
Stephen Lister