Agent syntax error in fscan+syslog.dat(1) at token '{'
Hello
I'm getting the following message thousand of times per day.
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: syslog Sep 25 13:43:16 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: syslog Sep 25 13:43:16 agent *** aborting execution ***
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: [ID 886278 daemon.alert] syslog Sep 25 13:43:16 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: [ID 362431 daemon.alert] syslog Sep 25 13:43:16 agent *** aborting execution ***
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: syslog Sep 25 13:44:21 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: syslog Sep 25 13:44:21 agent *** aborting execution ***
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: [ID 580518 daemon.alert] syslog Sep 25 13:44:21 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: [ID 457334 daemon.alert] syslog Sep 25 13:44:21 agent *** aborting execution ***
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: syslog Sep 25 13:45:27 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: [ID 275109 daemon.alert] syslog Sep 25 13:45:27 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: syslog Sep 25 13:45:27 agent *** aborting execution ***
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: [ID 903135 daemon.alert] syslog Sep 25 13:45:27 agent *** aborting execution ***
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: syslog Sep 25 13:46:33 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: [ID 869362 daemon.alert] syslog Sep 25 13:46:33 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: syslog Sep 25 13:46:33 agent *** aborting execution ***
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: [ID 622345 daemon.alert] syslog Sep 25 13:46:33 agent *** aborting execution ***
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: syslog Sep 25 13:47:38 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: [ID 563921 daemon.alert] syslog Sep 25 13:47:38 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: syslog Sep 25 13:47:38 agent *** aborting execution ***
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: [ID 543858 daemon.alert] syslog Sep 25 13:47:38 agent *** aborting execution ***Any ideas?
--Andreas
Hello Bobby
One problem was fixed but now I have a new one :(
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 657200 daemon.alert] syslog Sep 26 08:18:58 agent invalid URL mode:
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 968156 daemon.alert] syslog Sep 26 08:18:58 agent *** aborting execution ***
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 657200 daemon.alert] syslog Sep 26 08:18:58 agent invalid URL mode:
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 968156 daemon.alert] syslog Sep 26 08:18:58 agent *** aborting execution ***
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 285625 daemon.alert] syslog Sep 26 08:19:05 agent invalid URL mode:
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 285625 daemon.alert] syslog Sep 26 08:19:05 agent invalid URL mode:
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 213369 daemon.alert] syslog Sep 26 08:19:05 agent *** aborting execution ***
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 213369 daemon.alert] syslog Sep 26 08:19:05 agent *** aborting execution ***
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 759446 daemon.alert] syslog Sep 26 08:19:14 agent invalid URL mode:
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 759446 daemon.alert] syslog Sep 26 08:19:14 agent invalid URL mode:
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 605446 daemon.alert] syslog Sep 26 08:19:14 agent *** aborting execution ***
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 605446 daemon.alert] syslog Sep 26 08:19:14 agent *** aborting execution ***
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 212727 daemon.alert] syslog Sep 26 08:19:22 agent invalid URL mode:
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 473235 daemon.alert] syslog Sep 26 08:19:22 agent *** aborting execution ***
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 212727 daemon.alert] syslog Sep 26 08:19:22 agent invalid URL mode:
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 473235 daemon.alert] syslog Sep 26 08:19:22 agent *** aborting execution ***Any more ideas?
Cheers,
--Andreas
Similar Messages
-
Syntax error in scan+syslog.dat(1)
Hi,
I have repeated errors being logged by one of the SunMC agents on a Solaris 10 system. We are running Agent V4:
Nov 17 12:38:19 myserver agent[21172]: syslog Nov 17 12:38:19 agent syntax error in fscan+syslog.dat(1) at token '0'
Can someone please explain what this is and how to fix it?!
Cheers.....I have seen a configuration file get corrupted for unknown reasons. Look for a missing matching quote in the file in question fscan+syslog.dat(1). I stopped the es daemon to fix the file, and then restarted the SMC agent when done. This solved the streaming error I was getting that looked pretty much like yours.
Doug Morgan -
Trap syntax error in trap-schedule.dat alert; possibly SMC related
Receiving many ID xxxxxx daemon.alert events every hour. The message is:
[ID xxxxxx daemon.alert] syslog Nov 10 14:00:10 trap syntax error in trap-schedule.dat(200) at token '???'
followed immediately (same timestamp) with:
[ID yyyyyy daemon.alert] syslog Nov 10 14:00:10 trap *** aborting execution ***
I coudn't find anything on the web specifically for this message but several hits that looked similar seemed to indicate that this might be a problem in SMC. If it is not I apologize in advance.
System is an ldom:
Solaris 10;
SunOS clsol8 5.10 Generic_127127-11 sun4v sparc SUNW,T5140
Current situation is:
# /opt/SUNWsymon/sbin/es-validate
This script will help you in validation of Sun (TM) Management Center.
Validation Tool Version : 4.0
Host name : clsol8
Number of CPUs : 24
Platform : SUNW,T5140
Operating System : SunOS 5.10
Memory size : 2048 Megabytes
Swap space : 595480k used, 3727296k available
JAVA VERSION : "1.5.0_14"
Sun Management Center Production Environment Installation.
Following layers are installed : SERVER, AGENT, CONSOLE
Installation location : /opt/SUNWsymon
Sun Management Center installation status:
PRODUCT : Production Environment
INSTALLATION STATUS : Setup.
DATABASE SETUP : Setup.
COMPLETELY INSTALLED PACKAGES : SUNWescom,SUNWesbui,SUNWesbuh,SUNWenesi,
: SUNWesdb,SUNWesagt,SUNWessrv,SUNWessa,
: SUNWesjp,SUNWesaxp,SUNWesse,SUNWesclt,
: SUNWesjrm,SUNWmeta,SUNWenesf,SUNWesmdr,
: SUNWesgui,SUNWesweb,SUNWessvc,SUNWesasc,
: SUNWescix,SUNWsuagt,SUNWsusrv,SUNWesval,
: SUNWesmc,SUNWessms,SUNWessdv,SUNWescdv,
: SUNWlgsmc,SUNWeslac,SUNWesodbc,SUNWesmib,
: SUNWesken,SUNWesmod,SUNWesae,SUNWesaem,
: SUNWesmcp,SUNWesafm,SUNWescon,SUNWsucon,
: SUNWescli,SUNWesclb
<NOTE: I had to cut out a bunch of installed components to hit character limit>
Sun Management Center Add-Ons and Versions:
PRODUCT VERSION
Production Environment 4.0
Advanced System Monitoring 4.0_Build15
Sun Fire Entry-Level Midrange S 3.5-v6
Service Availability Manager 4.0_Build15
Performance Reporting Manager 4.0_Build15
Solaris Container Manager 4.0_Build15
Sun Fire Midrange Systems Platf 3.5-v6
System Reliability Manager 4.0_Build15
Sun Management Center Integrati 4.0_Build15
Workgroup Server 3.6
Generic X86/X64 Config Reader 4.0_Build15
Sun Management Center Patch installation details:
No Sun Management Center patch is installed.
Sun Management Center disk-space consumption:
PRODUCT APPROXIMATE DISK SPACE CONSUMED
Production Environment : 54452 kB
Advanced System Monitoring : 2391 kB
Sun Fire Entry-Level Midrange S : 1738 kB
Service Availability Manager : 1838 kB
Performance Reporting Manager : 3371 kB
Solaris Container Manager : 3688 kB
Sun Fire Midrange Systems Platf : 3270 kB
System Reliability Manager : 970 kB
Sun Management Center Integrati : 540 kB
Workgroup Server : 3707 kB
Generic X86/X64 Config Reader : 608 kB
TOTAL : 76573 kB
Database is located at : /var/opt/SUNWsymon/db/data/SunMC
Free space available on this partition is : 6493142 kB
Following locales are installed :
Information about upgrade from old versions is not available.
Sun Management Center Ports:
SUNMC COMPONENT PORT_ID
agent service 1161
trap service 162
event service 163
topology service 164
cfgserver service 165
cstservice service 167
metadata service 168
platform service 166
grouping service 5600
rmi service 2099
webserver_HTTP service 8080
webserver_HTTPS service 8443
You are currently running SNMPDX.
Sun Management Center Server Hosts definitions in domain-config.x:
SUNMC COMPONENT SERVER_HOST
agent service clsol8
trap service clsol8
event service clsol8
topology service clsol8
cfgserver service clsol8
cstservice service clsol8
metadata service clsol8
platform service clsol8
Sun Management Center Processes:
SUNMC SERVICE STATUS
Java Server Running.
Database services Not Running.
Grouping service Running.
Event-handler service Running.
Topology service Not Running.
Trap-handler service Not Running.
Configuration service Running.
CST service Not Running.
Metadata Services Running.
Hardware service Not Running.
Web server Running.
Sun Management Center Agent Running.
Platform Agent Not Running.
Privilege level for Sun Management Center users :
CATEGORY USERS
esadm : smcadmin
esdomadm : smcadmin
esops :
ALL USERS : smcadmin
server is local host
Web server package is installed correctly.
Web Server is up and responding.
Web Server servlet engine is up and responding.
I have also read that patching SMC has caused problems for some people so I don't really want to try that until I get some feedback.Hi Mike,
Tried your suggestion to rename the .dat and let SMC recreate it but I can't get the SMC database service to launch. So it looks like I am having trouble with the database. Any suggestions?
To back up, you nailed it with the loss of power - we lost both power supplies on a Sunday night with no warning and nothing in /var/adm/messages (since we send them to a loghost.) It was determined that chips within each power supply in the T5140 failed. So we replaced both power supplies and fired the server up. That is when we started getting the trap errors and only those two errors on clsol8.
I did check http://sun.com/msg/SMF-8000-KS but am not sure how that helps.
What I tried:
On clsol8 as root:
# cd /opt/SUNWsymon/sbin
# ls
{db-memconfig.sh es-details es-imagetool es-setup
db-start es-device es-inst es-start
db-stop es-dt es-keys.sh es-stop
es-apps es-gui-imagetool es-lic es-tool
es-backup es-guiinst es-load-default es-trapdest
es-chelp es-guisetup es-makeagent es-uninst
es-cli es-guistart es-platform es-validate
es-common.sh es-guistop es-restore esmultiip
es-config es-guiuninst es-run ports.config}
# ./es-stop -A
{Stopping metadata component
Stopping cfgserver component
Stopping topology component
Stopping event component
Stopping grouping service
Stopping trap component
Stopping java server
Stopping webserver
Stopping agent component
Stopping platform component}
<attempting Mike's solution suggestion>
# cd /var/opt/SUNWsymon/cfg
# ls
trap-schedule.dat
# mv trap-schedule.dat trap-schedule.dat.maybeCorrupted
# /opt/SUNWsymon/sbin/es-start -Ac
{Some of the SunMC services are in maintenace state.
Please check the corresponding SMF service log in /var/svc/log directory.
Please disable the services in maintenance state and re-start the services again.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 6, 2009 3:50:51 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.
svc:/application/management/sunmcwebserver:default (SunMC webserver service)
State: maintenance since November 12, 2009 2:45:50 PM CST
Reason: Start method failed repeatedly, last exited with status 103.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcwebserver:default.log
Impact: This service is not running.}
# svcadm disable sunmcdatabase
# svcadm disable sunmcwebserver
# svcs -vx
# svcadm enable sunmcdatabase
# svcadm enable sunmcwebserver
# /opt/SUNWsymon/sbin/es-start -Ac
{Failed to successfully perform Database Startup.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 2:49:50 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.}
# cd /
# svcadm disable sunmcdatabase
# shutdown -y -g0 -i6
(after reboot, I logged into clsol8 and su'd to root)
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: disabled since November 12, 2009 3:02:11 PM CST
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default}
# svcadm enable sunmcdatabase
# svcadm disable sunmcdatabase
# svcadm clear sunmcdatabase
svcadm: Instance "svc:/application/management/sunmcdatabase:default" is not in a maintenance or degraded state.
# svcadm refresh sunmcdatabase
# svcadm enable sunmcdatabase
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: offline since November 12, 2009 3:09:25 PM CST
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 3:10:30 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
[ Nov 12 15:08:37 Leaving maintenance because disable requested. ]
[ Nov 12 15:08:37 Disabled. ]
[ Nov 12 15:09:07 Rereading configuration. ]
[ Nov 12 15:09:25 Enabled. ]
[ Nov 12 15:09:25 Executing start method ("/lib/svc/method/es-svc.sh start datab
ase") ]
execution of verifyDatabaseUp failed
exiting........................
[ Nov 12 15:10:30 Method "start" exited with status 95 ] -
Cfgserver syntax error in auth.suppl.dat
Hi Guys,
I am trying to fix the following problem
Aug 6 12:13:32 f15k1-cons cfgserver[25532]: [ID 876111 daemon.alert] syslog Aug 06 12:13:32 cfgserver *** aborting execution ***
Aug 6 12:13:46 f15k1-cons cfgserver[27509]: [ID 749361 daemon.alert] syslog Aug 06 12:13:46 cfgserver syntax error in auth-suppl.dat(1) at token '???'
And following is the auth.suppl.dat file
authkey(esmaster) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
origauthkey(esmaster) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
localize(esmaster) = "1"
authkey(espublic) = "b2:2:b:c0:d3:f2:1e:14:dc:a7:df:3e:de:fe:7a:cc"
localize(espublic) = "0"
prevauthkey(zia) = "f9:cd:87:e9:4e:49:1f:6b:6d:5:22:41:aa:6b:b3:79"
authkey(zia) = "f9:cd:87:e9:4e:49:1f:6b:6d:5:22:41:aa:6b:b3:79"
defaultdomain(zia) = "snmp://131.170.9.68:164/mod/topology+view-3"
prevauthkey(mathew) = "c9:68:2c:dc:2f:d:db:f:17:a9:bb:5e:d5:e0:42:b8"
authkey(mathew) = "c9:68:2c:dc:2f:d:db:f:17:a9:bb:5e:d5:e0:42:b8"
prevauthkey(andrew) = "2c:29:16:23:7c:13:9f:6a:b3:64:1c:80:eb:a8:c1:f9"
authkey(andrew) = "2c:29:16:23:7c:13:9f:6a:b3:64:1c:80:eb:a8:c1:f9"
defaultdomain(andrew) = "snmp://131.170.9.68:164/mod/topology+view-3"
prevauthkey(stuart) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
authkey(stuart) = "73:db:b7:3b:c7:93:72:5e:19:60:26:c0:4a:7b:9e:2"
defaultdomain(stuart) = "snmp://131.170.9.68:164/mod/topology+view-3"
May I ask what is wrong with this configuration file.
Any help is highly appreciated please.
Regards,
Zia-ul-HassanHi Zia-ul-Hassan,
I renamed file auth-suppl.dat , that cleared the
warnings but didn't let me login to SunMC console,Do you know if that system crashed, or ran out of disk space? There may be more than 1 bad file left around. It often shows up as one of the SunMC Server processes constantly restarting itself (as shown in /var/adm/messages, or in the /var/opt/SUNWsymon/log/*.log files)
If the logs look OK another thing to try is to reset the security seeds on the Server:
/opt/SUNWsymon/sbin/es-config -r
Then try logging in again after SunMC has restarted.
Regards,
[email protected]
http://www.HalcyonInc.com
!! New !! : http://forums.HalcyonInc.com -
Syntax error while doing Convert data in LSMW
Hi experts,
I am using direct input method for uploading customer master records. After display read data step, when i click Convert data button, i get a runtime error saying that:
the data object "LEGACY_CUSTOMER_MASTER" has no component called "OLD_CUST_NO", but there is a component called "SAP_CUST_NO".
But actually we do not need OLD_CUST_NO field, so i did not include it while maintaining source fields. Someone plz help. I urgently need to resolve this.
Thanks.Hi ,
I think you have declared the filed old_cust_no in the maintain field mapping step may be in global declaration or in the mapping section of hte field. Without the use of filed OLD_CUST_NO you wont get the syntax error. Check the sysntax error in field mapping step and delete the unwanted field.Check the filed mapping section carefully based on the error.
Thanks. -
DB connectivi​ty toolkit: syntax error in a SELECT data from joined tables
Hello everyone
I'm trying to put in labview an SQL query on joined tables.
As example I take a DB for storing the data of 2on2 basketball games, whose tables are
matches(matchId,teamA,teamB)
teams(teamId,PlayerAname,PlayerBname,Nationality)
nationalities(NatId,natName)
To get a result table with the match number and the player names along with their nationality I use this query on MySQL (which works on the command line interface)
SELECT MatchID,
t1.PlayerAName, t1.PlayerBName, n1.natName,
t2.PlayerAName, t2.PlayerBName, n2.natName
FROM matches m
INNER JOIN teams t1 ON t1.teamID = m.teamA
INNER JOIN teams t2 ON t2.teamID = m.teamB
INNER JOIN nationalities n1 ON n1.natID = t1.nationality
INNER JOIN nationalities n2 ON n2.natID = t2.nationality
When I put it in labview, using the "select data" block, I get a syntax error as shown in the attached screenshot.
Am I mistanking something in using the JOIN statements, or the aliases?
Thanks in advance!
Solved!
Go to Solution.
Attachments:
select2dabone.vi 12 KBGiovasa wrote:
I do't like very much the chain of blocks execute query+n*(fetch element)+free object, so I try to avoid that as much that I can...
Sounds like a prime candidate for a subVI. You don't have to use it every time, but it probably would help for cases where you do want to put the SQL query directly in code.
Incidentally, if you're doing joins, you might consider using views, as that allows you to hide the details of the interactions of the tables in the DB itself.
Try to take over the world! -
Regarading IDOC status 26 ,syntax error
Hi All,
we have some problem to create IDOC type ORDERS05 for Purchase Order.
*ERROR STATUS 26:*
(SYNTAX ERROR IN IDOC (SEGMENT CANT B IDENTIFIED))
msg number E0078:
The segment E1EDK14 does not occur at the current level of the basic type ORDERS05 (extension ) AND
e1edk14 segment missed.instead of 5 ,it shows only 4.
*ERROR STATUS 26:*
(SYNTAX ERROR IN IDOC (MANDATORY DATA MISSING))
msg E0072:The segment E1EDK01 has the attribute 'Mandatory' in the syntax description of the basic type ORDERS05 (customer enhancement ).
header data was totally different.
it contains street fields,n country ,,like dat,instead of document number
However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
This happens for order create (ORDERS) and for order change (ORDCHG)
Do you have any idea to solve the problem? I'm using a standard IDOC.hi
Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
and also
check whether u r using
1) sap standard program
2) user defined program
3) enhancing sap program using user exits
if it is standard program check all ur ALE settings once again
if ur using user defined check ur program logic and compare it with idoc structure
if ur enhancing sap standard program check partner profiles using correct message & idoc type
check your user exit logic
reward if u find helpful
Thanks&Regards
Nagesh.Paruchuri -
Syntax error while loading hierarchy from an external file
Dear Expert:
I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
Since I am not familiar with hierarchy load, so:
1. while loading from external file, do I need to create one hierarchy in advance through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
Information like file name, file dir, file type(csv), seperator should be correct there.
Can anybody help me take a look into that? Many thanks for your time in advance!
TimHi ctsiszidane:
There are some other SAP Notes that can help you solve the problem. Depending on your Support Package level check which of them is applicable.
Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
Note 605690 - Escape characters are not processed correctly
Note 620152 - Syntax error in RSTMPL9A during data loading from a file
Regards,
Francisco Milán. -
Data Source 0HR_PA_0 Syntax Error in the start routine while activating
Hi All,
I have migrated the Business content for the data source 0HR_PA_0
While activating the transformation-2 there is errors like:
Start Routine: Syntax error in routine
Rule (target: 0HDCNT_LAST, group: 01 Standard Group): Syntax error in routine
Rule (target: 0AGE_KYF, group: 01 Standard Group): Syntax error in routine
.................... etc
I need help to resolve this issue.
Thanks & Regards,
SavithaHello Jurgita,
When Data Source was migrated the codes related to COMM_STRUCTURE was missing in the start routinue.
Following codes (in bold) with regard to COMM_STRUCTURE added and then got activated
4. *--
5. COMM_STRUCTURE type tys_sc_1__rule_25,
6. l_subrc type sy-tabix,
7. l_abort type sy-tabix,
8. ls_monitor TYPE rsmonitor,
9. ls_monitor_recno TYPE rsmonitors.
10.
11. REFRESH:
12. MONITOR.
13.
14. * Runtime attributs
15. SOURCE_SYSTEM = p_r_request->get_logsys( ).
16. move-corresponding SOURCE_FIELDS to COMM_STRUCTURE.
17.
18. * Migrated update rule call
19. Perform routine_0011
20. using
21. COMM_STRUCTURE
22. CHANGING
Regards,
Savitha
Edited by: Savitha Ravi on Jun 19, 2009 6:34 AM -
Syntax error after convert data : LSMW
Hi,
I am doing a LSMW for MM01. After the convert data step I get the following syntax error:
The following syntax error was found in program
/1CADMC/SAP_LSMW_COMV_00000168
For typr "C", a max length specification of 65535 is allowed.
Can anybody help me in figuring out where I am going wrong.
Thanks,
Nileshjust execute ur lsmw in this, there is tab button user menu next to execute button , click on that , u come across a pop screen where u have a check box in that just select generate conversion program and display conversion program. and press enter.
afterwards select the radio button generate conversion program , it will shows the program in this do systax check. u will findout the error .
do syntax check by running step generate conversion programe,
and also check source fields step , r u giving correct length or not for each field.
Thanks
null -
"Syntax error or access violation" on Data Flow Task OLE DB Data Source
I am implementing expression parameter for a SQL Server connection string (like this: http://danajaatcse.wordpress.com/2010/05/20/using-an-xml-configuration-file-and-expressions-in-an-ssis-package/) and it works fine except when it reaches data flow
task - OLE DB Source task. In this task, I execute a stored procedure like this:
exec SelectFromTableA ?,?,?
The error message is this:
0xC0202009 at Data Flow Task, OLE DB Source [2]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Syntax error or access violation".
Error: 0xC004706B at Data Flow Task, SSIS.Pipeline: "OLE DB Source" failed validation and returned validation status "VS_ISBROKEN"
When I change the SQL command above with reading from table directly it works fine. I should also add that before changing connection string of the SQL data source to use expression, the SSIS package was working fine and I know that the connection string
is fine because other tasks in the package works fine!
Any idea why?Hi AL.M,
As per my understanding, I think this problem is due to the mismatching between the source and the destination tables. We can reconfigured every of components of the package to check the table schemas and configuration settings, close the BIDS/SSDT and then
open and try to see if there are errors.
Besides, to trouble shoot this issue, we can use the variable window to see the variable's value. For more details, please refer to the following blog:
http://consultingblogs.emc.com/jamiethomson/archive/2005/12/05/2462.aspx
The following blog about “SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred: Reasons and troubleshooting” is for your reference:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2009/11/10/ssis-error-code-dts-e-oledberror-an-ole-db-error-has-occurred-reasons-and-troubleshooting.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Data Retrieval Failure - Syntax Error
Being new to Crystal Reports, we are getting an error message when trying to connect to our SQL based payroll software. We are able to select the database and the tables and fields that we want to query so it would seem that Crystal is recognizing the database, however when adding the fields to the report and previewing the results, we get the error:
"Failed to retrieve data from the database. Details: 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'Aid'. [Database vendor code: 170]"
What does this mean??
Our payroll database name contains 4 words with spaces between them. "Aid" is the second word in the DB name. We have contacted the payroll software support group to determine if we can change the name of the payroll database and they have indicated that we cannot. Is Crystal able to retrieve from a database that has spaces in its name? If not, is there a way to refer to or designate the database as something different (i.e. a one-word name like "Payroll") for Crystal Reporting purposes such that Crystal is able to retrieve data from it?
Any help anyone can offer would be greatly appreciated.
Thank you!
Tanja & EdHmmm, that's a good point. We did not ask the PR company if it was possible to connect directly to their DB, we just assumed that we could (the possibility that we couldn't never crossed my mind). We will look into that. We have also tried to connect via Excel (import external data/new database query) and we get a similar syntax error. Both Crystal and Excel seem to be recognizing the database in that they bring up the list of available tables and fields and allow us to select them but it is at the point where they try to return results that we get the error.
The tables themselves do not have spaces in the names, they are either one-word names or use "_" for multi-word names. The fields are the same. It is the database name that has the spaces. And I was wrong, "Aid" is actually the third word in the DB name. "xxxx xxxxxxxxx Aid xxxxxx".
I just tried to query on different tables thinking that maybe some of them could be accessed and some couldn't but I'm still getting the same error message. You may be onto something with respect to not having permission to connect to the DB - I'll contact Paymate and find out.
Thanks! -
Date/Time Field in Access 2000 - INSERT INTO ... syntax error
I am using Labview 6.1 Professional with the Database Connectivity Toolkit. When I execute this SQL Command "INSERT INTO PRODUCTION (Part, Passed, Date) VALUES ('Part#1', 2, '10/10/2003 10:10:10 AM')" I get a Run-Time Syntax Error. If I remove the Date Label and Date Value it works. What is the proper Format of the Date/Time Type Field in ACCESS 2000 for Labview 6.1 SQL? I have seen and tried all of the solutions already posted like MSG 1ZNAJHJ6.
Well, if it's any consolation handling dates is a pain regardless of which database you use. In any case, I created a table with the following definition:
CREATE TABLE testing
(item1 INTEGER,
item2 DATE)
I them did the following insert:
INSERT INTO testing
VALUES (1, '18/11/1953 04:20:00');
And everything worked fine. Note that in the date (my Bday, BTW) the format is DD/MM/YYYY followed by the time.
What exactly is the error you're getting? Can you post the exact text of the error message. Also, I ran my test using the examples that come with LabSQL--not the toolkit.
Mike...
Oops, just noticed something. You have a column name that is probibly a reserved word "Date". Try your insert as:
INSERT INTO PRODUCTION
VALUES
('Part#1', 2, '10/10/2003 10:10:10 AM')
If there is only those three columns and they the order the data appears is the same as the column order, you don't need the column list. If this works (and it should--I just tried it) I would only view it as a temporary patch. The column name should be changed.
This is also a good reason to not use the Access GUI to create tables. If you tried creating a table like that in SQL you would have gotten an error message. Learning to build tables in SQL code isn't hard and it adds an extra layer of error checking that the GUI apparently doesn't think is important.
If you're interested let me know and I can send you the info on a really good book on SQL...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
LSMW - inforecord / material master - syntax error when converting data
Hi all,
I used LSMW for classification uploads (material master, vendor master) so far - it was easy :-). But..I tried to create/update inforecords by object 0060, method 0000, program RM06IBI0. I declared source structure, source fields, field mappings and conversion rules (in my batch input I use only fields which we defined as required for infrecs.), files etc. LSMW reads the data but when I try Convert data - the is syntax error in program /1CADMC/SAP_LSMW_CONV_00000018 and dump with message "For type "C", a maximum length specification of 65535 is allowed." When I tried to create material master (object 0020, method 0000), Convert data command worked the same.
Any help would be appreciated. (? sample from your batch input file which works well to compare)
TomasHi Tomas,
Please do me a favor. In the initial screen of LSMW, there is a pushbutton for 'Personal Menu'. Once you press that it will pop-up a screen with a bunch of checkboxes. Select the checkbox for 'Display Conversion Program' and press enter. Now you should see the 'Display Conversion Program' option in your initial screen. Select that and go into the conversion program. Put a break-point in the conversion program on the statement 'perform execute_data_conversion.'.
Debug it and find out exactly where the error is occuring. Perhaps that will help you figure out what the error is, if not, let the forum know where you hit the error. Even looking at the dump, you should get more information.
Srinivas -
SYNTAX error please refres data.
spool on to 'E:\Batch\Apps\TOG_DET\Logs\replication.out';
login xyz xyz on alawdin3000.xxx.com;
refresh replicated partition TOG_DET.GLDetail to WFStest.COMBINED at alawdin3000.xxx.com all data;
spool off;
it says syntax error as' . ' Could any one help me how to fix that. I tried in many many ways.
Regards
Kumar
Edited by: user9252492 on May 12, 2010 6:41 AMas Glenn Mentioned try putting a single quote around the Host alias that you are using
'alawdin3000.xxx.com'
If that doesn't work I would try using the host name or the IP name instead.
There is a section in the tech ref about using host names when doing transparent partioning, which to me implies (if they have a section devoted to it) that their may be issues around it.
Using Host Name Aliases When Partitioning
If you want to use network aliases for the data source or data target names, you must make sure that the aliases are propagated to all computers on your system. Otherwise, use the full server name.
To propagate an alias to all the computers on your system, edit the /etc/hosts file (on UNIX systems) or the %WINDIR%/system32/drivers/etc/hosts file (on Windows systems), adding an entry with the IP address, followed by the host name, followed by the alias.
For example, if you want to use an alias abcdefg.hijk.123 for a system with host name hostname.domainname having IP address 172.234.23.1, then the host file entry should be:
172.234.23.1 hostname. domainname abcdefg.hijk.123
In case of multiple aliases, append the aliases following the hostname. For example, if you want to use multiple aliases abcdefg.hijk.123 and lmnopqrs.tuvw.456 for a system with host name hostname.domainname having IP address 172.234.23.1, then the host file entries should be:
172.234.23.1 hostname. domainname abcdefg.hijk.123 lmnopqrs.tuvw.456
172.234.23.1 hostname. domainname lmnopqrs.tuvw.456 abcdefg.hijk.123
Notes
Do not use localhost as an alias to specify source and target server names.
The user should have root or admin privileges for the system to edit the hosts file.
See Also
Maybe you are looking for
-
Best practice question for implementing a custom component
I'm implementing a custom component which renders multiple <input type="text" .../> controls as part of it. The examples I've seen that do something similar use the ResponseWriter to generate the markup "by hand" like: writer.startElement("input
-
For several years HP offered printers capable of printing CDs and DVDs. Now I notice none of your printers offer that option. Is there a way with a current printer that CDs and DVDs could be printed on them. I currently have an HP Photosmart B209b pr
-
I need help this is frustrating.
I bought One Direction's new album take me home the yearbook edition and it synced to my phone but i noticed a song wasn't downloaded so i deleted it thinking the album would stay in my purchased file but it didn't so now i don't have the album excep
-
Make cost center default for an internal order
Hi friends, I want to make the cost center default for an internal order type. Can you please tell me how can i achieve that. Regards, Wasim.
-
Error with Illustrator CS5.1 Outline Stroke & Path Finder
Hey all I've recently been trying CS5.5 on Windows 7 64-bit. I've been playing around with it and have found that whenever I try to outline a stroke of a filled object, the fill moves slightly. Also when using Pathfinder the same type of error occurs