ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error exporting model starting with numeric character

Post new topic  Reply to topic
 Error exporting model starting with numeric character « View previous topic :: View next topic » 
Author Message
ckup
PostPosted: Mon Sep 30, 2013 7:45 am    Post subject: Error exporting model starting with numeric character Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 30, 2013 9:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ckup
PostPosted: Mon Sep 30, 2013 9:55 am    Post subject: Error exporting model starting with numeric character Reply with quote

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
View user's profile Send private message
hos
PostPosted: Tue Oct 01, 2013 2:55 am    Post subject: Reply with quote

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
View user's profile Send private message
ckup
PostPosted: Tue Oct 01, 2013 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Sun Oct 06, 2013 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error exporting model starting with numeric character
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.