Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Format of the Mainframe file: ascii/binary/ebcdic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
richie

New User


Joined: 11 Jun 2005
Posts: 24

PostPosted: Tue Apr 17, 2007 2:38 pm    Post subject: Format of the Mainframe file: ascii/binary/ebcdic
Reply with quote

Hi,

How do we know the format of a MF flat file whether its ascii/binary/ebcdic.

Thanks
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 17, 2007 2:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Apr 17, 2007 2:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Tue Apr 17, 2007 5:33 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 6 Thu Mar 23, 2017 5:12 am
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us