COBOL keyword REDEFINES?

Basically Redefines Reuses the spaces so in the above example WS_CHARGE_TXT_8X and WS_CHARGE_8 will point to the same block of memory. This allows you to look at a block of memory in different ways In the above example the value of WS_CHARGE_TXT_8X is "10000000 the value of WS_CHARGE_8 is of 10000.000 If you moved 123.456 to WS_CHARGE_8 the value of WS_CHARGE_TXT_8X "00123456 A more useful example is 03 Birth-Date-YYYYMMDD pic 9(8). 03 filler redefines Birth-Date-YYYYMMDD 05 Birth-Date-YYYY pic 9(4) 05 Birth-Date-MM pic 99.05 Birth-Date-MM pic 99 In this case you can access the whole date Birth-Date-YYYYMMDD or the year / month / day individually ( Birth-Date-YYYY etc).

Basically Redefines Reuses the spaces so in the above example WS_CHARGE_TXT_8X and WS_CHARGE_8 will point to the same block of memory. This allows you to look at a block of memory in different ways. In the above example the value of WS_CHARGE_TXT_8X is "10000000" the value of WS_CHARGE_8 is of 10000.000.

If you moved 123.456 to WS_CHARGE_8 the value of WS_CHARGE_TXT_8X "00123456". A more useful example is 03 Birth-Date-YYYYMMDD pic 9(8). 03 filler redefines Birth-Date-YYYYMMDD 05 Birth-Date-YYYY pic 9(4) 05 Birth-Date-MM pic 99.05 Birth-Date-MM pic 99.In this case you can access the whole date Birth-Date-YYYYMMDD or the year / month / day individually (Birth-Date-YYYY etc).

Many thanks! – gunbuster363 Mar 11 at 8:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions