Join Nostr
2025-01-17 08:06:13 UTC
in reply to

Joe Vinegar 🏳️‍🌈 on Nostr: ok, I'll bite and treat this as a genuine question and offer help. I'm not an expert ...

ok, I'll bite and treat this as a genuine question and offer help.
I'm not an expert in COBOL so my answer is naive. To avoid naive answers you could provide more context, e.g. explaining why you find the (explicit) error strange, and warn that the obvious answer (that I'm providing below) doesn't solve your problem.

In COBOL the IF statement is closed by END-IF, which is missing in the snippet of code you provided (and possibly in the following code).
If you happen to have the END-IF, maybe you don't have enough, in a nested IF, or you have another syntax error that closes the statement in an undesired way.

As from your profile you seem proficient in multiple programming languages, I bet your message is a form of trolling/experiment.

Finally, the reply to the prompt implied in the question:
WHY COBOL?! 😁