I asked a few questions to clarify unclear post by the TS, but my post has been silently deleted. Now I have to repeat it more detailed.
The term
Quote:
write 0 (pic clause S9(8)) and S9(9)V99) using outrec
can have various meanings.
1) writing 0 as constant in OUTREC, corresponding to PIC S9(8) can be either C'000000{', or X'F0F0F0F0F0F0F0C0'
2) 0 as constant of PIC S9(9)V99 can be either C'0000000000{', or X'F0F0F0F0F0F0F0F0F0F0C0'
3) a zero field converted in OUTREC as PIC S9(8) must use ...,TO=ZD,LENGTH=8,... parameters
4) a zero field converted as PIC S9(9)V99 must use ...,TO=ZD,LENGTH=11,...
I appeal to moderators to stop removing my posts, one after another.
(Mod : The deleted 'clarifying question' was whether the TS wanted to write '0' by hand or by a program)
1) writing 0 as constant in OUTREC, corresponding to PIC S9(8) can be either C'000000{', or X'F0F0F0F0F0F0F0C0'
2) 0 as constant of PIC S9(9)V99 can be either C'0000000000{', or X'F0F0F0F0F0F0F0F0F0F0C0'
3) a zero field converted in OUTREC as PIC S9(8) must use ...,TO=ZD,LENGTH=8,... parameters
4) a zero field converted as PIC S9(9)V99 must use ...,TO=ZD,LENGTH=11,...
I appeal to moderators to stop removing my posts, one after another.
(Mod : The deleted 'clarifying question' was whether the TS wanted to write '0' by hand or by a program)
"Write by hand" assumes #1-2 above, while "write by program" assumed conversion of a value as in #3-4 above.
I tried to use "non-technical therminology" because there is no chance that TS can understand this updated explanation.