Hi Sawsheen,
On DOS you can use USER or C Libraries to call OS level calls. On windows you can call WIN32API. On Unix you can call functions from Shared Libraries of UNIX. In all cobol OS function calling mechanism is there.
On mainframes also you can call assembly routines from COBOL.
to...
hi supra94read,
READ in-file.
MOVE 0 TO TAL-CTR.
INSPECT rec-string TALLYING TAL-CTR FOR ALL "widget"
or
INSPECT rec-string TALLYING TAL-CTR FOR ALL " widget "
(if you want to find WHOLE WORDS)
IF TAL-CTR > 0
DELETE IN-FILE RECORD
END-IF.
Hi TBrackel,
Are you talking about old DOS based COBOL compiler? I guess YES. because you have mentioned the file name as COBOL.EXE in the earlier post. OR you are talking about CM-COBOL for UNIX?
please write the compiler and version. As your name conatins mf word i am assuming you are using MicroFocus Net Express.
Click Tools --> Data Tools --> Fix File Index.
Why to worry about costs. I think no individual can afford to pay such huge costs. In my case, my company pays it. So i just use it free of charge (of course in office).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.