How to identify the Ascii , Ebcdic formats !how to write the DMl for same ..please explain ..

Questions by sekhu_da   answers by sekhu_da

Showing Answers 1 - 0 of 0 Answers

Vishal Aggarwal

  • Nov 30th, 2006
 

You can type 'ebcdic' or 'ascii' in dml just before "record" ... and dml will define the data accordingly.

  Was this answer useful?  Yes

Ascii vs. Ebcdic

When you view  your data does it have different charaters inbetween that do not look ASCII?  If so, then in your record format type the following:

ebcdic record

record details add them

end;

view your data again. Be sure to check for '/A0'  this is an ebcidc character which means endline. 

  Was this answer useful?  Yes

For ASCII formats write the DML as below.

cust_id decimal(8)...

For EBCIDIC formats write the DML as below.

ebcidic cust_id decimal(8)...

The delimiters varies in each and every ebcidic formats send from source files.  But Its generally hexadecimal embedded.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions