Post #1
1 votes
Alex
Reputation
8
Posts: 35
Joined: Jun 15, 2026, 9:20 AM
Posted: Jul 31, 2026, 8:44 AM
Sorry if this is dumb. Coming from Python where you just write x = 5.
Where do variables go in COBOL and what is PIC supposed to mean? I keep seeing stuff like:
01 WS-COUNT PIC 9(3).
Do I put that in WORKING-STORAGE? And what is the 01 for?