Mainframe commands for DS - move columns in ISPF Edit

五迷三道 提交于 2019-12-08 02:56:18

问题


how can we move the data in middle of PS file to left side in Mainframe? any shortcut command for this?

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.

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

回答1:


Use the ISPF 'BNDS' line command command and set the bounds (via the '<' and '>' characters) to column 11 and column 20:

(Bounds are used to constrain scrolling, shift line commands ( ">", "<", ")", "(" ), text line commands ("TS", "TF", "TE") and FIND , CHANGE , EXCLUDE and SORT commands.)

Now use the '(' (Shift left) command to shift the data 2 characters to the left.

(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).

The previously set bounds will ensure that only data in columns 11 through to 20 will be moved:



来源:https://stackoverflow.com/questions/56337187/mainframe-commands-for-ds-move-columns-in-ispf-edit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!