Identifying Working Storage.
Assembler
In Assembler Working Storage tends to follow the executable instructions, and can be identified by the use of DC, and
DS statements. A LTORG statement may also be present.
DC (Define Constant) allows a field to be given an initial value, whereas DS (Define Storage) does not.
COBOL
The WORKING-STORAGE SECTION in COBOL identifies the start of the data component, and it will comprise a number of PICTURE
(PIC) clauses. If a VALUE clause is present it is equivalent to an Assembler DC otherwise it is equivalent to a DS.
PLI
In PLI Working Storage will comprise a number of DECLARE (DCL) statements which define individual fields either with or
without initial (INIT) values. If an INIT clause is present it is equivalent to an Assembler DC otherwise it is equivalent to a DS.