The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

We are upgarde our product from SA10 to SA12 12.0.1 (Linux - EBF 3311; Windows EBF 3324). We found out that UNLOAD statement add to first line of file - 3(three) hex character - xEF, xBB, xBF. Example

UNLOAD SELECT * FROM DEVICE TO 'c:\default_db\temp\cfg_dev_4.txt'

first line

1,1,0,'AS-DEF','','AS_DEF','Application Server/Collectors'

instead of

1,1,0,'AS-DEF','','AS_DEF','Application Server/Collectors'

It doesn't make problem if you want to use this file with LOAD statement, but in our case we make additional processing with our application and it make problem, with SA10 it had working properly. This problem appears in OS Windows and Linux.

asked 09 Oct '11, 13:57

HBrener's gravatar image

accept rate: 0%

edited 10 Oct '11, 03:15

Volker%20Barth's gravatar image

Volker Barth


"BYTE ORDER MARK clause Use this clause to specify whether a byte order mark (BOM) should be written. By default, this option is ON, provided the destination for the unload is a local or client file. When the BYTE ORDER MARK option is ON and the ENCODING is UTF-8 or UTF-16, then a BOM is written. If BYTE ORDER MARK is OFF, a BOM is not unloaded. "

Note that although byte ordering in UTF8 is a meaningless concept, many text editors & text processing systems allow a UTF8 encoded BOM character at the beginning of the text so that the encoding of the data can easily be detected as UTF8.

permanent link

answered 09 Oct '11, 16:03

John%20Smirnios's gravatar image

John Smirnios
accept rate: 40%

edited 09 Oct '11, 16:48

Mark%20Culp's gravatar image

Mark Culp

Thanks, it help to us fix problem

(10 Oct '11, 13:53) HBrener
Replies hidden

If so, it's good practise to accept this answer.

Here's how to do so:)

(10 Oct '11, 16:14) Volker Barth
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Oct '11, 13:57

question was seen: 968 times

last updated: 10 Oct '11, 16:15