maandi wrote:Hi All,
I have to move some values to particular field in my input record based on some condition. Is it possible to do that in SORT JCL?
E.g I have a input record like (xxx00000xxxxxxxxxxxxx)
I have to perform the validation : If (Start position(4),length(5)) = zeros, then copy the entire record with repacing ''123" in first 3 bytes.
So my output will look like (12300000xxxxxxxxxxxxxx).
Is it possible to do this in SORT JCL or any other utilities?
In the above query i forgot to include one more condition....
If this validation : If (Start position(4),length(5)) = zeros, FAILS then it should copy the record without replacing anything.