Re: How do you search the word in a sequential file ?



Assuming that this was NOT a homework assignment, I suspect that I agree with
the spirit of Binyamin's suggestion. COBOL does have some "string" handling
facilities and you CAN use INSPECT with it, but if you are going to be doing
much "text manipulation" in your business/application, then there is PROBABLY a
better tool than COBOL. (I am not saying you can't do it in COBOL, just that
there are better tools for doing it - IMHO)

--
Bill Klein
wmklein <at> ix.netcom.com
"Binyamin Dissen" <postingid@xxxxxxxxxxxxxxxxxx> wrote in message
news:02go72dqk1afv6b7ds67707kbfconm6gvg@xxxxxxxxxx
On 30 May 2006 03:13:04 -0700 "badilus" <gkolanci@xxxxxxxxx> wrote:

:> I have a sequential file. I want to search the word in a record.How
:>can i do ?

Use REXX or Perl.

--
Binyamin Dissen <bdissen@xxxxxxxxxxxxxxxxxx>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.


.



Relevant Pages

  • Re: Mainframe programming vs the Web
    ... I believe that I wrote it in assembler, not COBOL - but it could have ... I very rarely bother responding to challenge/response systems, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Sha-1 on cobol2
    ... Any sugestions? ... Does COBOL have shift instructions? ... I very rarely bother responding to challenge/response systems, ...
    (comp.lang.cobol)
  • Re: Tracing paragraph Names in Pro Cobol
    ... :>any variable or array. ... Depends if you COBOL supports USE FOR DEBUGGING. ... I very rarely bother responding to challenge/response systems, ...
    (comp.lang.cobol)
  • Re: Interpreting a COBOL numeric field in a raw, fixed width TXT file
    ... :>> The representation is valid for all forms of COBOL wherein the PIC used is ... :>Those characters will certainly be invalid for the ASCII compilers that ... MOVE -991 TO SIGNED-FIELD ... I very rarely bother responding to challenge/response systems, ...
    (comp.lang.cobol)
  • Re: Command-Line / Environment variable acess (new thread)
    ... "languages" already provide the facility that you are looking for (and/or the ... I am a GREAT believer in "fixing" any problems with COBOL using facilities ... OF COURSE, this does not "solve" Roger's portability problem, but if the ...
    (comp.lang.cobol)