klophockey
Programmer
I have some code that compiles fine in ISCobol and MFCobol. However, it does not compile for ACUCobol.
Wondering if someone might have a suggestion on how I could get it coded for ACUCobol.
The compile error says "identifier expected, EXIT found"
perform until exit
read arc1 next
at end
exit perform
not at end
display counter
end-read
if (st not = "00" and
st not = "10")
move "Y" to w-err-sw
exit perform
else
continue
end-if
add 1 to counter
end-perform.
Thank you very much for your expertise
Wondering if someone might have a suggestion on how I could get it coded for ACUCobol.
The compile error says "identifier expected, EXIT found"
perform until exit
read arc1 next
at end
exit perform
not at end
display counter
end-read
if (st not = "00" and
st not = "10")
move "Y" to w-err-sw
exit perform
else
continue
end-if
add 1 to counter
end-perform.
Thank you very much for your expertise