

            rdatt (1) --- list the attributes of a relation          07/01/82


          | _U_s_a_g_e

          |      rdatt {<option>}
          |      <option> ::= -t | -l | -n


          | _D_e_s_c_r_i_p_t_i_o_n

          |      'Rdatt'  is  part  of  the  toy relational data base system,
          |      'rdb'.  It lists the attributes of a relation, specified  as
          |      standard input, on standard output.  The input relation must
          |      be a file containing a relation that was created by 'rdmake'
          |      or another 'rdb' program; a relation cannot be read from the
          |      terminal.

          |      If  no options are specified then the type, length, and name
          |      of each attribute are listed on one line for each attribute.
          |      If any of the options 't', 'l', or 'n' (type, length,  name)
          |      are  specified,  then only the characteristics corresponding
          |      to the requested option will be listed.


          | _E_x_a_m_p_l_e_s

          |      p1.rel> rdatt
          |      p2.rel> rdatt -tn >attrlist


          | _M_e_s_s_a_g_e_s

          |      "Sorry, a relation can't be read from the terminal"
          |      "Can't access input relation"
          |      "relation is corrupted!!"


          | _S_e_e _A_l_s_o

          |      rdcat (1), rdextr (1), rdjoin (1), rdmake (1), rdprint  (1),
          |      rdproj (1), rdsel (1), rdsort (1), rduniq (1)



















            rdatt (1)                     - 1 -                     rdatt (1)


