1 /* BEGIN INCLUDE FILE mtape_volume_status.incl.pl1. Created by J. A. Bush 02/02/83 */ 2 /* The include file mtape_err_stats.incl.pl1 is referenced by this include file */ 3 /* format: style4 */ 4 /* This include file defines the structures returned by the "volume_status" ("vst"), 5 and the "volume_set_status" ("vsst") control operations */ 6 7 dcl vst_ptr ptr; /* Pointer to the volume_status info structure */ 8 dcl vsst_ptr ptr; /* Pointer to the volume_set_status info structure */ 9 dcl v_statp ptr; /* Pointer to the volume status structure */ 10 11 dcl vst_version_1 char (8) int static options (constant) init ("vstv0001"); 12 dcl vsst_version_1 char (8) int static options (constant) init ("vsstv001"); 13 14 dcl mtape_vsst_nvolumes fixed bin; /* set this variable before allocating mtape_vsst structure */ 15 16 dcl 1 mtape_vst aligned based (vst_ptr), /* "volume_status" info structure */ 17 2 version char (8), /* Current version */ 18 2 volume_type fixed bin, /* Use rcp_volume_formats.incl.pl1 for decode */ 19 2 v_stat like volume_status; /* See volume_status structure below */ 20 21 dcl 1 mtape_vsst aligned based (vsst_ptr), /* "volume_set_status" info structure */ 22 2 version char (8), /* Current version */ 23 2 volume_type fixed bin, /* Use rcp_volume_formats.incl.pl1 for decode */ 24 2 nvolumes fixed bin, /* # of volumes in volume set */ 25 2 vs_stat (mtape_vsst_nvolumes refer (mtape_vsst.nvolumes)) like volume_status; /* See volume_status below */ 26 27 dcl 1 volume_status based (v_statp) aligned, /* Volume status info template */ 28 2 volume_name char (32), /* As specified in attach description */ 29 2 volume_id char (32), /* Recorded volume name */ 30 2 mounted bit (1), /* "1"b => volume currently mounted */ 31 2 device_name char (8), /* Tape device on which mounted */ 32 2 volume_index fixed bin, /* Order of volume within volume set */ 33 2 mounts fixed bin, /* Number of times volume mounted during attachment */ 34 2 tot_error_stats like mtape_err_stats, /* Summation of error statistics for all mounts */ 35 2 rel_error_stats like mtape_err_stats; /* Summation of error statistics, this mount */ 36 37 /* END INCLUDE FILE mtape_volume_status.incl.pl1 */