ecs util problems

Several scripts
Post Reply
steve_r

ecs util problems

Post by steve_r » 08 Jun 2009 1:29

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?

User avatar
ranger67
Nouveau
Nouveau
Posts: 52
Joined: 03 Jan 2008 12:00

Post by ranger67 » 08 Jun 2009 5:38

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.

steve_r

Post by steve_r » 09 Jun 2009 11:25

Thanks for the response - :oops: I did not read far enough through the EM utility guide - found the answer on page 196 - delimiters have been expressly defined and all now ok.

User avatar
Allison
Nouveau
Nouveau
Posts: 14
Joined: 22 Sep 2012 12:00

Post by Allison » 24 Sep 2012 3:05

Permitted content, Dynamic script such as text/javascript . Tag omission, None, must have both a start tag and an end tag.

Post Reply