× 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.



Yes, a COBOL program will produce a level check message CPF4131 for
externally described files.

When you try to open a file whose attributes are different than they were
when you compiled the program, you will get a file status of '39' and a
message of CPF4131.

Each file has a file-level identifier that you can take a gander at by doing
a DSPFD. That file-level identifier has to match the one the program knows,
which you can see by doing a DSPPGMREF.


-----Original Message-----
From: rick.baird@xxxxxxxxxxxxxxx

Do COBOL programs produce level checks on changed files, the same as RPG
does?

we've got a mix of cobol-38, 400 and ILE programs.  some have program
defined files, some use /copy books, some use COPY DDS-ALL-FORMATS.  Some
have EXTERNALLY-DESCRIBED-KEY, some not.

obviously, the program defined files won't crap out, but what about the
ones that copy dds?

Thanks,

Rick

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.