Hi all,
would you please help !
use Iceman tool to sort the input file ,and in the outrec fileds I would like to
add 2 extra column (WHICH IS NOT IN THE INPUT FILE). Each fields define as pic s9(9)v comp-3 (this field takes 5 spaces)
I know how to add it in char fields and default it by space BUT don't know how to do if it is a pack decimal field and default it as zero ?
for ex1: in the output field after put input data in column 1 to 17, put extra column length of 5 and blank it by spaces will be:
sort fields=(1,9)
outrec fileds=(1,17;C' ')
BUT
ex2: if the extra columns both are define as pic s9(9)v comp-3 and default as zero how do I do it ??
I tried:
sort fields=(1,9)
outrec fields=(1,17;P'+00000';P'+00000')
It didn't work, I received error such as:
outrec fileds=(1,17;P'+00000')
$
ice111A L REFORMATTING FIELD ERROR
ICE005A M STATEMENT DEFINER ERROR
Please help ?
Thanks a lot
Danielle