Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: supra94red
  • Content: Threads
  • Order by date
  1. supra94red

    Program Inserting Hex Char for some reason.

    Hello all, I have an 11 byte hex field used for barcode purposes and when I come across an x'11' I get an x'00' byte inserted before it and the field now becomes a 12 byte field. I have tried defining the field as PIC X(11), PIC 9(11), PIC 9(11) COMP, and PIC 9(11) COMP-3 with no luck. PLEASE...
  2. supra94red

    String Search in Cobol

    Hello, Is there a way to scan a whole record for a keyword. For example I want to drop records with the word "widget" that can be found anywhere in a particular 100 byte field. Any help you can provide is appreciated.
  3. supra94red

    Capturing Info from Input File Name

    Hello, I trying to capture a portion of the input file name and write it to the output record. How would I go about doing this? For example, my Select Filein statement refers to filename TEST.DM123456.PROD.TXT and I want to capture DM123456 to store in a variable for my output. Thanks Dan.
  4. supra94red

    using SET to define I/O files

    Hello, I can't get my dos SET statements to work in Microfocus Cobol version4.0.28 for Windows2000. I'm trying to use a statement such as "SET FILEIN1=C:\DATA\DATAIN.TXT" and then run the executable. I can get it to work in my evaluation copy of Realia Cobol, but not MFC. In the...
  5. supra94red

    Keycounts in Cobol

    Hi was wondering if anyone has a COBOL algorithm handy that would perform a keycount on a specified field. For example, lets say I wanted a keycount on a state field in a sequential file of 1 million records and I want it to return a report that looks something like the following: State Count...

Part and Inventory Search

Back
Top