Hello
in the" NATURAL HELP UTILITY" in the editor, the screen for work file help is…
READ WORK FILE WORK-FILE-NUMBER ONCE
RECORD OPERAND1
AND SELECT OFFSET N OPERAND2 ...
FILLER NX ...
GIVING LENGTH OPERAND3
AT END OF FILE
STATEMENT ...
END-ENDFILE
STATEMENT...
END-WORK
its Confusing because if you specify “once” you dont need the “end-work”
furthermore in the Documentation - http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf/sm/readwork.htm
shouldn’t the - END-WORK be in Brackets? for the same reason
Thanks