Created on May 8, 2021, 7:34 p.m. - by Revathy, Sambathraj
I have a dataset with data till 80 length in it..
Due to some restriction.. I want the data (from 65 byte to 77 byte) to be copied to next line..
Is there any way we can achieve this ?
You can do it by using sort utility. forward slash(/) is used to split the record line in sort.
Use below code. Hope this is what you want.
//SYSIN DD *
OPTION COPY
OUTFIL BUILD=(1,64,16X,/,65,12,68X)
/*
Code worked
Thank you so much for the speedy reply.