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
 

 

EBCDIC file creation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: EBCDIC file creation
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Mar 23, 2010 1:23 pm    Post subject: Reply to: EBCDIC file creation
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

Senior Member


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

PostPosted: Tue Mar 23, 2010 5:09 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 401
Location: Mumbai

PostPosted: Wed Mar 24, 2010 2:00 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics 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 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
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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