Page 1 of 2

MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:11 pm
by jaggz
Dear All,

Could anyone please let me know the way to move a 58th Column word to 55th Column. Are there any command to make all the word starting VOLUME at 58th column to 55th column ?

For example :

000003 DSNAME(SYS1.LINKLIB) VOLUME(MT3RS1)

The VOLUME(MT3RS1) move to 55th column from 58th Column.

Jaggz

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:17 pm
by BillyBoyo
186 posts and you don't know to use the Code tags?

Do you mean in the ISPF editor?

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:24 pm
by jaggz
186 posts and you don't know to use the Code tags

Apology For not using code tags and I will make sure the code tags are used.

Do you mean in the ISPF editor?

Yes

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:29 pm
by jaggz
Hi All,

I could see a similar thread :http://www.ibmmainframeforum.com/tso-ispf/topic6399.html

I will try it out with above option. Thanks enrico

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:38 pm
by BillyBoyo
Depending on what you want, you could also look at BNDS coupled with Change or column shifting. It is all in the Help/Tutorial. If you don't know the editor well enough to know this already, take some of your own time out from time to time, go through the PF1/Tutorial, and practice. You'll save yourself lots of time if you know the full capabilities of the editor.

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:49 pm
by jaggz
Dear Billy/All,

I even tried with BNDS option :

First do BNDS and COLS commands, then move your BNDS boundaries. Then you use X over all those lines you don't want to change. After that you enter ((3 on the first and (( at the last line.
And of course, make a backup BEFORE and SAVE after changes.

Thanks,
Jaggz

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 4:59 pm
by BillyBoyo
And if you have RECOVER ON there is always UNDO for those I-wish-I-hadn't-done-that-just-now moments.

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 6:16 pm
by prino
&c ' V' 'V' 55 58 all
and keep pressing enter...

Re: MOVE column in TSO

PostPosted: Mon Apr 16, 2012 9:51 pm
by dick scherrer
Hello,

When experimenting, it is advisable to make a test copy of the member. . .

Then you don't risk destroying the original ;)

Re: MOVE column in TSO

PostPosted: Tue Apr 17, 2012 12:38 am
by prino
dick scherrer wrote:When experimenting, it is best to make a test copy of the member. . .

Then you don't risk destroying the original ;)

Use VIEW and if all is OK, just do a "repl .zf .zl"