VMS Help — RDML72 Statements Rel Operators, Examples Pascal Example
program relation (input,output);
DATABASE PERS = FILENAME 'PERSONNEL';
begin
READY PERS;
START_TRANSACTION READ_ONLY;
FOR E IN EMPLOYEES WITH E.EMPLOYEE_ID LE '00400'
writeln (E.EMPLOYEE_ID);
END_FOR;
COMMIT;
FINISH;
end.