Example: Displaying a Field's Data

The following command displays a list of employees in Sample Employee file from the mysamplehr data area. The -h option prints a header (label) for each data column.

dbdisplay -h -F SampleCompany,SampleEmployee,SampleJobCode mysamplehr SampleEmployee

The output for this command might look like:

SampleCompany SampleEmployee SampleJobCode
         3456           1235
         3456           1236
         7531      100000000 Chef
         7531      100000001 Asst Cook
         7531      100000002 Sr. Chef
         7531      100000003 Kitch Mgr
         7531      100000004 Sr. Chef
         7531      100000005 Asst Cook

Number of records displayed: 8