Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Columns Edit 71 US M12STU03/QDDSSRC SECTPF SEU FMT PF A. T.Name++++++RLen++TDpB.

ID: 3846438 • Letter: C

Question

Columns Edit 71 US M12STU03/QDDSSRC SECTPF SEU FMT PF A. T.Name++++++RLen++TDpB. Functions++++++++++++++++++ xxxxx Beginning of data 0001.00 UNIQUE 0002.00 R SECTPFR 0003.00 COLHDG Section Number SECTNO 5S 0 0004.00 COLHDG Instructor INSTID 9S 0 0005.00 COLHDG Catalog Number CATNO 6A 0006.00 COLHDG Days Met DAYS 5A STIME COLHDG Start Time 0007.00 COLHDG End' Time ETIME 0008, 00 0009.00 BLDG COLHDG Building') 2A Sequence number 0007.00 Prompt type PF Decimal Name Data Ref Length Type Name Type Positions Use STIME Functions COLHDG Start Time F5 Refresh F11 Previous record F3-Exit F4 Prompt F 12 Cancel F23 Select prompt F24-More keys MAI 18/003

Explanation / Answer

TIMFMT is a field level keyword used to specify the format of a time field. it is valid for data type T ( time field) . Here we need to define it for both STIME and ETIME . Both of them are of the type T (time field). Since we require to use USA format we use the keyword TIMFMT(*USA) specifically.

All you need to do is write TIMFMT(*USA) in the field level ( ie along the COLHDG, which is also a field level keyword).

Modift the commands lines as follows

0007.00 A STIME T COLHDF('START','TIME') TIMFMT(*USA)

0008.00 A ETIME T COLHDF('END','TIME') TIMFMT(*USA)

NOTE :Keyword entries are typed in positions 45 through 80 (functions)