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: 10254
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
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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