CP Command Reference for General Users (Rel 6 PLC 17 Apr81)
Page153(165 of 213)
SYSTEM ITse the SYSTEM command to simulate the action of the RESET and RESTART buttons on the real computer console, and to clear storaqe. The format of the SYSTEM command is: r----------- L SYStem I , I { CLEAR } RESTART I I I J CLEAR virtual storage and virtual storage keys to binary zerDS. RESET clears all pendinq interrupts and conditions in the virtual machine. RESTARr simulates the hardware system RESTART function by storing the current PSi at virtual location eiqht and loading, as the new PSi, the douhleword from virtual location zero. Interrupt coniitions and storage remain unaffected. 1. The function and the CLEAR function leave the virtual machine in disabled wait state. Both CLEAR and RESET clear pending interrupts. Both functions load a PSi that is all zeroes except for the wait bit which is set on. 2. After issuinq the SYSTEM command with RESET or CLEAR specified, either STORE a PSi and issue BEGIN or issue BEGIN with a storage location specified, to resume operation. The virtual machine automatically restarts at the location specified in the new PSi (which is loaded from the doubleword at location zero) after the SYSTEM RESTART command is processed. STORAGE CLEARED - SYSTEM BESET is the response given if the command SYSrEM CLEAR is entered. SYSTEM RESET is the response qiven if the command SYSTEM RESET is entered. If the c3mmand SYSTEM RESTART is entered, no response is given; the virtual machine resumes execution at the address in the virtual PSi loaded frDm virtual storage location zero. Section 5. Format of CP Commands 153
TAG Use the rAG to associate file information with a VM/370 file. The format of the TAG command is: r----- DEV TAq PUnch DEv CONsole [tagtext] vaddr FIle spoolid [tagtext 1 rrinter} PUnch DEv CONsole OUery vaddr FIle spoolid PClt CONSOLE vaddr with t.he queried. a spoolinq device whose output is to be associated taq information or whose tag information is to be Note: when a qeneric device name, such as PRINTER or CONSOLE in the TAG command, all current virtual devices of that type are affected. FILE spoolid t aqtext specifies a previously closed spool file whose tag information is to be replaced or aueried. This form of the TAG command can only be used for reader spool files that are queued on virtual reader. The spoolid operand is the spool file identification, a number 1 and 9900 and assigned by CP when the spool file was closed. is the information (up to 134 characters in length, including imbedded that is to be associated with the specified spool device or spool file. The contents and format of this data is cOIDPletely flexible and is the responsibility of the file originator and the end user. certain control and addressing information, meaningful to the RSCS component of VM/370, can be specified in this field. For details on how to use the taqtext operand when transmitting files across the RSCS network, refer to the following "Usage Not e s " sect ion. 154 IBM VM/370 CP Command Feference for General Users