Hi there,
has someone ever experienced that a dsx-export may contain numerous (thousands!!) of backslashes - one after the other. This seems to happen with server jobs that contain an ORACLE connector stage only. I cannot verify this exactly, but most of our jobs are parallel jobs and the server jobs - very simple jobs - are used for "framework" tasks only.
The number of backslashes seems to increase from one export to another. Since we are doing some analysis on the dsx-file this is very annoying. Has anyone experienced this behaviour and knows how we can get rid of it (and when and why it happens)?
Klaus
Numerous backslashes in dsx export
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 94
- Joined: Wed May 08, 2002 8:44 am
- Location: Germany
- Contact:
Hello Klaus (long time no see...)
I've had the exact same problem at two different sites, and had no help from IBM but I edited out the backslashes in an export file (using an editor macro), re-imported the jobs; after that the problem was gone for a while. In my case we noticed how the export files suddenly were megabytes large rather then the expected couple of kilobytes.
I've had the exact same problem at two different sites, and had no help from IBM but I edited out the backslashes in an export file (using an editor macro), re-imported the jobs; after that the problem was gone for a while. In my case we noticed how the export files suddenly were megabytes large rather then the expected couple of kilobytes.
-
- Participant
- Posts: 94
- Joined: Wed May 08, 2002 8:44 am
- Location: Germany
- Contact:
Extra back-slashes are due to using the Connector migration tool and a bug in 9.1.
JR49320 patch addresses the problem that causes extra backslashes, but doesn't fix bad entries in repository.
In order to fix bad entries from the repository, a script using DStageWrapper.sh would have to be created. Contact your support provider to get the patch and instructions on cleaning up repository.
JR49320 patch addresses the problem that causes extra backslashes, but doesn't fix bad entries in repository.
In order to fix bad entries from the repository, a script using DStageWrapper.sh would have to be created. Contact your support provider to get the patch and instructions on cleaning up repository.
On second thoughts, it will be better to install REST API Rollup Patch v2 rather than patch JR49320. It is available on Fix Central.
Script that we had used, to fix the repository is given below:
Before running the above mentioned script, backup impacted jobs or the entire project. However if the property values are already grossly inflated, then this may not be easy. (Hint: Try ISX backup, if DSX backup attempt fails.)
Script that we had used, to fix the repository is given below:
Code: Select all
# Generate list of jobs that use the XMLConnectorDescriptor
# Expected output format: HOSTNAME:ProjectName <FolderPath> <JobName>
./DStageWrapper.sh -domain localhost -user isadmin -password XXXXX -query "select distinct y.DSNameSpace, y.Category,y.name from x in DSParameterVal,y in DSJobDef where x.parameterName = 'XMLConnectorDescriptor' and x._xmeta_lockingRoot = rid(y)"
# Generate file /tmp/command.txt to delete DSParameterVal objects
# Expected output format: -delete <object class name> <object rid>
./DStageWrapper.sh -domain localhost -user isadmin -password XXXXX -query "select class(x), rid(x) from x in DSParameterVal,y in DSJobDef where x.parameterName = 'XMLConnectorDescriptor' and x._xmeta_lockingRoot = rid(y)"|grep -v returned |sed -e 's/^/-delete /'>/tmp/commands.txt
# Delete DSParameterVal objects.
./DStageWrapper.sh -domain localhost -user isadmin -password XXXXX -file /tmp/commands.txt