View previous topic :: View next topic
|
Author |
Message |
richie
New User
Joined: 11 Jun 2005 Posts: 24
|
|
|
|
Hi,
How do we know the format of a MF flat file whether its ascii/binary/ebcdic.
Thanks |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You need to talk to the programmer responsible for writing the program that is creating the file to get the exact file structure and attributes. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
richie,
Quote: |
How do we know the format of a MF flat file whether its ascii/binary/ebcdic |
Do we have ascii in MF? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
First of all, everything is actually in binary. This is just base 2 coding.
The question about ASCII or EBCDIC pertains to which binary (or, equivalently, hex) bit sequences represent which display characters.
IBM mainframes use the EBCDIC coding system, but one can certainly store ASCII coded data. If you do so, however, your processing programs must know to convert.
SAS has ASCII conversion format codes, so that is one way to convert should you be given some ASCII data on mainframe but need to convert to the standard EBCDIC. |
|
Back to top |
|
|
|