Groups > Databases > Databases > Re: Are SDF & ASCII same?




Are SDF & ASCII same?

Are SDF & ASCII same?
Wed, 2 Apr 2008 12:34:03 -0700
HI,

I know generation of SDF files.
Sequential data without delimitors, zero padding etc.

Now, I have to generate ascii file with extension "txt" and delimitor
^

Each record must end with new line character. Hex values "0D" and
"0A". What does it mean?

Are SDF & ASCII same?

Thanks,
Regards,
Rachana
Post Reply
Re: Are SDF & ASCII same?
Wed, 2 Apr 2008 13:33:19 -0700
On Apr 2, 3:34 pm, Rachana <mbs.rach...@gmail.com> wrote:
> HI,
>
> I know generation of SDF files.
> Sequential data without delimitors, zero padding etc.
>
> Now, I have to generate ascii file with extension "txt" and
delimitor
> ^
>
> Each record must end with new line character. Hex values "0D"
and
> "0A". What does it mean?
>
> Are SDF & ASCII same?
>
> Thanks,
> Regards,
> Rachana

SDF as you said refers to the file format. So it is comparable to CSV
(Comma Separated Values) format
ASCII is the character coding.
I can easily imagine an SDF file using EBCDIC

If this is in a requirement specification for your project I suggest
you ask the author of that document to clarify.  But IF they specify
the end-of-line is terminated by x0d0a, then it sure looks like it
MIGHT be ASCII.  In EBCDIC x0d is carriage return just like ASCII but
line feed is x0a in ASCII while line feed is x15 in EBCDIC.

So finally to answer your question directly SDF and ASCII are NOT the
same.
Post Reply
about | contact