Hi,
can you help me in initializing a large table like below sample one
01 ws-a.
05 ws-b occurs 50000 times.
10 ws-c pic x(02).
10 ws-d pic s9(9)v99 comp-3.
currently I do an initialize ws-a for each policy and when I did a strobe it shows this init as a larger pct(like 10%) - when I tried like below it didnt help much
01 ws-a-t.
05 ws-c-t pic x(02).
05 ws-d-t pic s9(9)v99 comp-3.
initialize ws-a-t. then for every policy I used MOVE statement
move ws-a-t to ws-a (1:8)
move ws-a (1:8) to ws-a (9:8)
.....
If you have any better way, please let me know.
can you help me in initializing a large table like below sample one
01 ws-a.
05 ws-b occurs 50000 times.
10 ws-c pic x(02).
10 ws-d pic s9(9)v99 comp-3.
currently I do an initialize ws-a for each policy and when I did a strobe it shows this init as a larger pct(like 10%) - when I tried like below it didnt help much
01 ws-a-t.
05 ws-c-t pic x(02).
05 ws-d-t pic s9(9)v99 comp-3.
initialize ws-a-t. then for every policy I used MOVE statement
move ws-a-t to ws-a (1:8)
move ws-a (1:8) to ws-a (9:8)
.....
If you have any better way, please let me know.