  SORT OPENOUT error in COBOL application? 
 The Question is:
 
We have a sort error problem on vms v7.1 running on an Alpha 1000A.
 
Can anyone help please ?
 
226 params are 2118WE                           %COB-F-SORT_ERROR, Error
during SORT or MERGE on SD -SORT-E-OPENOUT, error opening !AS as
output%TRACE-F-TRACEBACK, symbolic stack dump follows  image    module
routine             line      rel PC
    abs PC      DEC$COBRTL                                 0
0000000000000E14 0000000000146E14 BHMDB226  BHMDB226  BHMDB226
841 0000000000001CB0 0000000000031CB0 BHMDB226
0 0000000000029890 0000000000039890
                                         0 FFFFFFFF8203F0D8 FFFFFFFF8203F0D8
 
 The Answer is:
 
  You have an application error of some sort, apparently within a COBOL
  application program.
 
  Please contact the maintainer of the particular application for
  further assistance.   If you are maintaining the COBOL application,
  further information on the particular call to SORT/MERGE is required.
 
  It would appear that something is preventing the COBOL call to SORT
  (or MERGE) from opening the output file or some intermediate file.
  You can try to use the (undocumented) command:
 
    SET WATCH/CLASS=ALL FILE
 
  command to track down which file is failing.  To disable this output,
  use the command:
 
    SET WATCH/CLASS=NONE FILE
 
  Available SET WATCH /CLASS keywords can include the following:
    ALL, NONE, MAJOR_FUNCTION, CONTROL_FUNCTION, ATTRIBUTES,
    DIRECTORY_OPERATIONS, DUMP, QUOTA_OPERATIONS and PROTECTION.
 
  CMKRNL or CMEXEC privilege is required for this command.
 
 
