TITLE    : ODM class "sm_cmd_hdr" error when adding or changing a 
           spooler print queue.
OS LEVEL : AIX 4.2
DATE     : 28/04/2000
VERSION  : 1.0

----------------------------------------------------------------------------

The following error is displayed when either trying to add a print spooler 
queue or changing the attributes on an existing print spooler queue :- 

1800-106 An error occurred:
0782-626 Opening the ODM class "sm_cmd_hdr" failed (odmerrno is 5908).
Use local problem reporting procedures.


This generally happens after printers.rte has been updated. The smit menu
files in /var/spool/lpd/pio/@local/smit have all been set to zero file
length :-

-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_cmd_hdr
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_cmd_hdr.vc
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_cmd_opt
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_cmd_opt.vc
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_menu_opt
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_menu_opt.vc
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_name_hdr
-rw-rw-r--   1 root     printq         0 20 Jul 1999  sm_name_hdr.vc

To correct this problem, copy all the sm_* files from /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit
to the /var/spool/lpd/pio/@local/smit directory

-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_cmd_hdr
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_cmd_hdr.vc
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_cmd_opt
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_cmd_opt.vc
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_menu_opt
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_menu_opt.vc
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_name_hdr
-rw-rw-r--   1 root     printq      4096 12 Apr 1996  sm_name_hdr.vc

The smit screens will not display any information for any current
spooler queues (as the information has been lost) but new spooler queues
can now be added.