home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / bit / listserv / ibmmain / 2354 < prev    next >
Encoding:
Text File  |  1992-10-12  |  1.8 KB  |  35 lines

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