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



I'm trying to create an EGL page that allows users to modify batch
requests and calls the appropriate COBOL batch program.

I have created/tested the page that loads/modifies the user's request
lines. I added a submit button to call the program and am running into
an issue.

First, when a request is submitted the request lines get written to an
intermediate file to ensure the report is run with the requests at
submission time.
Then the batch program reads the intermediate file and once the requests
are loaded into the program, the records from the intermediate file are
deleted. My problem lies here.

When I execute the EGL 'add' statement to create the intermediate
records, a lock is created and the batch program cannot access those
records [access is I-O] because of the lock.

How do I get rid of this lock once all of my records are added to the file?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.