Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application server file formats.

Former Member
0 Likes
810

Hi,

I have one query regarding the application server file formats, when we are creating a file we give some extension (.txt, .dat),what is the use of different extensions.

When we are downloading the file from appl server using CG3Y we have two options(ASC and BIN ) what is the use of these options.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
579

.txt is a filename extension for files consisting of text usually contain very little formatting (ex: no bolding or italics). The precise definition of the .txt format is not specified, but typically matches the format accepted by the system terminal or simple text editor. Files with the .txt extension can easily be read or opened by any program that reads text and, for that reason, are considered universal (or platform independent).

The ASCII standard allows ASCII-only text files (unlike most other file types) to be freely interchanged and readable on Unix, Macintosh, Microsoft Windows, DOS, and other systems. These differ in their preferred line ending convention and their interpretation of values outside the ASCII range (their character encoding).

The BIN file is binary formated file.contains binary code degits.

Read only

Former Member
0 Likes
579

Hi,

A text file is a kind of computer file that is structured as a sequence of lines.

A .dat file is a computer file which stores data for use by a computer application or system.

A character encoding consists of a code that pairs a sequence of characters from a given character set (sometimes referred to as code page) with something else, such as a sequence of natural numbers, octets or electrical pulses, in order to facilitate the storage of text in computers and the transmission of text through telecommunication networks.

ASCII and BINARY codes are used for internal representation of data.

The major difference between ASCII and BINARY is that when ASCII mode is used then the READ DATASET stmt starts at new line each time and in case of BINARY it reads character by character ( or some characters).

Thanks and regards.