Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Cobol EXAMINE statement
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
NonnieBear1776
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5161
People Online:
Visitors:
280
Members:
0
Total:
280
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
Cobol EXAMINE statement
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Karl Kemp
Basic Member
Posts: 20
3/15/2007 2:13 PM
Has anyone ever used the Micro Focus COBOL Examine statement within Lawson?
I have used this in non-Lawson apps with success, but can't seem to get it to work in Lawson.
Maybe you have other ideas.
Here is what I am needing to do.
I'm reading a file with records such as the following
rec 1 = /lawson/work:
rec 2 = /lawson/obj:
I'm needing to determine where the ":" character is on each individual record. Thus I was going to use the EXAMINE TALLYING UNTIL statement.
Thoughts?
John Henley
Senior Member
Posts: 3348
3/15/2007 4:06 PM
Karl, the 'TALLYING' construct is invalidated by Lawson's "bismark" pre-compiler.
The workaround is to use PERFORM ... VARYING ... UNTIL ...
You are not authorized to post a reply.