On Apr 2, 3:34 pm, Rachana <mbs.rach...@[EMAIL PROTECTED]
> 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 do***ent 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.
Ed


|