File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Searching for a Record from a EBCDIC File ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Searching for a Record from a EBCDIC File ??" Watch "Searching for a Record from a EBCDIC File ??" New topic

Searching for a Record from a EBCDIC File ??

Badriprasad Bumbabol
Ranch Hand

Joined: Apr 19, 2001
Posts: 389
Can anyone help me out regarding the above topic ??
Daniel Dunleavy
Ranch Hand

Joined: Mar 13, 2001
Posts: 276
I used to work on mainframes, but I need more information.
Is it a flat file? Is it still on the IBM or is it now on a unix or windows platform? What are you using to do your search?
Usually if you move it from an IBM mainframe to a unix box you run it through a ebcdic/ascii conversion.
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
Ditto twice...what are you trying to accomplish? IBM has several standard tools that can easily convert the file for you when it leaves their machine. Also, if you are "searching for a record", are you yourself on the native platform? SQL works just as well in EBCDIC as it does in ASCII...
Give us some more info, maybe we can help.
I'm a soldier in the NetScape Wars...

Wait a minute, I'm trying to think of something clever to say...<p>Joel
I agree. Here's the link:
subject: Searching for a Record from a EBCDIC File ??
It's not a secret anymore!