?? NEWTITLE := 'NOS/VE Job Scheduling : Controls Administration' ??
MODULE jmm$administer_controls;

{ PURPOSE:
{   This module defines the commands that make up the subutility of
{   ADMINISTER_SCHEDULING called ADMINISTER_CONTROLS.  This utility
{   manages the global controls for one or more mainframes on the
{   scheduling profile.  The procedures in this module allow the
{   administrator to create, change, delete or display a set of
{   controls for a mainframe on/from the scheduling profile.
{
{ DESIGN:
{   This module mainly provides the framework for the utility.  It
{   contains the PDTs and code for the subutility and it's subcommands.
{
{ NOTES:
{   Most of the work of creating, deleting, changing, and displaying is
{   done in routines which are generalized to handle all types of objects.
{   These routines can be found in the modules JMM$ADMINISTER_DISPLAY and
{   JMM$ADMINISTER_OBJECTS.

?? NEWTITLE := 'Global Declarations Referenced by This Module', EJECT ??
?? PUSH (LISTEXT := ON) ??
*copyc jmt$job_scheduler_table
?? POP ??
*copyc clp$begin_utility
*copyc clp$end_utility
*copyc clp$end_scan_command_file
*copyc clp$include_file
*copyc clp$evaluate_parameters
*copyc jmp$add_object
*copyc jmp$change_object
*copyc jmp$delete_object
*copyc jmp$get_attributes
*copyc jmp$set_default_attributes

*copyc jmv$current_profile_level

  CONST
    milliseconds_per_second = 1000,
    microseconds_per_second = milliseconds_per_second * 1000;

  CONST
    lowest_idle_disp_q_time = jmc$lowest_idle_disp_q_time DIV
          microseconds_per_second,
    highest_idle_disp_q_time = jmc$highest_idle_disp_q_time DIV
          microseconds_per_second;

  VAR
    command_file: amt$local_file_name := clc$current_command_input,
    utility_name: string (31) := 'ADMINISTER_CONTROLS            ',
    utility_attributes: array [1 .. 2] of clt$utility_attribute :=
          [[clc$utility_command_table, * ], [clc$utility_prompt, [2, 'AC']]];

{ table command_table
{ command (add_job_category_entry add_job_category_entries addjce) ..
{   jmp$_add_job_category_entry
{ command (create_controls crec) jmp$_create_controls
{ command (change_attribute change_attributes chaa) jmp$_change_attribute
{ command (display_attribute display_attributes disa) jmp$_display_controls ..
{   cm=xref
{ command (delete_controls delc) jmp$_delete_controls
{ command (quit qui) jmp$_quit
{ command (delete_job_category_entry delete_job_category_entries deljce) ..
{   jmp$_delete_job_category_entry
{ tablend

?? PUSH (LISTEXT := ON) ??

  VAR
    command_table: [STATIC, READ] ^clt$command_table := ^command_table_entries,

    command_table_entries: [STATIC, READ] array [1 .. 18] of
          clt$command_table_entry := [
          {} ['ADDJCE                         ', clc$abbreviation_entry,
          clc$advertised_entry, 1, clc$automatically_log, clc$linked_call,
          ^jmp$_add_job_category_entry],
          {} ['ADD_JOB_CATEGORY_ENTRIES       ', clc$alias_entry,
          clc$advertised_entry, 1, clc$automatically_log, clc$linked_call,
          ^jmp$_add_job_category_entry],
          {} ['ADD_JOB_CATEGORY_ENTRY         ', clc$nominal_entry,
          clc$advertised_entry, 1, clc$automatically_log, clc$linked_call,
          ^jmp$_add_job_category_entry],
          {} ['CHAA                           ', clc$abbreviation_entry,
          clc$advertised_entry, 3, clc$automatically_log, clc$linked_call,
          ^jmp$_change_attribute],
          {} ['CHANGE_ATTRIBUTE               ', clc$nominal_entry,
          clc$advertised_entry, 3, clc$automatically_log, clc$linked_call,
          ^jmp$_change_attribute],
          {} ['CHANGE_ATTRIBUTES              ', clc$alias_entry,
          clc$advertised_entry, 3, clc$automatically_log, clc$linked_call,
          ^jmp$_change_attribute],
          {} ['CREATE_CONTROLS                ', clc$nominal_entry,
          clc$advertised_entry, 2, clc$automatically_log, clc$linked_call,
          ^jmp$_create_controls],
          {} ['CREC                           ', clc$abbreviation_entry,
          clc$advertised_entry, 2, clc$automatically_log, clc$linked_call,
          ^jmp$_create_controls],
          {} ['DELC                           ', clc$abbreviation_entry,
          clc$advertised_entry, 5, clc$automatically_log, clc$linked_call,
          ^jmp$_delete_controls],
          {} ['DELETE_CONTROLS                ', clc$nominal_entry,
          clc$advertised_entry, 5, clc$automatically_log, clc$linked_call,
          ^jmp$_delete_controls],
          {} ['DELETE_JOB_CATEGORY_ENTRIES    ', clc$alias_entry,
          clc$advertised_entry, 7, clc$automatically_log, clc$linked_call,
          ^jmp$_delete_job_category_entry],
          {} ['DELETE_JOB_CATEGORY_ENTRY      ', clc$nominal_entry,
          clc$advertised_entry, 7, clc$automatically_log, clc$linked_call,
          ^jmp$_delete_job_category_entry],
          {} ['DELJCE                         ', clc$abbreviation_entry,
          clc$advertised_entry, 7, clc$automatically_log, clc$linked_call,
          ^jmp$_delete_job_category_entry],
          {} ['DISA                           ', clc$abbreviation_entry,
          clc$advertised_entry, 4, clc$automatically_log, clc$linked_call,
          ^jmp$_display_controls],
          {} ['DISPLAY_ATTRIBUTE              ', clc$nominal_entry,
          clc$advertised_entry, 4, clc$automatically_log, clc$linked_call,
          ^jmp$_display_controls],
          {} ['DISPLAY_ATTRIBUTES             ', clc$alias_entry,
          clc$advertised_entry, 4, clc$automatically_log, clc$linked_call,
          ^jmp$_display_controls],
          {} ['QUI                            ', clc$abbreviation_entry,
          clc$advertised_entry, 6, clc$automatically_log, clc$linked_call,
          ^jmp$_quit],
          {} ['QUIT                           ', clc$nominal_entry,
          clc$advertised_entry, 6, clc$automatically_log, clc$linked_call,
          ^jmp$_quit]];

  PROCEDURE [XREF] jmp$_display_controls
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

?? POP ??
?? TITLE := 'jmp$_add_job_category_entry ', EJECT ??

{ PURPOSE:
{   Processes the ADD_JOB_CATEGORY_ENTRY command.
{
{ DESIGN:
{   Determines the controls to update, fetches the job categories to add
{   as an attribute list and updates the controls.
{
{ NOTES:
{   See JMM$ADMINISTER_OBJECTS.

  PROCEDURE jmp$_add_job_category_entry
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_addjce) add_job_category_entry (
{   mainframe_name, mainframe_names, mn, ..
{     controls_name, controls_names, cn: any of
{       key all keyend
{       list of name
{     anyend = $current_mainframe
{   initiation_excluded_categories, iec: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   initiation_required_categories, irc: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   validation_excluded_categories, vec: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   validation_required_categories, vrc: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   status)

?? PUSH (LISTEXT := ON) ??

    VAR
      pdt: [STATIC, READ, cls$declaration_section] record
        header: clt$pdt_header,
        names: array [1 .. 15] of clt$pdt_parameter_name,
        parameters: array [1 .. 6] of clt$pdt_parameter,
        type1: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
          default_value: string (18),
        recend,
        type2: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type3: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type4: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type5: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type6: record
          header: clt$type_specification_header,
        recend,
      recend := [[1, [88, 9, 26, 11, 27, 11, 554], clc$command, 15, 6, 0, 0, 0,
            0, 6, 'OSM$ADMC_ADDJCE'], [['CN                             ',
            clc$abbreviation_entry, 1], ['CONTROLS_NAME                  ',
            clc$alias_entry, 1], ['CONTROLS_NAMES                 ',
            clc$alias_entry, 1], ['IEC                            ',
            clc$abbreviation_entry, 2], ['INITIATION_EXCLUDED_CATEGORIES ',
            clc$nominal_entry, 2], ['INITIATION_REQUIRED_CATEGORIES ',
            clc$nominal_entry, 3], ['IRC                            ',
            clc$abbreviation_entry, 3], ['MAINFRAME_NAME                 ',
            clc$nominal_entry, 1], ['MAINFRAME_NAMES                ',
            clc$alias_entry, 1], ['MN                             ',
            clc$alias_entry, 1], ['STATUS                         ',
            clc$nominal_entry, 6], ['VALIDATION_EXCLUDED_CATEGORIES ',
            clc$nominal_entry, 4], ['VALIDATION_REQUIRED_CATEGORIES ',
            clc$nominal_entry, 5], ['VEC                            ',
            clc$abbreviation_entry, 4], ['VRC                            ',
            clc$abbreviation_entry, 5]], [

{ PARAMETER 1

      [8, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name,
            clc$specify_positionally], clc$pass_by_value,
            clc$immediate_evaluation, clc$standard_parameter_checking, 85,
            clc$optional_default_parameter, 0, 18],

{ PARAMETER 2

      [5, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 3

      [6, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 4

      [12, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 5

      [13, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 6

      [11, 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$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]],
            '$current_mainframe'],

{ PARAMETER 2

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 3

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 4

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 5

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 6

      [[1, 0, clc$status_type]]];

?? POP ??

    CONST
      p$mainframe_name = 1,
      p$initiation_excluded_categorie = 2 {INITIATION_EXCLUDED_CATEGORIES} ,
      p$initiation_required_categorie = 3 {INITIATION_REQUIRED_CATEGORIES} ,
      p$validation_excluded_categorie = 4 {VALIDATION_EXCLUDED_CATEGORIES} ,
      p$validation_required_categorie = 5 {VALIDATION_REQUIRED_CATEGORIES} ,
      p$status = 6;

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

    VAR
      the_attributes: jmt$object_attribute;

    status.normal := TRUE;

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

    jmp$get_attributes (jmc$profile_controls, #SEQ (pdt), ^pvt, the_attributes,
          status);
    IF status.normal THEN
      jmp$change_object (jmc$profile_controls, pvt [p$mainframe_name].value^,
            the_attributes, jmc$add_list_items, status);
    IFEND;

  PROCEND jmp$_add_job_category_entry;
?? TITLE := 'jmp$_change_attribute ', EJECT ??

{ PURPOSE:
{   Processes the CHANGE_ATTRIBUTE command.
{
{ DESIGN:
{   Determines the controls to update, fetches the attributes that are
{   changing and updates them.
{
{ NOTES:
{   See JMM$ADMINISTER_OBJECTS.

  PROCEDURE jmp$_change_attribute
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_chaa) change_attribute (
{   mainframe_name, mainframe_names, mn, ..
{     controls_name, controls_names, cn: any of
{       key all keyend
{       list of name
{     anyend = $current_mainframe
{   abbreviation, a: (by_name) any of
{       key default none keyend
{       name
{     anyend = $optional
{   cpu_dispatching_allocation, cda: (by_name) any of
{       key default keyend
{       list 1..8 of record
{         dispatching_priority: range of any of
{           integer 1..8
{           key p1 p2 p3 p4 p5 p6 p7 p8 keyend
{         anyend
{         minimum_percent: any of
{           key default keyend
{           integer 0..100
{         anyend = $optional
{         maximum_percent: any of
{           key default keyend
{           integer 0..100
{         anyend = $optional
{         enforce_maximum: any of
{           key default keyend
{           boolean
{         anyend = $optional
{       recend
{     anyend = $optional
{   cpu_dispatching_interval, cdi: (by_name) any of
{       key default keyend
{       integer 1..600
{     anyend = $optional
{   cpu_quantum_time, cqt: (by_name) any of
{       key default keyend
{       integer 1000..100000
{     anyend = $optional
{   dual_state_priority_control, dspc: (by_name) any of
{       key default keyend
{       list 1..10 of record
{         dispatching_priority: range of any of
{           integer 1..10
{           key p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 keyend
{         anyend
{         dual_state_priority: any of
{           key default keyend
{           integer 1..10
{         anyend = $optional
{         subpriority: any of
{           key default keyend
{           integer 1..15
{         anyend = $optional
{       recend
{     anyend = $optional
{   enable_job_leveling, ejl: (by_name) any of
{       key default keyend
{       boolean
{     anyend = $optional
{   idle_dispatching_queue_time, idqt: (by_name) any of
{       key default, unlimited keyend
{       integer lowest_idle_disp_q_time..highest_idle_disp_q_time
{     anyend = $optional
{   initiation_excluded_categories, iec: (by_name) any of
{       key default, all, none keyend
{       list of name
{     anyend = $optional
{   initiation_required_categories, irc: (by_name) any of
{       key default, all, none keyend
{       list of name
{     anyend = $optional
{   job_leveling_interval, jli: (by_name) any of
{       key default keyend
{       integer jmc$lowest_service_interval..jmc$highest_service_interval
{     anyend = $optional
{   job_leveling_priority_bias, jlpb: (by_name) any of
{       key default keyend
{       integer jmc$lowest_priority_bias..jmc$highest_priority_bias
{     anyend = $optional
{   scheduling_memory_levels, sml: (by_name) any of
{       key default keyend
{       record
{         target: any of
{           key default keyend
{         integer jmc$lowest_sched_memory_level..jmc$highest_sched_memory_level
{         anyend = $optional
{         thrashing: any of
{           key default keyend
{         integer jmc$lowest_sched_memory_level..jmc$highest_sched_memory_level
{         anyend = $optional
{       recend
{     anyend = $optional
{   service_calculation_interval, sci: (by_name) any of
{       key default keyend
{       integer jmc$lowest_service_interval..jmc$highest_service_interval
{     anyend = $optional
{   validation_excluded_categories, vec: (by_name) any of
{       key default, all, none keyend
{       list of name
{     anyend = $optional
{   validation_required_categories, vrc: (by_name) any of
{       key default, all, none keyend
{       list of name
{     anyend = $optional
{   status)

?? PUSH (LISTEXT := ON) ??
?? FMT (FORMAT := OFF) ??

  VAR
    pdt: [STATIC, READ, cls$declaration_section] record
      header: clt$pdt_header,
      names: array [1 .. 37] of clt$pdt_parameter_name,
      parameters: array [1 .. 17] of clt$pdt_parameter,
      type1: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
        default_value: string (18),
      recend,
      type2: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 2] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$name_type_qualifier,
        recend,
      recend,
      type3: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$record_type_qualifier,
            field_spec_1: clt$field_specification,
            element_type_spec_1: record
              header: clt$type_specification_header,
              qualifier: clt$range_type_qualifier,
              element_type_spec: record
                header: clt$type_specification_header,
                qualifier: clt$union_type_qualifier,
                type_size_1: clt$type_specification_size,
                element_type_spec_1: record
                  header: clt$type_specification_header,
                  qualifier: clt$integer_type_qualifier,
                recend,
                type_size_2: clt$type_specification_size,
                element_type_spec_2: record
                  header: clt$type_specification_header,
                  qualifier: clt$keyword_type_qualifier,
                  keyword_specs: array [1 .. 8] of clt$keyword_specification,
                recend,
              recend,
            recend,
            field_spec_2: clt$field_specification,
            element_type_spec_2: record
              header: clt$type_specification_header,
              qualifier: clt$union_type_qualifier,
              type_size_1: clt$type_specification_size,
              element_type_spec_1: record
                header: clt$type_specification_header,
                qualifier: clt$keyword_type_qualifier,
                keyword_specs: array [1 .. 1] of clt$keyword_specification,
              recend,
              type_size_2: clt$type_specification_size,
              element_type_spec_2: record
                header: clt$type_specification_header,
                qualifier: clt$integer_type_qualifier,
              recend,
            recend,
            field_spec_3: clt$field_specification,
            element_type_spec_3: record
              header: clt$type_specification_header,
              qualifier: clt$union_type_qualifier,
              type_size_1: clt$type_specification_size,
              element_type_spec_1: record
                header: clt$type_specification_header,
                qualifier: clt$keyword_type_qualifier,
                keyword_specs: array [1 .. 1] of clt$keyword_specification,
              recend,
              type_size_2: clt$type_specification_size,
              element_type_spec_2: record
                header: clt$type_specification_header,
                qualifier: clt$integer_type_qualifier,
              recend,
            recend,
            field_spec_4: clt$field_specification,
            element_type_spec_4: record
              header: clt$type_specification_header,
              qualifier: clt$union_type_qualifier,
              type_size_1: clt$type_specification_size,
              element_type_spec_1: record
                header: clt$type_specification_header,
                qualifier: clt$keyword_type_qualifier,
                keyword_specs: array [1 .. 1] of clt$keyword_specification,
              recend,
              type_size_2: clt$type_specification_size,
              element_type_spec_2: record
                header: clt$type_specification_header,
              recend,
            recend,
          recend,
        recend,
      recend,
      type4: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type5: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type6: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$record_type_qualifier,
            field_spec_1: clt$field_specification,
            element_type_spec_1: record
              header: clt$type_specification_header,
              qualifier: clt$range_type_qualifier,
              element_type_spec: record
                header: clt$type_specification_header,
                qualifier: clt$union_type_qualifier,
                type_size_1: clt$type_specification_size,
                element_type_spec_1: record
                  header: clt$type_specification_header,
                  qualifier: clt$integer_type_qualifier,
                recend,
                type_size_2: clt$type_specification_size,
                element_type_spec_2: record
                  header: clt$type_specification_header,
                  qualifier: clt$keyword_type_qualifier,
                  keyword_specs: array [1 .. 10] of clt$keyword_specification,
                recend,
              recend,
            recend,
            field_spec_2: clt$field_specification,
            element_type_spec_2: record
              header: clt$type_specification_header,
              qualifier: clt$union_type_qualifier,
              type_size_1: clt$type_specification_size,
              element_type_spec_1: record
                header: clt$type_specification_header,
                qualifier: clt$keyword_type_qualifier,
                keyword_specs: array [1 .. 1] of clt$keyword_specification,
              recend,
              type_size_2: clt$type_specification_size,
              element_type_spec_2: record
                header: clt$type_specification_header,
                qualifier: clt$integer_type_qualifier,
              recend,
            recend,
            field_spec_3: clt$field_specification,
            element_type_spec_3: record
              header: clt$type_specification_header,
              qualifier: clt$union_type_qualifier,
              type_size_1: clt$type_specification_size,
              element_type_spec_1: record
                header: clt$type_specification_header,
                qualifier: clt$keyword_type_qualifier,
                keyword_specs: array [1 .. 1] of clt$keyword_specification,
              recend,
              type_size_2: clt$type_specification_size,
              element_type_spec_2: record
                header: clt$type_specification_header,
                qualifier: clt$integer_type_qualifier,
              recend,
            recend,
          recend,
        recend,
      recend,
      type7: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
        recend,
      recend,
      type8: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 2] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type9: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 3] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
      recend,
      type10: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 3] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
      recend,
      type11: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type12: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type13: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$record_type_qualifier,
          field_spec_1: clt$field_specification,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$union_type_qualifier,
            type_size_1: clt$type_specification_size,
            element_type_spec_1: record
              header: clt$type_specification_header,
              qualifier: clt$keyword_type_qualifier,
              keyword_specs: array [1 .. 1] of clt$keyword_specification,
            recend,
            type_size_2: clt$type_specification_size,
            element_type_spec_2: record
              header: clt$type_specification_header,
              qualifier: clt$integer_type_qualifier,
            recend,
          recend,
          field_spec_2: clt$field_specification,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$union_type_qualifier,
            type_size_1: clt$type_specification_size,
            element_type_spec_1: record
              header: clt$type_specification_header,
              qualifier: clt$keyword_type_qualifier,
              keyword_specs: array [1 .. 1] of clt$keyword_specification,
            recend,
            type_size_2: clt$type_specification_size,
            element_type_spec_2: record
              header: clt$type_specification_header,
              qualifier: clt$integer_type_qualifier,
            recend,
          recend,
        recend,
      recend,
      type14: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 1] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$integer_type_qualifier,
        recend,
      recend,
      type15: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 3] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
      recend,
      type16: record
        header: clt$type_specification_header,
        qualifier: clt$union_type_qualifier,
        type_size_1: clt$type_specification_size,
        element_type_spec_1: record
          header: clt$type_specification_header,
          qualifier: clt$keyword_type_qualifier,
          keyword_specs: array [1 .. 3] of clt$keyword_specification,
        recend,
        type_size_2: clt$type_specification_size,
        element_type_spec_2: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
      recend,
      type17: record
        header: clt$type_specification_header,
      recend,
    recend := [
    [1,
    [89, 2, 15, 15, 35, 26, 603],
    clc$command, 37, 17, 0, 0, 0, 0, 17, 'OSM$ADMC_CHAA'], [
    ['A                              ',clc$abbreviation_entry, 2],
    ['ABBREVIATION                   ',clc$nominal_entry, 2],
    ['CDA                            ',clc$abbreviation_entry, 3],
    ['CDI                            ',clc$abbreviation_entry, 4],
    ['CN                             ',clc$abbreviation_entry, 1],
    ['CONTROLS_NAME                  ',clc$alias_entry, 1],
    ['CONTROLS_NAMES                 ',clc$alias_entry, 1],
    ['CPU_DISPATCHING_ALLOCATION     ',clc$nominal_entry, 3],
    ['CPU_DISPATCHING_INTERVAL       ',clc$nominal_entry, 4],
    ['CPU_QUANTUM_TIME               ',clc$nominal_entry, 5],
    ['CQT                            ',clc$abbreviation_entry, 5],
    ['DSPC                           ',clc$abbreviation_entry, 6],
    ['DUAL_STATE_PRIORITY_CONTROL    ',clc$nominal_entry, 6],
    ['EJL                            ',clc$abbreviation_entry, 7],
    ['ENABLE_JOB_LEVELING            ',clc$nominal_entry, 7],
    ['IDLE_DISPATCHING_QUEUE_TIME    ',clc$nominal_entry, 8],
    ['IDQT                           ',clc$abbreviation_entry, 8],
    ['IEC                            ',clc$abbreviation_entry, 9],
    ['INITIATION_EXCLUDED_CATEGORIES ',clc$nominal_entry, 9],
    ['INITIATION_REQUIRED_CATEGORIES ',clc$nominal_entry, 10],
    ['IRC                            ',clc$abbreviation_entry, 10],
    ['JLI                            ',clc$abbreviation_entry, 11],
    ['JLPB                           ',clc$abbreviation_entry, 12],
    ['JOB_LEVELING_INTERVAL          ',clc$nominal_entry, 11],
    ['JOB_LEVELING_PRIORITY_BIAS     ',clc$nominal_entry, 12],
    ['MAINFRAME_NAME                 ',clc$nominal_entry, 1],
    ['MAINFRAME_NAMES                ',clc$alias_entry, 1],
    ['MN                             ',clc$alias_entry, 1],
    ['SCHEDULING_MEMORY_LEVELS       ',clc$nominal_entry, 13],
    ['SCI                            ',clc$abbreviation_entry, 14],
    ['SERVICE_CALCULATION_INTERVAL   ',clc$nominal_entry, 14],
    ['SML                            ',clc$abbreviation_entry, 13],
    ['STATUS                         ',clc$nominal_entry, 17],
    ['VALIDATION_EXCLUDED_CATEGORIES ',clc$nominal_entry, 15],
    ['VALIDATION_REQUIRED_CATEGORIES ',clc$nominal_entry, 16],
    ['VEC                            ',clc$abbreviation_entry, 15],
    ['VRC                            ',clc$abbreviation_entry, 16]],
    [
{ PARAMETER 1
    [26, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name, clc$specify_positionally],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 85, clc$optional_default_parameter, 0, 18],
{ PARAMETER 2
    [2, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 106, clc$optional_parameter, 0, 0],
{ PARAMETER 3
    [8, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 816, clc$optional_parameter, 0, 0],
{ PARAMETER 4
    [9, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 84, clc$optional_parameter, 0, 0],
{ PARAMETER 5
    [10, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 84, clc$optional_parameter, 0, 0],
{ PARAMETER 6
    [13, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 787, clc$optional_parameter, 0, 0],
{ PARAMETER 7
    [15, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 67, clc$optional_parameter, 0, 0],
{ PARAMETER 8
    [16, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 121, clc$optional_parameter, 0, 0],
{ PARAMETER 9
    [19, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 159, clc$optional_parameter, 0, 0],
{ PARAMETER 10
    [20, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 159, clc$optional_parameter, 0, 0],
{ PARAMETER 11
    [24, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 84, clc$optional_parameter, 0, 0],
{ PARAMETER 12
    [25, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 84, clc$optional_parameter, 0, 0],
{ PARAMETER 13
    [29, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 311, clc$optional_parameter, 0, 0],
{ PARAMETER 14
    [31, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 84, clc$optional_parameter, 0, 0],
{ PARAMETER 15
    [34, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 159, clc$optional_parameter, 0, 0],
{ PARAMETER 16
    [35, clc$normal_usage_entry, clc$non_secure_parameter,
    $clt$parameter_spec_methods[clc$specify_by_name],
    clc$pass_by_value, clc$immediate_evaluation,
  clc$standard_parameter_checking, 159, clc$optional_parameter, 0, 0],
{ PARAMETER 17
    [33, 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$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['ALL                            ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    21, [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
        [[1, 0, clc$name_type], [1, osc$max_name_size]]
      ]
    ,
    '$current_mainframe'],
{ PARAMETER 2
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$name_type],
    FALSE, 2],
    81, [[1, 0, clc$keyword_type], [2], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['NONE                           ', clc$nominal_entry,
  clc$normal_usage_entry, 2]]
      ],
    5, [[1, 0, clc$name_type], [1, osc$max_name_size]]
    ],
{ PARAMETER 3
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    752, [[1, 0, clc$list_type], [736, 1, 8, FALSE],
        [[1, 0, clc$record_type], [4],
        ['DISPATCHING_PRIORITY           ', clc$required_field, 350], [[1, 0,
  clc$range_type], [343],
            [[1, 0, clc$union_type], [[clc$integer_type,
            clc$keyword_type],
            FALSE, 2],
            20, [[1, 0, clc$integer_type], [1, 8, 10]],
            303, [[1, 0, clc$keyword_type], [8], [
              ['P1                             ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
              ['P2                             ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
              ['P3                             ', clc$nominal_entry,
  clc$normal_usage_entry, 3],
              ['P4                             ', clc$nominal_entry,
  clc$normal_usage_entry, 4],
              ['P5                             ', clc$nominal_entry,
  clc$normal_usage_entry, 5],
              ['P6                             ', clc$nominal_entry,
  clc$normal_usage_entry, 6],
              ['P7                             ', clc$nominal_entry,
  clc$normal_usage_entry, 7],
              ['P8                             ', clc$nominal_entry,
  clc$normal_usage_entry, 8]]
              ]
            ]
          ],
        ['MINIMUM_PERCENT                ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
          FALSE, 2],
          44, [[1, 0, clc$keyword_type], [1], [
            ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
            ],
          20, [[1, 0, clc$integer_type], [0, 100, 10]]
          ],
        ['MAXIMUM_PERCENT                ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
          FALSE, 2],
          44, [[1, 0, clc$keyword_type], [1], [
            ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
            ],
          20, [[1, 0, clc$integer_type], [0, 100, 10]]
          ],
        ['ENFORCE_MAXIMUM                ', clc$optional_field, 67], [[1, 0,
  clc$union_type], [[clc$boolean_type, clc$keyword_type],
          FALSE, 2],
          44, [[1, 0, clc$keyword_type], [1], [
            ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
            ],
          3, [[1, 0, clc$boolean_type]]
          ]
        ]
      ]
    ],
{ PARAMETER 4
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    20, [[1, 0, clc$integer_type], [1, 600, 10]]
    ],
{ PARAMETER 5
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    20, [[1, 0, clc$integer_type], [1000, 100000, 10]]
    ],
{ PARAMETER 6
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    723, [[1, 0, clc$list_type], [707, 1, 10, FALSE],
        [[1, 0, clc$record_type], [3],
        ['DISPATCHING_PRIORITY           ', clc$required_field, 424], [[1, 0,
  clc$range_type], [417],
            [[1, 0, clc$union_type], [[clc$integer_type,
            clc$keyword_type],
            FALSE, 2],
            20, [[1, 0, clc$integer_type], [1, 10, 10]],
            377, [[1, 0, clc$keyword_type], [10], [
              ['P1                             ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
              ['P10                            ', clc$nominal_entry,
  clc$normal_usage_entry, 10],
              ['P2                             ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
              ['P3                             ', clc$nominal_entry,
  clc$normal_usage_entry, 3],
              ['P4                             ', clc$nominal_entry,
  clc$normal_usage_entry, 4],
              ['P5                             ', clc$nominal_entry,
  clc$normal_usage_entry, 5],
              ['P6                             ', clc$nominal_entry,
  clc$normal_usage_entry, 6],
              ['P7                             ', clc$nominal_entry,
  clc$normal_usage_entry, 7],
              ['P8                             ', clc$nominal_entry,
  clc$normal_usage_entry, 8],
              ['P9                             ', clc$nominal_entry,
  clc$normal_usage_entry, 9]]
              ]
            ]
          ],
        ['DUAL_STATE_PRIORITY            ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
          FALSE, 2],
          44, [[1, 0, clc$keyword_type], [1], [
            ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
            ],
          20, [[1, 0, clc$integer_type], [1, 10, 10]]
          ],
        ['SUBPRIORITY                    ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
          FALSE, 2],
          44, [[1, 0, clc$keyword_type], [1], [
            ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
            ],
          20, [[1, 0, clc$integer_type], [1, 15, 10]]
          ]
        ]
      ]
    ],
{ PARAMETER 7
    [[1, 0, clc$union_type], [[clc$boolean_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    3, [[1, 0, clc$boolean_type]]
    ],
{ PARAMETER 8
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    81, [[1, 0, clc$keyword_type], [2], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['UNLIMITED                      ', clc$nominal_entry,
  clc$normal_usage_entry, 2]]
      ],
    20, [[1, 0, clc$integer_type], [lowest_idle_disp_q_time,
  highest_idle_disp_q_time, 10]]
    ],
{ PARAMETER 9
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    118, [[1, 0, clc$keyword_type], [3], [
      ['ALL                            ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['NONE                           ', clc$nominal_entry,
  clc$normal_usage_entry, 3]]
      ],
    21, [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
        [[1, 0, clc$name_type], [1, osc$max_name_size]]
      ]
    ],
{ PARAMETER 10
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    118, [[1, 0, clc$keyword_type], [3], [
      ['ALL                            ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['NONE                           ', clc$nominal_entry,
  clc$normal_usage_entry, 3]]
      ],
    21, [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
        [[1, 0, clc$name_type], [1, osc$max_name_size]]
      ]
    ],
{ PARAMETER 11
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    20, [[1, 0, clc$integer_type], [jmc$lowest_service_interval,
  jmc$highest_service_interval, 10]]
    ],
{ PARAMETER 12
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    20, [[1, 0, clc$integer_type], [jmc$lowest_priority_bias,
  jmc$highest_priority_bias, 10]]
    ],
{ PARAMETER 13
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$record_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    247, [[1, 0, clc$record_type], [2],
      ['TARGET                         ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
        FALSE, 2],
        44, [[1, 0, clc$keyword_type], [1], [
          ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
          ],
        20, [[1, 0, clc$integer_type], [jmc$lowest_sched_memory_level,
  jmc$highest_sched_memory_level, 10]]
        ],
      ['THRASHING                      ', clc$optional_field, 84], [[1, 0,
  clc$union_type], [[clc$integer_type, clc$keyword_type],
        FALSE, 2],
        44, [[1, 0, clc$keyword_type], [1], [
          ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
          ],
        20, [[1, 0, clc$integer_type], [jmc$lowest_sched_memory_level,
  jmc$highest_sched_memory_level, 10]]
        ]
      ]
    ],
{ PARAMETER 14
    [[1, 0, clc$union_type], [[clc$integer_type,
    clc$keyword_type],
    FALSE, 2],
    44, [[1, 0, clc$keyword_type], [1], [
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1]]
      ],
    20, [[1, 0, clc$integer_type], [jmc$lowest_service_interval,
  jmc$highest_service_interval, 10]]
    ],
{ PARAMETER 15
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    118, [[1, 0, clc$keyword_type], [3], [
      ['ALL                            ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['NONE                           ', clc$nominal_entry,
  clc$normal_usage_entry, 3]]
      ],
    21, [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
        [[1, 0, clc$name_type], [1, osc$max_name_size]]
      ]
    ],
{ PARAMETER 16
    [[1, 0, clc$union_type], [[clc$keyword_type,
    clc$list_type],
    FALSE, 2],
    118, [[1, 0, clc$keyword_type], [3], [
      ['ALL                            ', clc$nominal_entry,
  clc$normal_usage_entry, 2],
      ['DEFAULT                        ', clc$nominal_entry,
  clc$normal_usage_entry, 1],
      ['NONE                           ', clc$nominal_entry,
  clc$normal_usage_entry, 3]]
      ],
    21, [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
        [[1, 0, clc$name_type], [1, osc$max_name_size]]
      ]
    ],
{ PARAMETER 17
    [[1, 0, clc$status_type]]];

?? FMT (FORMAT := ON) ??
?? POP ??

    CONST
      p$mainframe_name = 1,
      p$abbreviation = 2,
      p$cpu_dispatching_allocation = 3,
      p$cpu_dispatching_interval = 4,
      p$cpu_quantum_time = 5,
      p$dual_state_priority_control = 6,
      p$enable_job_leveling = 7,
      p$idle_dispatching_queue_time = 8,
      p$initiation_excluded_categorie = 9 {INITIATION_EXCLUDED_CATEGORIES} ,
      p$initiation_required_categorie = 10 {INITIATION_REQUIRED_CATEGORIES} ,
      p$job_leveling_interval = 11,
      p$job_leveling_priority_bias = 12,
      p$scheduling_memory_levels = 13,
      p$service_calculation_interval = 14,
      p$validation_excluded_categorie = 15 {VALIDATION_EXCLUDED_CATEGORIES} ,
      p$validation_required_categorie = 16 {VALIDATION_REQUIRED_CATEGORIES} ,
      p$status = 17;

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

    VAR
      the_attributes: jmt$object_attribute;

    status.normal := TRUE;

    jmv$current_profile_level := jmc$profile_controls;
    clp$evaluate_parameters (parameter_list, #SEQ (pdt), NIL, ^pvt, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

    jmp$get_attributes (jmc$profile_controls, #SEQ (pdt), ^pvt, the_attributes,
          status);
    IF status.normal THEN
      jmp$change_object (jmc$profile_controls, pvt [p$mainframe_name].value^,
            the_attributes, jmc$update, status);
    IFEND;

  PROCEND jmp$_change_attribute;
?? TITLE := 'jmp$_create_controls', EJECT ??

{ PURPOSE:
{   Processes the CREATE_CONTROLS command.
{
{ DESIGN:
{   Fetches the default values and adds the specified controls to the profile.
{
{ NOTES:
{   See JMM$ADMINISTER_OBJECTS.

  PROCEDURE jmp$_create_controls
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_crec) create_controls (
{   mainframe_name, controls_name, mn, cn: name 17..17 = $required
{   default_values, dv: (by_name) name = $optional
{   status)

?? PUSH (LISTEXT := ON) ??

    VAR
      pdt: [STATIC, READ, cls$declaration_section] record
        header: clt$pdt_header,
        names: array [1 .. 7] of clt$pdt_parameter_name,
        parameters: array [1 .. 3] of clt$pdt_parameter,
        type1: record
          header: clt$type_specification_header,
          qualifier: clt$name_type_qualifier,
        recend,
        type2: record
          header: clt$type_specification_header,
          qualifier: clt$name_type_qualifier,
        recend,
        type3: record
          header: clt$type_specification_header,
        recend,
      recend := [[1, [88, 9, 26, 11, 30, 51, 254], clc$command, 7, 3, 1, 0, 0,
            0, 3, 'OSM$ADMC_CREC'], [['CN                             ',
            clc$abbreviation_entry, 1], ['CONTROLS_NAME                  ',
            clc$alias_entry, 1], ['DEFAULT_VALUES                 ',
            clc$nominal_entry, 2], ['DV                             ',
            clc$abbreviation_entry, 2], ['MAINFRAME_NAME                 ',
            clc$nominal_entry, 1], ['MN                             ',
            clc$alias_entry, 1], ['STATUS                         ',
            clc$nominal_entry, 3]], [

{ PARAMETER 1

      [5, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name,
            clc$specify_positionally], clc$pass_by_value,
            clc$immediate_evaluation, clc$standard_parameter_checking, 5,
            clc$required_parameter, 0, 0],

{ PARAMETER 2

      [3, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 5, clc$optional_parameter, 0, 0],

{ PARAMETER 3

      [7, 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$name_type], [17, 17]],

{ PARAMETER 2

      [[1, 0, clc$name_type], [1, osc$max_name_size]],

{ PARAMETER 3

      [[1, 0, clc$status_type]]];

?? POP ??

    CONST
      p$mainframe_name = 1,
      p$default_values = 2,
      p$status = 3;

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

    VAR
      the_controls: jmt$profile_object_reference,
      the_attributes: jmt$object_attribute;

    status.normal := TRUE;

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

    jmp$set_default_attributes (jmc$profile_controls, pvt [p$default_values],
          the_attributes, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

    jmp$add_object (jmc$profile_controls,
          pvt [p$mainframe_name].value^.name_value, the_attributes,
          the_controls, status);

  PROCEND jmp$_create_controls;
?? TITLE := 'jmp$_delete_controls ', EJECT ??

{ PURPOSE:
{   Processes the DELETE_CONTROLS command.
{
{ DESIGN:
{   Determine the controls to delete and delete them.
{
{ NOTES:
{   See JMM$ADMINISTER_OBJECTS

  PROCEDURE jmp$_delete_controls
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_delc) delete_controls (
{   mainframe_name, mainframe_names, mn, ..
{     controls_name, controls_names, cn: list of name
{   status)

?? PUSH (LISTEXT := ON) ??

    VAR
      pdt: [STATIC, READ, cls$declaration_section] record
        header: clt$pdt_header,
        names: array [1 .. 7] of clt$pdt_parameter_name,
        parameters: array [1 .. 2] of clt$pdt_parameter,
        type1: record
          header: clt$type_specification_header,
          qualifier: clt$list_type_qualifier,
          element_type_spec: record
            header: clt$type_specification_header,
            qualifier: clt$name_type_qualifier,
          recend,
        recend,
        type2: record
          header: clt$type_specification_header,
        recend,
      recend := [[1, [88, 9, 26, 11, 31, 22, 741], clc$command, 7, 2, 0, 0, 0,
            0, 2, 'OSM$ADMC_DELC'], [['CN                             ',
            clc$abbreviation_entry, 1], ['CONTROLS_NAME                  ',
            clc$alias_entry, 1], ['CONTROLS_NAMES                 ',
            clc$alias_entry, 1], ['MAINFRAME_NAME                 ',
            clc$nominal_entry, 1], ['MAINFRAME_NAMES                ',
            clc$alias_entry, 1], ['MN                             ',
            clc$alias_entry, 1], ['STATUS                         ',
            clc$nominal_entry, 2]], [

{ PARAMETER 1

      [4, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name,
            clc$specify_positionally], clc$pass_by_value,
            clc$immediate_evaluation, clc$standard_parameter_checking, 21,
            clc$optional_parameter, 0, 0],

{ PARAMETER 2

      [7, 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$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]],

{ PARAMETER 2

      [[1, 0, clc$status_type]]];

?? POP ??

    CONST
      p$mainframe_name = 1,
      p$status = 2;

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

    status.normal := TRUE;

    jmv$current_profile_level := jmc$profile_controls;
    clp$evaluate_parameters (parameter_list, #SEQ (pdt), NIL, ^pvt, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

    jmp$delete_object (jmc$profile_controls, pvt [p$mainframe_name].value^,
          status);

  PROCEND jmp$_delete_controls;
?? TITLE := 'jmp$_delete_job_category_entry ', EJECT ??

{ PURPOSE:
{   Processes the DELETE_JOB_CATEGORY_ENTRY command.
{
{ DESIGN:
{   Determines the controls to update, fetches the job categories to delete
{   as an attribute list and updates the controls.
{
{ NOTES:
{   See JMM$ADMINISTER_OBJECTS.

  PROCEDURE jmp$_delete_job_category_entry
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_deljce) delete_job_category_entry (
{   mainframe_name, mainframe_names, mn, ..
{     controls_name, controls_names, cn: any of
{       key all keyend
{       list of name
{     anyend = $current_mainframe
{   initiation_excluded_categories, iec: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   initiation_required_categories, irc: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   validation_excluded_categories, vec: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   validation_required_categories, vrc: (by_name) any of
{       key all keyend
{       list of name
{     anyend = $optional
{   status)

?? PUSH (LISTEXT := ON) ??

    VAR
      pdt: [STATIC, READ, cls$declaration_section] record
        header: clt$pdt_header,
        names: array [1 .. 15] of clt$pdt_parameter_name,
        parameters: array [1 .. 6] of clt$pdt_parameter,
        type1: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
          default_value: string (18),
        recend,
        type2: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type3: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type4: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type5: record
          header: clt$type_specification_header,
          qualifier: clt$union_type_qualifier,
          type_size_1: clt$type_specification_size,
          element_type_spec_1: record
            header: clt$type_specification_header,
            qualifier: clt$keyword_type_qualifier,
            keyword_specs: array [1 .. 1] of clt$keyword_specification,
          recend,
          type_size_2: clt$type_specification_size,
          element_type_spec_2: record
            header: clt$type_specification_header,
            qualifier: clt$list_type_qualifier,
            element_type_spec: record
              header: clt$type_specification_header,
              qualifier: clt$name_type_qualifier,
            recend,
          recend,
        recend,
        type6: record
          header: clt$type_specification_header,
        recend,
      recend := [[1, [88, 9, 26, 11, 32, 11, 319], clc$command, 15, 6, 0, 0, 0,
            0, 6, 'OSM$ADMC_DELJCE'], [['CN                             ',
            clc$abbreviation_entry, 1], ['CONTROLS_NAME                  ',
            clc$alias_entry, 1], ['CONTROLS_NAMES                 ',
            clc$alias_entry, 1], ['IEC                            ',
            clc$abbreviation_entry, 2], ['INITIATION_EXCLUDED_CATEGORIES ',
            clc$nominal_entry, 2], ['INITIATION_REQUIRED_CATEGORIES ',
            clc$nominal_entry, 3], ['IRC                            ',
            clc$abbreviation_entry, 3], ['MAINFRAME_NAME                 ',
            clc$nominal_entry, 1], ['MAINFRAME_NAMES                ',
            clc$alias_entry, 1], ['MN                             ',
            clc$alias_entry, 1], ['STATUS                         ',
            clc$nominal_entry, 6], ['VALIDATION_EXCLUDED_CATEGORIES ',
            clc$nominal_entry, 4], ['VALIDATION_REQUIRED_CATEGORIES ',
            clc$nominal_entry, 5], ['VEC                            ',
            clc$abbreviation_entry, 4], ['VRC                            ',
            clc$abbreviation_entry, 5]], [

{ PARAMETER 1

      [8, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name,
            clc$specify_positionally], clc$pass_by_value,
            clc$immediate_evaluation, clc$standard_parameter_checking, 85,
            clc$optional_default_parameter, 0, 18],

{ PARAMETER 2

      [5, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 3

      [6, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 4

      [12, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 5

      [13, clc$normal_usage_entry, clc$non_secure_parameter,
            $clt$parameter_spec_methods [clc$specify_by_name],
            clc$pass_by_value, clc$immediate_evaluation,
            clc$standard_parameter_checking, 85, clc$optional_parameter, 0, 0],

{ PARAMETER 6

      [11, 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$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]],
            '$current_mainframe'],

{ PARAMETER 2

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 3

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 4

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 5

      [[1, 0, clc$union_type], [[clc$keyword_type, clc$list_type], FALSE, 2],
            44, [[1, 0, clc$keyword_type], [1],
            [['ALL                            ', clc$nominal_entry,
            clc$normal_usage_entry, 1]]], 21,
            [[1, 0, clc$list_type], [5, 1, clc$max_list_size, FALSE],
            [[1, 0, clc$name_type], [1, osc$max_name_size]]]],

{ PARAMETER 6

      [[1, 0, clc$status_type]]];

?? POP ??

    CONST
      p$mainframe_name = 1,
      p$initiation_excluded_categorie = 2 {INITIATION_EXCLUDED_CATEGORIES} ,
      p$initiation_required_categorie = 3 {INITIATION_REQUIRED_CATEGORIES} ,
      p$validation_excluded_categorie = 4 {VALIDATION_EXCLUDED_CATEGORIES} ,
      p$validation_required_categorie = 5 {VALIDATION_REQUIRED_CATEGORIES} ,
      p$status = 6;

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

    VAR
      the_attributes: jmt$object_attribute;

    status.normal := TRUE;

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

    jmp$get_attributes (jmc$profile_controls, #SEQ (pdt), ^pvt, the_attributes,
          status);
    IF status.normal THEN
      jmp$change_object (jmc$profile_controls, pvt [p$mainframe_name].value^,
            the_attributes, jmc$delete_list_items, status);
    IFEND;

  PROCEND jmp$_delete_job_category_entry;
?? TITLE := 'jmp$_quit', EJECT ??

{ PURPOSE:
{   Exits the subutility.
{ DESIGN:
{   Terminates the subutility.

  PROCEDURE jmp$_quit
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$admc_qui) quit (
{   status)

?? PUSH (LISTEXT := ON) ??

    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, 9, 26, 11, 32, 50, 891], clc$command, 1, 1, 0, 0, 0,
            0, 1, 'OSM$ADMC_QUI'], [['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]]];

?? POP ??

    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_scan_command_file (utility_name, status);

  PROCEND jmp$_quit;
?? TITLE := '[XDCL, #GATE] jmp$_administer_controls', EJECT ??

{ PURPOSE:
{   Starts the ADMINISTER_CONTROLS sub utility.
{ DESIGN:
{   Pass the command table to command_language.

  PROCEDURE [XDCL, #GATE] jmp$_administer_controls
    (    parameter_list: clt$parameter_list;
     VAR status: ost$status);

{ PROCEDURE (osm$adms_admc) administer_controls (
{   status)

?? PUSH (LISTEXT := ON) ??

    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, 9, 26, 11, 33, 18, 81], clc$command, 1, 1, 0, 0, 0,
            0, 1, 'OSM$ADMS_ADMC'], [['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]]];

?? POP ??

    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;

    utility_attributes [1].command_table := command_table;
    clp$begin_utility (utility_name, utility_attributes, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

    jmv$current_profile_level := jmc$profile_controls;

    clp$include_file (command_file, '', utility_name, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

    clp$end_utility (utility_name, status);
    IF NOT status.normal THEN
      RETURN
    IFEND;

  PROCEND jmp$_administer_controls;
MODEND jmm$administer_controls;
