Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
Posted: Tue Jan 31, 2012 7:29 pm Post subject:
tcurrier,
Simply change the length to 5 in the INREC statement. Assuming your data starts at pos 5 for a length of 5 use the following INREC
Code:
INREC OVERLAY=(5:+1,ADD,5,5,ZD,EDIT=(TTTTT))
Generic example
Code:
INREC OVERLAY=(P1:Constant,Function,P2,M,F,O1)
P1 = Position of the field where the result needs to be
Constant = Constant value to be added or subtracted ex: +1 or -12
Function = Function to be used (ADD, SUB, DIV, MUL ...)
P2 = Position of the input field to used with the function
M = Length of the input field i.e. P2
F = Format of the input field ( ZD, PD, BI, FI, UFF, SFF ...)
O1 = Format of the output field
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum