home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!UTMARTN.BITNET!##09
- Message-ID: <12OCT92.18137146.0010.MUSIC@UTMARTN>
- Newsgroups: bit.listserv.ibm-main
- Date: Mon, 12 Oct 1992 16:47:36 CST
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: Larry Holder <##09@UTMARTN.BITNET>
- Subject: moving all texts in xedit file one space to the right
- In-Reply-To: In reply to your message of MON 12 OCT 1992 13:41:19 CST
- Lines: 23
-
- > I am trying to find if there is any command that enable to move all texts
- > of each line one space to the right in an xedit file? It takes too much
- > time if I do it line by line in a long file.
-
- It is quite easy. First, issue the TOP command to make the first
- record the current line. Then, issue the command SHIFT RIGHT 1 *
- where "1" is the number of positions to shift, and "*" means from the
- current line to the end of the file.
- By the way, if you wished for the shifting to occur beginning at any
- column other than column 1, then change the zone; for example, doing a
- SET ZONE 5 * and then doing the shift command will only affect columns
- 5 thru 80 (or whatever the record length is).
- There are a lot of helpful xedit commands that you may not be aware of;
- I'd suggest using the HELP facility: if you type HELP while in xedit,
- it will bring up a list of commands you can check into.
-
- Larry Holder, Sr. Programmer/Analyst Bitnet: ##09@UTMARTN
- The University of Tennessee at Martin Phone: 901-587-7890
- Martin, TN 38238 Fax: 901-587-7841
-
- Software: VM/ESA 1.0, VSE/ESA 1.1, CICS/VSE 2.1, COBOL-II, DL/I, SQL/DS
- Hardware: IBM 9221-150 with 9336 FBA dasd
- PSW: (Personal Status Words): Saved by grace (Romans 1:16 & 8:38)
-