Resolve error "File error 93 on PRNTRPT" in Spectrum COBOL

Issue

Spectrum Universal Addressing Module (UAM) and Enterprise Tax Module (ETM) experience "File Error 93 on <fileName>" within Management Console and "<REMOTE>>File error 93 on <fileName> via Spectrum wrapper.log

Below is a sample excerpt from a Spectrum wrapper.log, showing the File error 93 caused by the C6P UAM Canad PRNTRPT file:

<REMOTE>>File error 93 on PRNTRPT
<REMOTE>>COBOL error at 00016C in G1PRTRPT
<REMOTE>>Called from 025550 in C6PRPT2
<REMOTE>>Called from 00206C in C6MATCHQ
<REMOTE>>Error 7 calling C6MATCHQ: File error 93 on PRNTRPT
<REMOTE>>COBOL error at 00016C in G1PRTRPT
<REMOTE>>Called from 025550 in C6PRPT2
<REMOTE>>Called from 00206C in C6MATCHQ

 

Cause

The Spectrum Universal Addressing Module (UAM) and Enterprise Tax Module (ETM) use COBOL ACUCOBOL. 

As such, there is a chance that file permissions can affect files associated with either of the UAM or ETM Modules.

This problem can arise from running dataflows, as well as installing database resources. 

Solutions may vary based on what exactly causes the error to arise, as well as what Module and or file is causing the issue.

Ultimately, a file is being locked due to file permissions and COBOL ACUCOBOL produces that File Error 93 to indicate exactly which file is causing the issue.

This issue isn't necessarily platform dependent, however there can be examples where the File Error 93 can only be reproduced in certain environments. 

This is due to the way COBOL works in certain Operating System environments.

Resolution

UPDATED: October 19, 2017
Below is a MicroFocus Knowledge Base document that discusses the File Error 93 in detail:

File Error 93: File locked by another user

There have been several instances in which this error was experienced using the Spectrum Technology Platform.  Below are links to a couple Pitney Bowes Knowledge Base articles that describe specific examples of the COBOL 93 error:

File error 93 on GCMASTR

File error 93 when using the Database Load Utility with GeoTax TaxWare Correspondence File