× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Probably the easiest solution is to:
change the F-spec to "if a " or "uf a",
get rid of any deletes of the file in the OCL (replace the deletes with a clear physical file),
and change the DISP-NEW to DISP-OLD.

You may also find sort specs and work files to deal with. It may be worthwhile to consider building logical file(s) and getting rid of the OCL all together.



Charles St-Laurent wrote:
Hi!

I converted a RPG/36 program to ILE (V5R1). The program is used in an OCL/36 with a LOAD instruction. In the FILE block, I have a DISP-NEW attribute for a file. With RPG/36 version of the program, everything works fine. With the RPG/ILE version of the file, I receive a CPF4102 message when the program tries to run...

Is there any limitation about using DISP-NEW with a ILE program?

Thanks in advance for your answers
Charles




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.