Remap-commandFile Problem

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Dennis >> Sat, 11 Oct 2008 17:12:35 GMT

Hi Staff Jade Support

Somebody can give me more explaination dan example of Remap-commandFile.

I already read and try from Jade Dokument ( Jade- Using Schema Load Utility page 18-22) but I can not make right Remap-commandFile.

I thank very much for your help

Dennis

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Tim M >> Sun, 12 Oct 2008 0:46:05 GMT

What is the error you are getting. And if it says check a log file what does that log say?

Here is an example of a command file i made:

JadeCommandFile
JadeVersionNumber 6.2.15

Commands

AbortOnError True

Remap Class TestSchema::MyClass NewMap

MoveInstances


And i ran it using:

C:\Jade\Local62Dev\bin>jadloadb path=C:\jade\local62dev\system commandFile=C:\ja
de\local62dev\remap.jcf loadStyle=currentSchemaVersion


The remap command will not work on 6.0. Works on 6.2 but not sure about 6.1 bcos I never use that version. I mainly use 6.0 but sometimes 6.2.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Dennis >> Sun, 12 Oct 2008 22:17:48 GMT

Dear Tim

Thanks for your reply

Actually, I am sting facing a same problem.
There is a same errormsg 8515 .


would you like to send/attach your Extract schema from your example above ?

Thanks a lot
Dennis

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Tim M >> Sun, 12 Oct 2008 22:31:31 GMT

On it's own 8515 is no use. Send the jommsg<lastnum>.log

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Dennis >> Mon, 13 Oct 2008 7:20:07 GMT

Dear Tim

In case you have free time to investigate my problem, I attach everythings ( extract files and msglog ).

Thanks a lot Tim :-)

Dennis
Attachments
5437.rar
(16.35 KiB) Downloaded 85 times
Last edited by ConvertFromOldNGs on Fri Aug 07, 2009 4:31 pm, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Tim M >> Mon, 13 Oct 2008 7:30:03 GMT

jommsg1.log says:

2008/10/13 09:15:52.482 001e0-0f1c Loader: Processing command file line 6: Create DBFile TestSchema::NewMap
2008/10/13 09:15:52.482 001e0-0f1c Loader: Command Error: Unknown entity for create

I think its case sensitive so change DBFile to DbFile and it should work.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Dennis >> Mon, 13 Oct 2008 9:15:46 GMT

Dear Tim

Here is new Error from log file

2008/10/13 11:12:38.766 00f5c-0948 Loader: Processing command file line 6: Create DbFile TestSchema::NewMap
2008/10/13 11:12:38.797 00f5c-0948 Loader: Command Error: Cannot create DbFile in latest version

thanks a lot
Dennis
Attachments
5439.rar
(3.83 KiB) Downloaded 82 times
Last edited by ConvertFromOldNGs on Fri Aug 07, 2009 4:31 pm, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Remap-commandFile Problem

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:23 pm

by Tim M >> Mon, 13 Oct 2008 9:58:13 GMT

Add the argument to jadloadb:
loadStyle=currentSchemaVersion

So in full you should have something like:
jadloadb path=c:\jade62\system commandFile=c:\jcf\TestSchema.jcf loadStyle=currentSchemaVersion


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 24 guests