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



Hi!

Since I converted some S/36 files to native files, some old applications
began to fail starting, with file locks but the file locks doesn't not
occurs all the times with concurrent usage of the same program on the same
files.

The program that uses the files is a RPG/36 program called by an OCL. I
didn't change anything in the OCL syntax and I didn't change anything in the
way the RPG/36 uses the file that is sometimes locked.

Before the conversion, no file lock...

There's some code samples...

// LOAD SSSS03
// FILE NAME-SCEKAP,LABEL-SC_?L'1,2'?_AP,DISP-SHR
// FILE NAME-SCEKAK,LABEL-SC_?L'1,2'?_AK,DISP-SHR
// RUN

and the F specs in the RPG/36 program:

FSCEKAP  UC  F 384 384R15AI     2 DISK
FSCEKAK  IF  F 384 384L19AI  EXTK DISK

Why does the program fail sometimes with a record lock now? The only
difference: SC_?L'1,2'?_AP is now a native DDS file...

Charles




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.