Quantcast
Channel: The Big IBM i Blog – Nick Litten [IBM i AS400 iSeries] Software Developer
Viewing all articles
Browse latest Browse all 503

When to use EOF or FOUND in RPGLE?

$
0
0
Built-In Functions in RPGLE – %EOF & %FOUND %EOF(filename) This built-in function is used to detect end-of file, beginning of file, or subfile full conditions while performing a file operation. Rather than using indicators, we should use %EOF to check if the end of file is reached. %EOF returns ‘1‘ if end-of file, beginning of file, […]

Viewing all articles
Browse latest Browse all 503

Trending Articles