가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Chapter 4

Data Division, PIC Clauses, Level Numbers, and Record Modeling

Understand how COBOL represents business data using explicit field definitions and hierarchical record layouts.

Inside this chapter

  1. Why Data Definitions Are Central in COBOL
  2. Level Numbers
  3. PIC Clauses
  4. Why This Explicitness Matters
  5. Real Example

Series navigation

Study the chapters in order for the clearest path from COBOL basics to enterprise batch processing, operational context, and modernization strategy. Use the navigation at the bottom to move smoothly through the full tutorial series.

Tutorial Home

Chapter 4

Why Data Definitions Are Central in COBOL

COBOL programs often revolve around well-defined business records such as customer accounts, payroll entries, invoice lines, transaction batches, and report totals. Because of that, the DATA DIVISION is one of the most important parts of the language.

Chapter 4

Level Numbers

01 CUSTOMER-RECORD.
   05 CUSTOMER-ID        PIC 9(6).
   05 CUSTOMER-NAME      PIC X(30).
   05 CUSTOMER-BALANCE   PIC 9(7)V99.

Level numbers express hierarchy in record definitions. This lets COBOL represent structured business data cleanly and explicitly.

Chapter 4

PIC Clauses

The PIC, or picture clause, describes the shape of the data. X is commonly used for character fields, while 9 is used for numeric fields. Decimal handling, signs, formatting, and field width are all encoded explicitly in data definitions.

Chapter 4

Why This Explicitness Matters

Financial and administrative systems often rely on exact field definitions. Knowing whether a field is six digits, thirty characters, or a decimal amount with two implied places is critical for file compatibility, reporting, and integration with other systems.

Chapter 4

Real Example

An insurance claim record may include policy ID, claimant name, claim amount, claim date, and status code. COBOL’s record model makes the structure of such business data highly visible and stable over time.

Copyright © 2026, WithoutBook.