After implementing your above suggestions, here is what the file name/index list looks like:

File: Record Size: Last Record: Data Byte Count: 68256 Index Names: bulkconf_index, bulkcard_index, _deleted_record_index, g +iftname-number-end, giftname-org-key, _deleted_record_index, _deleted +_record_index, card_index, giftcard-hist-key, giftcard-hist-sold-key, + _deleted_record_index, giftbal_index, _deleted_record_index, pr-chec +k-index, _deleted_record_index, card_index, giftdon_number_index, gif +tdon_cat_index, giftdon_location_index, _deleted_record_index, print_ +req_index, _deleted_record_index, _deleted_record_index, ob-key, com_ +index, _deleted_record_index, chg_index1, date_index, store-index, 1, + zip_index, vzip_index, gift-number, gift-date-redeemed, _deleted_rec +ord_index, reasons-index

It looks like it is collecting all of the index names in the file, but not associating them with a file name. As far as the number in the data byte count field, I can't tell where that is coming from, as none of the numbers match it. The output I am trying to get would ultimately look like:

dfs01.out File Listing ..list of file names here.. File Name and Index List File: %demoulas_prod#d01>ccdem>files>gift-bulk Record Size: 100 Last Record: 18912 Data Byte Count: 100 Index Names: bulkconf_index, bulkcard_index, _deleted_record_index File: %demoulas_prod#d01>ccdem>files>gift-name Record Size: 177 Last Record: 54756 Data Byte Count: 6022779 Index Names: giftname-number-end, giftname-org-key, _deleted_record_in +dex etc...

TStanley
--------
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -- George Orwell

In reply to Re^2: Pulling specific data from a large text file by TStanley
in thread Pulling specific data from a large text file by TStanley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.