I declare time field in RPG as
D btime 4 0
eval btime = 2400
this one i pass to a CL program with var type
var(&tim) type(*dec) len(4,0)
and this in turn passed to another RPG program
D stime 4 0
when it comes to third program it has some hex char shown in debug as belo
stime = 2_4_
i have no clue how this hex char comes in to picture..
and when i try to move this to another numeric field it throws decimal data errro
Please help
Software/Hardware used:
as400
ASKED:
October 20, 2009 10:29 PM
UPDATED:
October 21, 2009 1:07 PM