Search This Blog

Thursday, April 5, 2012

Mainframe Tips

  • How to list last 10 datasets used in tso region


 goto ispf 3.4 option, on the top menubar select reflist and select option 1 and you will find the last datasets used



  • Auto-indentation
When writing code in certain programming languages, indentation is an important part of the style to ensure that the code is more readable. You can set up the vi editor to automatically indent to adhere to a language-specific style when necessary. You use autoindent to turn automatic indenting on or off



  • Switch case
You can switch the case of the alpha character underneath your cursor in vi the tilde key (~). Doing so shifts from lowercase to uppercase and vice versa. Holding down the key rolls over each character in the line, flipping the case of any alpha characters the editor comes across. You can enter a numeric character prior to the tilde to denote how many alpha characters you want to change.



  • Section save
You can save sections of a file you're currently editing by entering :start,endw file, where start is the first line in the current file from which you want to save, end is the last line that you want to save to, w denotes that you want to write to another file (or overwrite an existing file), and file is the name of the file to which you want to save the specified section. You can use the $ notation for the last line to specify to the end of the file and double greater-than symbols (>>) after the w to indicate that you want to append to rather than overwrite the file

No comments:

Post a Comment