hello all
how can i do the following:
SENDIG FIELD:
PIC: 9FIELD PIC 9(10).
DATA: 0000000450
RECEIVING FIELD:
PIC: XFIELD PIC X(10).
DATA: '450 '
is there an easy way to move this without programming?
i tried the way over a 'ZZZZZZZZZZ'-pictured workfield but that doesnt work, the leading spaces were also moved to the PIC X field...
can i STRING or UNSTRING something? or do i have to check each position of the field for leading zeros?
thanks for any hints!
alex
how can i do the following:
SENDIG FIELD:
PIC: 9FIELD PIC 9(10).
DATA: 0000000450
RECEIVING FIELD:
PIC: XFIELD PIC X(10).
DATA: '450 '
is there an easy way to move this without programming?
i tried the way over a 'ZZZZZZZZZZ'-pictured workfield but that doesnt work, the leading spaces were also moved to the PIC X field...
can i STRING or UNSTRING something? or do i have to check each position of the field for leading zeros?
thanks for any hints!
alex