End View Creation (QteEndViewCreation) API


  Required Parameter Group:


  Default Public Authority: *USE

  Service Program: QTECRTVS

  Threadsafe: No

The End View Creation (QteEndViewCreation) API is used by a processor when all debug data views have been created. At that time, views are written to the output IBM i® library file member or IBM i integrated file system file (if any) specified on the Start View Creation API. This End View Creation API should not be called if the view is not complete (for example, if a compiler that is creating the view fails the compilation).

If the output file specified on the Start View Creation API is an IBM i integrated file system file, the End View Creation API will create a debug view integrated file system file. The debug view integrated file system file will be used to hold debug view information. The debug view integrated file system file will have the same name as the integrated file system output file with the extension of ".dbgvwinfo" appended at the end.


Authorities

Authority Required
The authorities required are dependent on the output file specified on the Start View Creation API.

  • *OBJOPR + *ADD authority to the output file
  • *EXECUTE authority to the output file library
  • *X authority to each directory in the path of the debug view file
  • *WX authority to the parent directory of the debug view file

Required Parameter

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V3R1

[ Back to top | Debugger APIs | APIs by category ]