View Full Version: Examine Statement

LawsonTalk > Coding, Program Errors and Bugs > Examine Statement


Title: Examine Statement
Description: MF/Lawson Examine Statement


klkemp - March 15, 2007 03:07 PM (GMT)
Has anyone ever used the COBOL Examine statement within Lawson?
I've used this before in Micro Focus apps (non-Lawson), but am not having luck getting it to work in a home-grown Lawson app.

I'm trying to examine a string such as /lawson/work/somefile:
to determine what position the : is located.

Any other ideas or things you have done other than a huge IF statement?

MannieJ - March 15, 2007 05:55 PM (GMT)
I tried to use EXAMINE before and the Bizmark pre-compiler does not like it. I ended up using PERFORM by examining each char until I found what I need.



Hosted for free by InvisionFree