问题描述
如何将PS文件中间的数据移动到大型机的左侧?为此有任何快捷命令吗?
how can we move the data in middle of PS file to left side in Mainframe? any shortcut command for this?
我在第13列有一个包含数据的数据集,必须将其移到第11列,并用任何短键来移动它.
I have a Data set with data at column 13 and it has to be moved to column 11, Any short key to move it.
想将DS中其余的行对齐为第一列
Want to align rest of the rows in DS as 1st column
BROWSE OSMDEV.ITALY3.DATA
Command ===>
----+----1----+----2----+----3----+----4----+-
758 200510 4323T
758 2005 10 4323N
758 2005 10 51149
758 2005 10 51154
758 2005 10 6758E
758 2005 13 34437
758 2005 13 34441
758 2005 13 53445
推荐答案
使用ISPF'BNDS'行命令命令并将边界(通过'<'和'>'字符)设置为第11列和第20列:
Use the ISPF 'BNDS' line command command and set the bounds (via the '<' and '>' characters) to column 11 and column 20:
(边界用于约束滚动,换行命令(>",<",)",("),文本行命令("TS","TF","TE"))和FIND,CHANGE,EXCLUDE和SORT命令.)
(Bounds are used to constrain scrolling, shift line commands ( ">", "<", ")", "(" ), text line commands ("TS", "TF", "TE") and FIND , CHANGE , EXCLUDE and SORT commands.)
现在使用'('(向左移动)命令将数据向左移动2个字符.
Now use the '(' (Shift left) command to shift the data 2 characters to the left.
(我们将使用'('命令的'(('形式表示我们正在将'('命令应用于一行行,默认移位值为2,这是您想要的,所以我们不必指定值.
(We will use the '((' form of the '(' command to indicate that we are applying the '(' command to a block of rows and the default shift value is 2, which is what you want, so we don't have to specify a value).
先前设置的范围将确保仅移动第11列到第20列中的数据:
The previously set bounds will ensure that only data in columns 11 through to 20 will be moved:
这篇关于DS的大型机命令-在ISPF编辑中移动列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!