IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EBCDIC file creation


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prakash404

New User


Joined: 09 Mar 2010
Posts: 12
Location: chennai

PostPosted: Tue Mar 23, 2010 1:15 pm
Reply with quote

Hi Can any one tell how to create an EBCDIC file
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 23, 2010 1:23 pm
Reply with quote

thing like EBCDIC or ASCII or <binary> files do not exist as such...
the EBCDIC/ASCII/<binary> distinction is not in the data itself, but in the external representation and the significance assigned

in a file any bit pattern is valid, the rest depends on the usage
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 23, 2010 5:09 pm
Reply with quote

You need to do a better job in explaining your problem - All IBM mainframe peripherals and operating systems (except Linux on zSeries or iSeries) use EBCDIC as their inherent encoding (unless something changed) but software can translate to and from other encodings, as Enrico has said.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Mar 23, 2010 7:36 pm
Reply with quote

Be aware that newer versions of DB2 on the mainframe store some system table(s) data in Unicode, not EBCDIC.
Also, output files destined for some printers will be written in ASCII format.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Mar 23, 2010 7:58 pm
Reply with quote

Ronald Burr wrote:
Also, output files destined for some printers will be written in ASCII format.
Further explanation, please?
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Mar 23, 2010 9:19 pm
Reply with quote

Compuset software from Document Sciences, for example, produces metacode output destined for XEROX printers using ASCII notation, because ASCII is the expected input to those printers.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Wed Mar 24, 2010 2:00 am
Reply with quote

This info may be wrong (I hate it when people say that, but...): I believe that it is possible to tag files in the Unix file system with a character set or encoding mechanism so that other programs can determine what type of file they are about to process. I have no details, and today is my lazy day, so I'm not in a research mood. Whew! Only 283 more lazy days this year! icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top