IDE extension that lets you fix coding issues before they exist!
Setup is effortless and analysis is automatic for most languages
Fast, accurate analysis; enterprise scalability
If a file is defined without the USROPN statement then the natural RPG logic will deal with opening and closing it. However, files defined with USROPN, must be both explicitly OPENed and CLOSEd.
USROPN
OPEN
CLOSE
FEWPCCR1 O E PRINTER USROPN F INFDS(WSFD01) F INFSR(*PSSR) C OPEN EWPCCR1 C CLOSE *ALL
FEWPCCR1 O E PRINTER USROPN F INFDS(WSFD01) F INFSR(*PSSR) /free open EWPCCR1; close *ALL; /end-free