[Library] [Contents] [Revisions] [Prev Topic] [Next Topic] [Search] [Search Results] [Prev Topic Match] [Next Topic Match] [Notes] [List Notes] [Print] [Download] [Help]

4.2.3.3.6 How to Lock or Unlock a Window



Whenever you or the system enters data in a stream, you can easily scroll towards the bottom of the stream by pressing the Enter key each time the window fills up with information. Sometimes, however, you don't want your data to move, for example, when you are scrolling or using the FIND command to locate a specific text-string. Therefore, Session Manager automatically locks the window when you issue the FIND or SCROLL commands.

   When a window is locked, it means that the window is frozen at its current 
   position and will not move to display new information even if you press 
   the Enter key. In the default environment where several of the program 
   function (PF) keys issue the FIND and SCROLL commands, pressing the key 
   causes the default window (MAIN) to lock. This window locks so that when 
   you use a PF key to scroll over the information in a stream, the window 
   remains at that position until you are ready to move it. A locked window, 
   however, does not mean that new information cannot enter the bottom of the 
   stream. 


   An unlocked window in the default environment means that each time you 
   press the Enter key, the MAIN window automatically moves to the next 
   half-page of information. 


   You can unlock a window at its present position, at the bottom of the 
   stream, or at the information it was displaying when it was last unlocked 
   by using the UNLOCK command. After issuing this command, you can 
   automatically move the window forward over the stream by pressing the 
   Enter key. 




[Prev Topic] [Next Topic] © Copyright IBM Corp. 1988, 2000

IBM BookManager® BookServer Copyright 1989, 1999 IBM Corporation. All rights reserved.


Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]

Glossary - IBM Dictionary of Computing

How to: [ Order publications | Contact OS/390 ]