Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Utilities

    JRecord 0.68.2

    Download button

    No screenshots available
    Downloads: 641  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Bruce Martin | More programs
    Free To Use But Rest... / FREE
    April 26th, 2012, 11:52 GMT [view history]
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    JRecord description

    JRecord provides code to read and write files of length-based records.

    JRecord project provides code to:

    - Read and write files of length based records (both fixed length records and Length field based records).
    - Read and Write native cobol files.

    Issues

    - Code was written to support the RecordEditor not for reading Cobol Files.
    - Data is returned as a String.
    - Better Generic Cobol is needed

    File Formats

    - Length based files have 2 advantages over typical unix/windows text files:
    - When reading, you do not need to check every byte in the file for a < CR >.
    - Ideal for storing binary data - Saves the conversion cost (in 3rd generation languages like C and Cobol).

    Formats Currently Supported

    - Fixed Record Length (ie every record is the same fixed length.
    - Mainframe VB (was also used on other computers as well).
    - Mainframe VB Dump (sames as VB but also including the the Block Discriptor Word).
    - Fujitsu Cobol VB format.

    Examples

    Reading a File

    This example shows how a ByteReader is Read a Fujitsu-Cobol variable length file as a array of Bytes.

    Note: Each line in these files consist of

    4 byte Record descriptor (2 byte length in little endian binary format, 2 bytes check data).

    Line Data

    4 byte Record descriptor. Having the Record descriptor at the start and end of a record allows you to read forward and backwards in the file.

    1: AbstractByteReader tReader = new FujitsuVbByteReader();
    2: byte[] line;
    3:
    4: try {
    5: tReader.open(fileName);
    6:
    7: while ((line = tReader.read()) != null) {
    8: // TODO Do Something .....
    9: }
    10: } finally {
    11: tReader.close();
    12: }


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · This version fulfills a couple of user requests.
    · There is an option for having column names in quotes for CSV files, and an enhanced copy utility.

      


    TAGS:

    read length-based records | write length-based records | length fields records | JRecord | read | write



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM