Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想读取物理文件成员的最后一条记录。
您可以使用覆盖来执行此操作,但您不能使用 CL 在文件中向后读取,那么有什么意义呢?使用RPG可能更好。
但是,您可以使用以下命令在 CLP 中定位文件:
OVRDBF FILE(file name) POSITION(*NONE | *START | *END | etc.)
可以提示命令查找其他位置。我遗漏的那些与通过相对记录号或按键定位有关。