We are shortly to move from 6.1.3 to 6.3 (AIX platform to HP-UX) and I am trying to move existing scripts.
I have come across the problem of a different output from the ecs util using -defexport. The existing output has the header lines:
# @(#) CONTROL-M/Enterprise Manager : Netdump
DB_VERSION 6.1.0
NET_NAME def
DATE 06/08/2009 11:05:42
NET_TYPE DEF_
and the text file is usable.
When I try the same command on an identical table under 6.3
I get a header:
# @(#) CONTROL-M/Enterprise Manager : Netdump
DB_VERSION 6.3.0
NET_NAME def
REC_DELIM ^^^[^_
FLD_DELIM ^\^[^]
DATE 08.06.2009 11:58:18
NET_TYPE DEF_
the output file contains the characters in the delimiter lines as shown above and is useless.
Any ideas how I can overcome this?
ecs util problems
There's nothing wrong with the file you are getting. To accommodate greater flexibility in the data, BMC changed the field and record delimiters in the database. All the data that you are expecting is still there, it is just separated by the new delimiter sets.
You can still parse the data, just use the delimiters as specified in the header information to delineate your fields.
You can still parse the data, just use the delimiters as specified in the header information to delineate your fields.