Page 1 of 1

Alignment of Data from perticular column

PostPosted: Tue Oct 21, 2008 7:08 pm
by abhiman
Hi All,

I am having one PS file containing near about 2500 records in sorted manner

starting from column 1.

I want to align/move this to column 12.

How can I do this?

Please suggest me for this.

Thanking you,
Abhiman

Re: Alignment of Data from perticular column

PostPosted: Wed Oct 22, 2008 12:37 am
by Bill Dennis
Do you want an ISPF EDIT solution? Use the SHIFT COLS block command.


))1101 Shift the lines in this block 11 places
000002 from column 1
))0003 to column 12

Re: Alignment of Data from perticular column

PostPosted: Wed Oct 22, 2008 2:13 am
by dick scherrer
Hello,

If this is a requirement you will need to do repeatedly and the requirement calls for cobol, a very simple cobol program would read the current iniput and write to a file that has 11 bytes of filler before the data.

You could also do this with your sort product.