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: 964
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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