Author |
Message
|
ckup |
Posted: Mon Sep 30, 2013 7:45 am Post subject: Error exporting model starting with numeric character |
|
|
Newbie
Joined: 26 Oct 2011 Posts: 8
|
Using a command file to export models when deploying them to runtime in our Test & PROD environments.
The command file (exportAdvCompCmdFile.201309300508) contains the following:
EXPORT PROCESS 1ENC_AdvComp_SR
This is the only model that we have which starts with a numeric character.
Here is the command that is used:
fmcibie -uadmin -ppassword -cexportAdvCompCmdFile.201309300508
-e1ENC_AdvComp_SR.fdl -lexportAdvComp.log.201309300508
The following errors are received:
09/30/13 05:08:57 at EXPORT PROCESS 1E
09/30/13 05:08:57 FMC20014E Syntax error while processing "1".
09/30/13 05:08:57 Expected... IDENTIFIER or STRING_TOKEN or WILDCARDM.
It works successfully when I manually export the model by using the following command:
fmcibie -uadmin -ppassword -e"EXPORT PROCESS '1ENC_AdvComp_SR'" -e1ENC_AdvComp_SR.fdl
I have tried to place the single quotes around the process name in the command file:
EXPORT PROCESS '1ENC_AdvComp_SR'
But it comes up with a different error.
FMC20014E Syntax error while processing "exportAdvCompCmdFile".
Expected... yy_eof or EXPORT or TRANSLATE
or VERIFY.
Any idea on how to escape the numeric character in the command file? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
fjb_saper |
Posted: Mon Sep 30, 2013 9:45 am Post subject: |
|
|
![](images/avatars/gallery/misc/2.gif) Grand High Poobah
Joined: 18 Nov 2003 Posts: 20698 Location: LI,NY
|
Did you try prefixing the digit with a backslash "\" or caret "^"?
No idea if it will work but worth a quick shot... ![](images/smiles/innocent.gif) _________________ MQ & Broker admin |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
ckup |
Posted: Mon Sep 30, 2013 9:55 am Post subject: Error exporting model starting with numeric character |
|
|
Newbie
Joined: 26 Oct 2011 Posts: 8
|
Just tried both of them (individually of course).
Also, tried to incorporate the backslash and the single quotes (see bleow).
EXPORT PROCESS \'1ENC_AdvComp_SR\'
Got the same error when trying all three of these attempts.
FMC20014E Syntax error while processing "exportAdvCompCmdFile".
Expected... yy_eof or EXPORT or TRANSLATE
or VERIFY.
If we do not come up with anything, I guess we will have to do it via the manual way...
Any more ideas out there?? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
hos |
Posted: Tue Oct 01, 2013 2:55 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
Are you sure that the process name is the problem?
Can you try to use an .fdl name without starting digit? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
ckup |
Posted: Tue Oct 01, 2013 7:06 am Post subject: |
|
|
Newbie
Joined: 26 Oct 2011 Posts: 8
|
We have used the script and command file successfully many times with other models, data structures, and server fdl files that do not being with a numeric.
The model in question has not been touched since it's inception - over 3 years ago.
If it is not related to the process name beginning with a numeric, then what does this error mean??
09/30/13 05:08:57 at EXPORT PROCESS 1E
09/30/13 05:08:57 FMC20014E Syntax error while processing "1". 09/30/13 05:08:57 Expected... IDENTIFIER or STRING_TOKEN or WILDCARDM.
Thanks for your help.... |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
jmac |
Posted: Sun Oct 06, 2013 7:54 am Post subject: |
|
|
![](images/avatars/42012047429c7f2bc3b3e.gif) Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
This is a bit of a longshot... but if my memory is still intact ( ) I thought that the command when specified as a file had to start with an "@".
Of course, it does seem like it is reading the command file... but you never know.
Also, I see Volker's point, that the "1" could be referring to the -e output file name parameter. Which would be totally unrealated to the Process Name.
John _________________ John McDonald
RETIRED |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|