Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 965
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us