LT is the keyword spelling for less than in Broadcom relational operator documentation. IF GROSS LT MIN-WAGE triggers underpay exception reports. IF ON-HAND LT REORDER-POINT drives replenishment lists. IF AGE LT 18 excludes adult-rate processing. Strict LT excludes equality: when SCORE is exactly sixty, IF SCORE LT 60 fails; use LE when policy includes the boundary. Symbolic < expresses the same ordering test; LT reads clearly on printed listings beside EQ NE GT GE LE. Numeric LT compares magnitude with implied decimals. Alphabetic LT uses collating sequence—on z/OS typically EBCDIC where spaces and punctuation order before letters depending on code page. Beginners invert LT and GT in limit checks or code LT when policy means at most—should be LE. This page teaches LT syntax, equivalence with <, field-to-field ceiling tests, date and amount thresholds, contrast with LE and THRU, logical combinations, and validation patterns for limit-driven Easytrieve batch jobs.
LT appears between operands in IF, ELSE-IF, DO WHILE, and nested JOB logic. IF BALANCE LT 0 detects overdraft. IF EFF-DATE LT CUTOFF-DATE selects records before a policy change. IF HOURS LT STD-HOURS flags part-time schedules. True when left orders before right; false when equal or greater.
12345678JOB INPUT PAYROLL IF GROSS LT MIN-WAGE PRINT UNDERPAY-RPT END-IF IF HOURS LT STD-HOURS PRINT PART-TIME-RPT END-IF
| Form | Example | At equality |
|---|---|---|
| Keyword LT | IF AMT LT 100 | |
| Symbolic < | IF AMT < 100 | |
| Keyword LE | IF AMT LE 100 | |
| Symbolic <= | IF AMT <= 100 |
Labor rules often phrase at most sixty hours—map to LE 60, not LT 60, if exactly sixty must pass. Failing grades below sixty map to LT 60 when exactly sixty is passing—then use GE 60 for pass band. Misreading policy as strict LT when boundary belongs in the set causes off-by-one production bugs auditors catch months later. Document boundary intent beside the IF when compliance depends on it.
Packed P 2 currency: 99.99 LT 100.00 is true. Negative numbers order below positive: IF BALANCE LT 0 detects overdraft. IF TAX LT FLOOR-TAX compares two fields—types and scales must align. Implied decimal alignment matters: P 2 compared to N 5 may promote per compiler rules—test in development. IF COUNT LT MAX-CAP enforces volume ceilings before further processing.
IF CODE LT M includes codes collating before M in EBCDIC—often A through L ranges depending on literal and field definition. IF NAME LT SMITH selects names sorting before SMITH in directory order—not English dictionary case folding unless site rules say so. Trailing spaces participate: shorter effective values padded to field length compare as longer strings with spaces. Quote literals to match business length for single-character range splits.
12345678JOB INPUT INVENTORY IF ON-HAND LT REORDER-PT PRINT RESTOCK-RPT END-IF IF WHSE-CODE LT 'M' PRINT ZONE-A-RPT END-IF
IF CURR-DATE LT EXP-DATE identifies not-yet-expired certificates when dates compare as numeric or character per format. IF ACTUAL LT BUDGET flags underspend lines. IF SCORE LT PASS-LEVEL compares examinee to cutoff field defined in Library. Mismatched date formats—MMDDYY versus CCYYMMDD—make LT meaningless without conversion fields.
Open-ended lower bands use LT alone: IF AGE LT 18 for minors. Closed bands combine operators: IF AGE GE 18 AND AGE LT 65 for working-age window. EQ THRU expresses inclusive ranges on the low side with upper cap—IF CODE EQ 1 THRU 5 differs from IF CODE LT 6 when code six should exclude. Choose LT for single open boundary; combine for windows.
IF AMT LT 0 OR AMT GT 1000 flags outliers both tails. IF NOT AMT LT 100 expresses at-least-one-hundred logic—prefer GE 100 for readability. Parentheses clarify: IF (SCORE LT 60) AND (ATTEND GE 80). Chained IF A LT B LT C is not valid in most grammars—split into AND conditions.
When dates store as packed or character YYYYMMDD, LT compares chronologically if formats align. IF TRAN-DATE LT CUTOFF excludes on-or-after cutoff when strict LT—use LE with adjusted cutoff for inclusive end dates. Julian versus Gregorian layouts must match before LT tests mean what schedulers expect.
LT means smaller than. If the rule is kids shorter than this line go on the small rides, you measure against the line. Exactly as tall as the line does not count for strict smaller—you need to be below it. LT is the word version of the less-than arrow. Numbers lower on the number line pass. Letters earlier in the computer alphabet pass before later ones.
1. IF AGE LT 18 means:
2. LT and symbolic < in IF GROSS LT LIMIT versus IF GROSS < LIMIT:
3. IF GROSS LT MIN-WAGE flags:
4. IF CODE LT M orders alphabetic fields by:
5. IF SCORE LT 60 versus IF SCORE LE 59 at SCORE equals 59: