Post #1
1 votes
Alex
Reputation8
Posts: 35
Joined: 06/15/2026, 09:20 AM
Posted: 07/31/2026, 08: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?