?? RIGHT := 110 ??
?? NEWTITLE := 'MANAGE_FIELD_CHANGES Utility: QUIT Subcommand.' ??
MODULE qcm$quit_manfc;

{ PURPOSE:
{   This module contains the command interface to end an MANFC
{   utility session.
{
{ DESIGN:
{   The compiled module resides in RAF$LIBRARY.
{
{ NOTES:
{

?? NEWTITLE := 'Global Declarations Referenced by This Module', EJECT ??
*copyc clp$end_include
*copyc clp$evaluate_parameters
*copyc qcv$manfc_utility_name

?? TITLE := 'Global Declarations Declared by This Module', EJECT ??

?? TITLE := '[XDCL] qcp$quit_manfc;', EJECT ??

{ PURPOSE:
{   This command interface exits an MANFC utility session.
{
{ DESIGN:
{   The utility termination follows standard utility design.
{
{ NOTES:
{

  PROCEDURE [XDCL] qcp$quit_manfc
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);


{ PROCEDURE qui_pdt (
{   status)


    VAR
      pdt: [STATIC, READ, cls$declaration_section] record
        header: clt$pdt_header,
        names: array [1 .. 1] of clt$pdt_parameter_name,
        parameters: array [1 .. 1] of clt$pdt_parameter,
        type1: record
          header: clt$type_specification_header,
        recend,
      recend := [[1, [88, 5, 3, 7, 43, 49, 918], clc$command, 1, 1, 0, 0, 0, 0, 1, 'QUI_PDT'],
            [['STATUS                         ', clc$nominal_entry, 1]], [
{ PARAMETER 1
      [1, clc$normal_usage_entry, clc$non_secure_parameter, $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_reference, clc$immediate_evaluation, clc$standard_parameter_checking, 3,
            clc$optional_parameter, 0, 0]],
{ PARAMETER 1
      [[1, 0, clc$status_type]]];


    CONST
      p$status = 1;

    VAR
      pvt: array [1 .. 1] of clt$parameter_value;


    status.normal := TRUE;

    clp$evaluate_parameters (parameter_list, #SEQ (pdt), NIL, ^pvt, status);
    IF NOT status.normal THEN
      RETURN;
    IFEND;

    clp$end_include (qcv$manfc_utility_name, status);
    IF NOT status.normal THEN
      RETURN;
    IFEND;

  PROCEND qcp$quit_manfc;
MODEND qcm$quit_manfc;
