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
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
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?
This mailing list archive is Copyright 1997-2020 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