home *** CD-ROM | disk | FTP | other *** search
/ Hacker Chronicles 1 / HACKER1.ISO / phrk3 / phrack27.2 < prev    next >
Text File  |  1992-09-26  |  39KB  |  826 lines

  1.      
  2.      
  3.                                 ==Phrack Inc.==
  4.      
  5.                      Volume Three, Issue 27, File 2 of 12
  6.      
  7.      
  8.                           Operating the IBM VM/SP CP
  9.      
  10.              (IBM Virtual Machine System Product Control Program)
  11.      
  12.                      An information article researched by
  13.      
  14.                                   Taran King
  15.      
  16.                                  May 18, 1989
  17.      
  18.      
  19. This article is for the purpose of understanding the Control Program (CP)
  20. portion of IBM's VM/SP.  This is basically a separate section of VM/CMS known
  21. as CP (with full screen editors, the CP level is indicated in the lower right
  22. hand corner of the screen and for line-by-line editors, before the command line
  23. and after hitting carriage returns, it should say "CP") and it's purpose is to
  24. manage real resources.  Any command that involves something outside of your
  25. virtual machine must communicate with CP.  If CMS does not recognize a command
  26. you give it, it will give it to CP.
  27.      
  28. The user generally enters the CP stage after a program flops or if you get
  29. disconnected.  You can also enter the CP stage by hitting PA1 which is a
  30. function key of sorts.  PA1 toggles between CP and CMS while on-line and if you
  31. re-login after being disconnected, PA1 can be used besides the BEGIN command
  32. which will be spoken about later in this article.
  33.      
  34. Generally, VM/CMS systems are well equipped with help files so if anything I
  35. print becomes unclear to you, from CMS mode, type HELP CP XXX where XXX is the
  36. CP command you want information on.
  37.      
  38. To start this article off, I'm printing off the IBM-Defined Class and the
  39. Function Types as listed in the IBM VM/SP CP manual.  This essentially tells
  40. you what privileges you have with your assigned class.
  41.      
  42. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  43. IBM-Defined      Function         User &
  44.    Class           Type          Functions
  45. ~~~~~~~~~~~      ~~~~~~~~        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46.      A               O           Operations:  The primary sysop can issue all
  47.                                  class A commands.  The class A user controls
  48.                                  the VM/SP system.  Class A is assigned to the
  49.                                  user at the VM/SP system console during IPL.
  50.                                  The primary sysop is responsible for the
  51.                                  availability of the VM/SP system and its
  52.                                  communication lines and resources.  In
  53.                                  addition, the class A user controls system
  54.                                  accounting, broadcast messages, virtual
  55.                                  machine performance options, and other
  56.                                  command operands that affect the overall
  57.                                  performance of the VM/SP.  The sysop controls
  58.                                  operation of the real machine using the
  59.                                  system control panel and console device.
  60.                                  NOTE:  The class A sysop who is automatically
  61.                                  logged on during CP initialization is
  62.                                  designated as the primary sysop.
  63.      
  64.      B               R           Resource:  The system resource operator can
  65.                                  issue all class B commands.  The class B user
  66.                                  controls allocation and deallocation of all
  67.                                  the real resources of the VM/SP system,
  68.                                  except those controlled by the primary sysop
  69.                                  and spooling operator.
  70.      
  71.      C               P           Programmer:  The system programmer can issue
  72.                                  all class C commands.  The class C user
  73.                                  updates certain functions of the VM/SP
  74.                                  system.  The system programmer can modify
  75.                                  real storage in the real machine.
  76.      
  77.      D               S           Spooling:  The spooling operator can issue
  78.                                  all class D commands.  The class D user
  79.                                  controls spool data files and specific
  80.                                  functions of the system's unit record
  81.                                  equipment.
  82.      
  83.      E               A           Analyst:  The system analyst can issue all
  84.                                  class E commands.  The class E user displays
  85.                                  the contents of real storage, performs the
  86.                                  functions required to generate saved systems
  87.                                  and discontiguous saved segments, and
  88.                                  controls the collecting and recording of
  89.                                  performance measurement data.  This class of
  90.                                  user can display specified real storage areas
  91.                                  on the virtual operator's console or on a
  92.                                  spooled virtual printer, but cannot modify
  93.                                  real storage.
  94.      
  95.      F               C           Customer Engineer:  The service
  96.                                  representative can issue all class F
  97.                                  commands.  The class F user obtains, and
  98.                                  examines, in detail, certain data about input
  99.                                  and output devices connected to the VM/SP
  100.                                  system.  The service representative can
  101.                                  establish extensive recording mode for one
  102.                                  I/O device at a time and can cause the
  103.                                  recording of repressible machine check errors
  104.                                  to be initiated or resumed.
  105.      
  106.      G               G           General:  The general user can issue all
  107.                                  class G commands.  The class G user controls
  108.                                  functions associated with the execution of
  109.                                  his virtual machine.  A general user cannot
  110.                                  display or modify real storage.
  111.      
  112.     ANY             ANY          The ANY classification is given to certain CP
  113.                                  commands that are available to any user.
  114.                                  These are primarily for the purpose of
  115.                                  gaining and relinquishing access to the VM/SP
  116.                                  system.
  117.      
  118. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  119.      
  120. The following is the list of commands available along with a brief description
  121. as to what they do and/or formatting and then ending with the IBM-Defined
  122. Class and Function Type.
  123.      
  124. * : From CP, one may use the * command to annotate the terminal console sheet
  125. ~   or the terminal display screen with a comment.  In other words, type * and
  126. then any string of characters you would, for some reason, to be present on the
  127. screen thereafter.
  128. Privilege Class:  ANY
  129. Function Type:  N/A
  130.      
  131. #CP : This command is used to execute a CP Command while in a virtual machine
  132. ~~~   command environment without first signaling attention to get to the CP
  133. command environment which means that when typing P <command> to perform a CP
  134. operation, CP directly receives the command whereas CP <command> merely queues
  135. the command from CP.
  136. Privilege Class:  ANY
  137. Function Type:  ANY
  138.      
  139. ACNT : The ACNT command is used to create accounting records for logged on
  140. ~~~~   users and to reset accounting data.  It also closes a spool file that
  141. is accumulating accounting records.
  142. Privilege Class:  A
  143. Function Type:  O
  144.      
  145. ADSTOP : The ADSTOP command is used to halt the execution of a virtual machine
  146. ~~~~~~   at a virtual instruction point.  The hexloc variable may be placed
  147. after the word ADSTOP which is a 6 character hexadecimal representation of the
  148. virtual instruction address where the execution is to be halted.  The OFF
  149. option of the ADSTOP command cancels any previous ADSTOP setting.
  150. Privilege Class:  G
  151. Function Type:  G
  152.      
  153. ATTN : Use the ATTN command to make an attention interruption pending at your
  154. ~~~~   virtual console.
  155. Privilege Class:  G
  156. Function Type:  G
  157.      
  158. AUTOLOG : This command allows the user to log on any virtual machine defined
  159. ~~~~~~~   in the directory.
  160. Privilege Level:  A, B
  161. Function Type:  O
  162.      
  163. BACKSPAC : The BACKSPAC command is used to restart or reposition the current
  164. ~~~~~~~~   output on a real punch or printer.
  165. Privilege Class:  D
  166. Function Type:  S
  167.      
  168. BEGIN or B : The BEGIN command by itself from CP mode will return the user to
  169. ~~~~~~~~~~   CMS mode in the place where he/she left off before he/she was
  170. disconnected or thrown into CP.  The BEGIN command can also be followed by a
  171. hex location as to where to start in the case of the user wanting to be doing
  172. something other than what was previously occurring.
  173. Privilege Class:  G
  174. Function Type:  G
  175.      
  176. CHANGE or CH : In use of the CHANGE command, there are subcommands with
  177. ~~~~~~~~~~~~   variables.  Generally, the "name" variable is 1 to 4 characters
  178. in length.  The following are the subcommands with functions and formatting:
  179.      
  180.   o  READER or RDR : changes reader spool files.
  181.   o  PRINTER or PRT : changes printer spool files.
  182.   o  PUNCH or PCH : changes punch spool files.
  183.   o  CLASS c1 : designates an existing class where c1 is a 1-character
  184.                 alphanumerical field from A to Z or 0 to 9.
  185.   o  spoolid : spoolid number of file that is to be changed.
  186.   o  FORM form1 : 1 to 8 character alphanumeric form name used to select files
  187.                   to be changed (form1).
  188.   o  ALL : changes all of your spool files.
  189.   o  HOLD : prevents a file from being printed, punched, or read until
  190.             released.
  191.   o  NOHOLD : releases the specified file from the user's HOLD status.
  192.   o  DIST dist : changes the distribution code to variable "dist".
  193.   o  COPY(*)nnn : specifies number of copies of the file you want spooled,
  194.                   which is valid only for printer or punch files.  "nnn" is a
  195.                   number from 1 to 255 and the "*" is  present in the case of
  196.                   a 3800 printer being used so that copies will be made in the
  197.                   printer internally.
  198.   o  FLASH name nnn : signifies that a form's overlay contained in the 3800
  199.                       printer is to be superimposed onto certain pages of
  200.                       output.  "nnn" is a number from 0 to 255 representing
  201.                       the number of copies to be superimposed.
  202.   o  MODIFY name (n) : allows text alteration by preventing information
  203.                        printing or by adding labels to output.  "n" selects a
  204.                        keyword in CHARS to be used for copy modification text.
  205.   o  CHARS name1 (name2(name3(name4)))
  206.      CHARS name1(CH names2(CH names3(CH names4))) : specifies character
  207.                        arrangement table when printing a file.  There can be
  208.                        up to 4 names.
  209.   o  FCB name : controls vertical spacing of output on a page.
  210.   o  FORM form2 : changes spool form name of file to form2.
  211.   o  NAME fn (ft) : assigns identification to spool file in CMS format
  212.                     filename and filetype.
  213.   o  NAME dsname : assigns identification to spool file in non-CMS format
  214.                    where "dsname" is from 1 to 24 characters, suitable for
  215.                    specifying OS or DOS files.
  216. Privilege Class:  S, G
  217. Function Type:  D, G
  218.      
  219. CLOSE or C : The CLOSE command terminates spooling activity on any virtual
  220. ~~~~~~~~~~   spooled unit record or console device.  It Contains the following
  221. subcommands to be followed by the letter C or the word CLOSE:
  222.      
  223.    o  READER or RDR
  224.    o  PRINTER or PRT
  225.    o  PUNCH or PCH
  226.    o  FORM form1
  227.    o  HOLD
  228.    o  NOHOLD
  229.    o  DIST dist
  230.    o  NAME fn (ft)
  231.    o  NAME dsname
  232.    o  vaddr : virtual address (cuu) of device to be closed.
  233.    o  CONSOLE : closes virtual machine's console spool file which makes it a
  234.                 printer spool file.
  235.    o  PURGE : closes and immediately purges from the virtual machine the
  236.               output spool files.  No output file is produced.
  237.    o  CHAIN : only valid for VM/SP HPO Release 4.2 and Profs Spool File
  238.               Enhancement PRPQ.  Indicates that the punchfile is to be
  239.               chained.
  240. Privilege Class:  G
  241. Function Type:  G
  242.      
  243. COMMANDS or COMM : Use COMMAND to list the commands and diagnose codes you are
  244. ~~~~~~~~~~~~~~~~   authorized to use.
  245. Privilege Class:  ANY
  246. Function Type:  ANY
  247.      
  248. COUPLE : Using the COUPLE command connects your virtual non-dedicated
  249. ~~~~~~   channel-to-channel device to another user's virtual device of the
  250. same type or to another one of your own virtual devices of the same type.  The
  251. format of this command is in the form of COUPLE vaddr1 TO userid vaddr2.  The
  252. variable vaddr1 is your virtual address and the variables userid vaddr2
  253. identify the userid and virtual address of that userid to be connected to.
  254. Privilege Class:  G
  255. Function Type:  G
  256.      
  257. CP : The CP command may precede the command to be processed, but it is not
  258. ~~   necessary.  Generally, the CP command is used from CMS mode to queue CP
  259. functions by typing CP <command>.
  260. Privilege Class:  ANY
  261. Function Type:  ANY
  262.      
  263. CPTRAP : The CPTRAP command creates a reader file of a selected trace table,
  264. ~~~~~~   CP interface, and virtual machine interface entries for problem
  265. determination.
  266. Privilege Class:  C
  267. Function Type:  P
  268.      
  269. DCP : This command displays the contents of real storage locations at the
  270. ~~~   terminal.
  271. Privilege Class:  C, E
  272. Function Type:  P
  273.      
  274. DEFINE or DEF : The DEFINE command in CP is used to alter your virtual machine
  275. ~~~~~~~~~~~~~   configuration or channel operating mode.  There are a LOT of
  276. subcommands that are used with the DEFINE command such as RDR or PRT or PCH
  277. and the list goes on and on.  If you want details, there is a help file (type
  278. HELP CP DEF) that is almost 600 lines that goes into detail on each
  279. subcommand.
  280. Privilege Class:  B, G
  281. Function Type:  R, G
  282.      
  283. DETACH or DET : The DETACH command is used to remove a virtual device from the
  284. ~~~~~~~~~~~~~   virtual machine.  The subcommands are as follows:
  285.      
  286.   o  vaddr (vaddr...) : used for multiple addresses to be detached where vaddr
  287.                         is the virtual address (cuu) of the device to be
  288.                         detached.
  289.   o  vaddr-vaddr : used to detach a range of addresses.
  290.   o  CHANNEL c : detaches the real address of the channel.
  291. Privilege Class:  B, G
  292. Function Type:  R, G
  293.      
  294. DIAL : Using the DIAL command logically connects a switched line, leased line,
  295. ~~~~   locally attached, or remote Binary Synchronous (BSC) terminal to a
  296. previously logged-on multiple-access virtual machine.  It is in the format of
  297. DIAL userid (vaddr) where the userid is that to be connected to and the
  298. vaddr is the optional virtual address.
  299. Privilege Class:  ANY
  300. Function Type:  ANY
  301.      
  302. DISABLE : The DISABLE command prevents low speed communications lines from
  303. ~~~~~~~   accessing the system.
  304. Privilege Class:  A, B
  305. Function Type:  R
  306.      
  307. DISCONN or DISC : The DISCONNECT command is used to disconnect your terminal
  308. ~~~~~~~~~~~~~~~   from the system while the virtual machine continues
  309. operation.  Using the DISC HOLD or DISC HO option, you specify that the
  310. communications line is not to be disabled which allows you to avoid re-dialing
  311. the system.
  312. Privilege Class:  ANY
  313. Function Type:  ANY
  314.      
  315. DISPLAY or D : The DISPLAY command allows you to display virtual machine
  316. ~~~~~~~~~~~~   components at your terminal.  Depending on what variable
  317. follows the D or DISPLAY command from CP, you can display virtual storage
  318. locations, storage keys, general registers, floating-point registers, control
  319. registers, vector registers, VAC (Vector Activity Counter), VSR (Vector Status
  320. Register), VMR (Vector Mask Register), PSW (Program Status Word), CAW (Channel
  321. Address Word), and CSW (Channel Status Word).
  322. Privilege Class:  G
  323. Function Type:  G
  324.      
  325. DMCP : This command prints the contents of real storage locations on a user's
  326. ~~~~   virtual spooled printer.
  327. Privilege Class:  C, E
  328. Function Type:  P
  329.      
  330. DRAIN : The DRAIN command stops spooling operations on a specified real unit's
  331. ~~~~~   read devices after the file currently being processed has been
  332. completed.
  333. Privilege Class:  D
  334. Function Type:  S
  335.      
  336. DUMP or DU : Use the DUMP command to print the contents of various components
  337. ~~~~~~~~~~   of the virtual machine on the virtual spooled printer.  Depending
  338. on what variable is placed after the DUMP or DU command, the items printed
  339. include virtual PSW (Program Status Word), general registers, floating-point
  340. registers, control registers, storage keys, and virtual storage locations.
  341. Privilege Class:  G
  342. Function Type:  G
  343.      
  344. ECHO or EC : Defaulted at 1, the ECHO command places the terminal in the echo
  345. ~~~~~~~~~~   environment in which any line entered is transmitted unchanged
  346. back to the terminal a specified number of times, depending on the variable
  347. entered immediately after the word ECHO or EC.
  348. Privilege Type:  G
  349. Function Type:  G
  350.      
  351. ENABLE : Use the ENABLE command to enable the previously disabled or nonabled
  352. ~~~~~~   devices so users may access the system.
  353. Privilege Class:  A, B
  354. Function Type:  R
  355.      
  356. EXTERNAL or EXT : The EXTERNAL command allows the user to simulate an external
  357. ~~~~~~~~~~~~~~~   interrupt to the virtual machine and to return control to
  358. that machine.  The hexadecimal code following the word EXTERNAL or EXT is
  359. associated with the external interrupt, the default being the number 40 which
  360. is associated with the external interrupt button on a system console.
  361. Privilege Class:  G
  362. Function Type:  G
  363.      
  364. FLUSH : The FLUSH command halts and immediately purges on hold the current
  365. ~~~~~   output on a specified unit record device.
  366. Privilege Class:  D
  367. Function Type:  S
  368.      
  369. FORCE : This command forces a logoff of any user of the system.
  370. ~~~~~
  371. Privilege Class:  A
  372. Function Type:  O
  373.      
  374. FREE : Use the FREE command to remove a set of spool files belonging to a
  375. ~~~~   specified user from a system hold status.
  376. Privilege Class:  D
  377. Function Type:  S
  378.      
  379. HALT : The HALT command terminates any active channel program on a specified
  380. ~~~~   real device.
  381. Privilege Class:  A
  382. Function Type:  O
  383.      
  384. HOLD : The HOLD command places user spool files in a system hold status.
  385. ~~~~
  386. Privilege Class:  D
  387. Function Type:  S
  388.      
  389. INDICATE or IND : At your terminal, you can display the use of and contention
  390. ~~~~~~~~~~~~~~~   for major system resources with the INDICATE command.  The
  391. following variables that follow the word INDICATE or IND show the following
  392. data:
  393.      
  394.   o  LOAD : shows number of users in queue 1 and queue 2, the usage of real
  395.             storage, and the ratio of active users to users being serviced.
  396.             This is done by returning values that indicate operating load on
  397.             the system.
  398.   o  USER : displays the amounts of system resources used by your virtual
  399.             machine in the current terminal session.
  400. Privilege Class:  A, E, G
  401. Function Type:  O, A, G
  402.      
  403. IPL or I : Generally used to return to CMS via the IPL CMS  or I CMS command,
  404. ~~~~~~~~   the IPL command simulates an initial program load function for a
  405. virtual machine.  Subcommands are as follows:
  406.      
  407.   o  vaddr : virtual address (cuu) of the device that contains the nucleus to
  408.              be loaded.
  409.   o  cylno : cylinder containing the IPL data which defaults to 0.
  410.   o  nnnnn : block address containing the IPL data which defaults to 0.
  411.   o  CLEAR : sets virtual storage space to binary zeros before the operating
  412.              system is loaded.
  413.   o  NOCLEAR : allows contents of your virtual storage space to remain
  414.                unchanged prior to program load.
  415.   o  STOP : halts the virtual machine during the IPL procedure just before the
  416.             initial PSW is loaded.
  417.   o  ATTN : generates an attention interrupt to the virtual machine during the
  418.             IPL procedure.
  419.   o  PARM p1 (p2...) : processes up to 64 bytes of data to your virtual
  420.                        machine's general registers starting with the high
  421.                        order byte of general register 0.
  422.   o  systemname : simulates IPL function when loading a named system that was
  423.                   previously saved.
  424. Privilege Class:  G
  425. Function Type:  G
  426.      
  427. LINK : The LINK command is used to make a device that is associated with
  428. ~~~~   another virtual machine available at your virtual machine configuration
  429. based upon info in that user's directory entry.  This command is in the format
  430. of LINK TO userid vaddr1 AS vaddr2 (mode) ((PASS=) password(1)).
  431. Privilege Class:  G
  432. Function Type:  G
  433.      
  434. LOADBUF : On a 1403 printer, the LOADBUF command loads the Universal Character
  435. ~~~~~~~   Set (UCS) with a specified print train or chain image.  On a
  436. 3203, 3211, 3212, 4245, or 4248 printer, it loads the UCS or the Forms Control
  437. Buffer (FCB) with a specified image.  On a 3289 Model 4 printer, it loads the
  438. Font Offset Buffer (FOB) with the image print belt and the FCB.
  439. Privilege Class:  D
  440. Function Type:  S
  441.      
  442. LOADVFCB : This command specifies the forms control buffer image for different
  443. ~~~~~~~~   virtual spooled printers.  The variables that follow it include:
  444.      
  445.   o  vaddr
  446.   o  FCB : required reserved keyword meaning Forms Control Buffer.
  447.   o  name : a name that is system defined.
  448.   o  INDEX (nn) : place initial printing position in number nn for the 3211
  449.                   printer.
  450. Privilege Class:  G
  451. Function Type:  G
  452.      
  453. LOCATE : Use the LOCATE command to find the addresses of CP control blocks
  454. ~~~~~~   associated with a particular user, a user's device, or a real system
  455. device.
  456. Privilege Class:  C, E
  457. Function Type:  P
  458.      
  459. LOCK : This command permanently locks in selected pages of real storage.
  460. ~~~~
  461. Privilege Class:  A
  462. Function Type:  O
  463.      
  464. LOGOFF or LOGOUT or LOG : Used to terminate a virtual machine session and
  465. ~~~~~~~~~~~~~~~~~~~~~~~   disconnect your virtual machine from the system,
  466. this command can be used with the HOLD option (i.e.  LOG HOLD) for retaining
  467. the connection allowing for a switched communications line to enable one to
  468. log on without re-dialing the system.
  469. Privilege Class:  ANY
  470. Function Type:  ANY
  471.      
  472. LOGON or LOGIN or L : Obvious enough, the LOGIN or LOGON command is used to
  473. ~~~~~~~~~~~~~~~~~~~   identify yourself to the system and to access that
  474. system.  Following the words LOGIN or LOGON or L, type your userid which is
  475. the identifier assigned to you in the system.  If the system you are logging
  476. onto does NOT have password suppression, your password can follow directly
  477. after your userid.  NOTE:  If the system you are on does have password
  478. suppression (i.e.  it does not echo to your screen what you type when you type
  479. your password), you will get a system error message if you try to put it on
  480. the same line as your userid.  The NOIPL option, which would follow your
  481. password and userid, specifies that the IPL device or name in the directory
  482. should not be used for an automatic IPL.
  483. Privilege Class:  ANY
  484. Function Type:  ANY
  485.      
  486. MESSAGE or MSG or M : Use the MESSAGE command to transmit message text to a
  487. ~~~~~~~~~~~~~~~~~~~   specified userid or to the primary system operator
  488. userid.  MSG userid msgtext sends msgtext to the userid specified after
  489. userid. If userid is replaced with *, the text is sent to yourself.  Also, if
  490. the userid is replaced with OPERATOR, the message text is sent to the primary
  491. system operator regardless of his userid.
  492. Privilege Class:  A, B, ANY
  493. Function Type:  O, ANY
  494.      
  495. MIGRATE : The MIGRATE command activates the normal page/swap table migration
  496. ~~~~~~~   routines or forces a particular user's pages to a secondary device
  497. even if that user is currently active.
  498. Privilege Class:  A
  499. Function Type:  O
  500.      
  501. MONITOR : To initiate or override the system-generated function or to
  502. ~~~~~~~   terminate the recording of events occurring in the real machine, use
  503. the MONITOR command.
  504. Privilege Class:  A, E
  505. Function Type:  O
  506.      
  507. MSGNOH : The MSGNOH command allows a service virtual machine to send messages
  508. ~~~~~~   to specified users without the standard header associated with the
  509. MESSAGE command.
  510. Privilege Class:  B
  511. Function Type:  R
  512.      
  513. NETWORK : The NETWORK command allows you to load, dump and control operation
  514. ~~~~~~~   of a 3704 or 3705 and to control operation of a 3725 control program
  515. operating in 270x emulation mode (EP).  Also, it allows control of remote 3270
  516. devices via binary synchronous lines.
  517. Privilege Class:  A
  518. Function Type:  O
  519.      
  520. NOTREADY or NOTR : Using the NOTREADY command causes the virtual device, which
  521. ~~~~~~~~~~~~~~~~   is specified after the NOTREADY statement via cuu address,
  522. to appear as if it had changed from ready to not ready status.
  523. Privilege Class:  G
  524. Function Type:  G
  525.      
  526. ORDER or ORD : ORDER is used to place your closed spool files in a specific
  527. ~~~~~~~~~~~~   order by device type.  These spool files include READER,
  528. PRINTER, and PUNCH files and can be sorted by CLASS, FORM, and spoolid.
  529. Privilege Class:  D, G
  530. Function Type:  S, G
  531.      
  532. PER : PER allows one to monitor certain events as they occur during program
  533. ~~~   execution in the user's virtual machine.  This command can monitor the
  534. fetching and execution of an instruction, the execution of a successful branch
  535. instruction, the instruction of an instruction that alters a specific general
  536. purpose register, and the execution of an instruction in the virtual machine
  537. that alters storage.
  538. Privilege Class:  A, B, C, D, E, F, G
  539. Function Type:  G
  540.      
  541. PURGE or PUR : Use the PURGE command to remove your own closed spool files
  542. ~~~~~~~~~~~~   from the system before they are printed or punched by the
  543. spooling devices, or before they are read by a user.  The spool file
  544. specifications include READER, PRINTER, and PUNCH files as well as the ALL
  545. option which purges all of the above mentioned files.
  546. Privilege Class:  D, G
  547. Function Type:  S, G
  548.      
  549. QUERY or Q : Also available in CMS mode, the QUERY command is used to
  550. ~~~~~~~~~~   determine your system status and machine configuration.
  551. Although there are far too many subcommands of the QUERY command, the
  552. following is a list of items that may be queried.  I recommend, for full
  553. detail, using the HELP CP QUERY command as it is quite thorough (over 1000
  554. lines) in explaining the QUERY command.
  555.      
  556.   o  The time you have used during a terminal session.
  557.   o  The number of closed input and output spool files associated with
  558.      your virtual machine.
  559.   o  The current settings of the color and/or extended highlight values
  560.      in effect for your virtual machine console.
  561.   o  The current settings of the SET command functions.
  562.   o  The current settings of the TERMINAL command functions.
  563.   o  The status of all the devices on your virtual machine.
  564.   o  The channel operating mode of your virtual machine, whether
  565.      block-multiplexer or selector.
  566.   o  A listing of all users who are linked to a given virtual address,
  567.      together with their device addresses and access modes.
  568.   o  Display of the secondary user (secuser) that is specified in the
  569.      CONSOLE directory statement.
  570.   o  Identification and attributes associated with your virtual
  571.      PRINTER, PUNCH, and READER spool files.
  572.   o  The identification of your virtual processor.
  573.   o  The mode of processor operation of your VM/SP HPO installation:
  574.      uniprocessor mode (UP), attached processor mode (AP), or
  575.      multiprocessor mode (MP).
  576.   o  The userid and system identifier.
  577.   o  A listing of the PER traceset elements.
  578.   o  The log messages of the day.
  579.   o  The names of the users that are logged on.
  580.   o  The number of users that are logged on or dialed to the system.
  581.      
  582. NOTE:  There are other operands you can use with the QUERY command if you
  583.        have the privilege class required to use them.
  584. Privilege Class:  A, B, C, D, E, F, G
  585. Function Type:  O, R, P, S, A, C, G
  586.      
  587. QVM : Use this command to request the transition from the VM/SP environment to
  588. ~~~   native mode for a particular virtual machine.
  589. Privilege Class:  A
  590. Function Type:  O
  591.      
  592. READY : In the format of READY vaddr, this command is used to set a device-end
  593. ~~~~~   interruption pending for the specified virtual device.
  594. Privilege Class:  G
  595. Function Type:  G
  596.      
  597. REPEAT : Use the REPEAT command to increase the number of copies of an output
  598. ~~~~~~   file or to place the current output file in a hold status increasing
  599. or not increasing the number of copies to be created.
  600. Privilege Class:  D
  601. Function Type:  S
  602.      
  603. REQUEST or REQ : Simply use the REQUEST command to make an attention interrupt
  604. ~~~~~~~~~~~~~~   at your virtual console.
  605. Privilege Class:  G
  606. Function Type:  G
  607.      
  608. RESET : Also in the format of RESET vaddr, this command is used to clear all
  609. ~~~~~   pending interrupts from the specified virtual device.
  610. Privilege Class:  G
  611. Function Type:  G
  612.      
  613. REWIND or REW : The REWIND command is used to rewind a real tape unit attached
  614. ~~~~~~~~~~~~~   to your virtual machine at a specified virtual device address
  615. in the format REWIND vaddr.
  616. Privilege Class:  G
  617. Function Type:  G
  618.      
  619. SAVESYS : This command allows you to save a virtual machine storage space with
  620. ~~~~~~~   registers and the PSW as they currently exist.  It is used in the
  621. process of creating named systems.
  622. Privilege Class:  E
  623. Function Type:  A
  624.      
  625. SCREEN or SCRE : Use the SCREEN command to alter or change any extended color
  626. ~~~~~~~~~~~~~~   and/or extended highlight definitions for your virtual
  627. machine console.  You may issue the command from any IBM supported terminal or
  628. from a PROFILE EXEC because the SCREEN command is not device dependent.
  629. However, the SCREEN command is only valid when the Extended Color Feature has
  630. been applied to the terminal controller.
  631.      
  632. You can assign extended color and extended highlighting values to six distinct
  633. display screen areas:  the input area, the system status area, and the output
  634. area that encompasses three other areas: CP output, virtual machine output,
  635. virtual machine output, and an input redisplay area.  The physical attributes
  636. of 3270 Information Display station screens vary according to model.
  637.      
  638. Because this command mainly applies to people who are not on dial-up, I have
  639. elected not to detail all of the variables available with the SCREEN command.
  640. Once again, I recommend you using HELP CP SCREEN for details.
  641. Privilege Class:  G
  642. Function Type:  G
  643.      
  644. SEND : Using the Single Console Image Facility, the SEND command is used to
  645. ~~~~   pass commands and message replies for the secondary user's console to
  646. disconnect virtual machines for execution.  This command is executed in the
  647. format:  SEND (CP) userid (text).
  648. Privilege Class:  G
  649. Function Type:  G
  650.      
  651. SET : Use the SET command to control various functions within your virtual
  652. ~~~   system.  This command has a large number of variables that can be SET
  653. and details for each of the variables can be obtained from the HELP CP SET
  654. file.
  655. Privilege Class:  A, B, E, F, G
  656. Function Type:  O, R, A, C, G
  657.      
  658. SHUTDOWN : This command, of course, systematically ends all virtual machine
  659. ~~~~~~~~   functions and checkpoints the system for an eventual warn start.
  660. Privilege Class:  A
  661. Function Type:  O
  662.      
  663. SLEEP or SL : To place the virtual machine in a dormant state but allow
  664. ~~~~~~~~~~~   messages to be displayed, use the SLEEP command in the format
  665. of SLEEP nn (time-specification) where time-specification is SEC for seconds,
  666. MIN for minutes, or HR for hours and nn is the number of the amount of time
  667. for the machine to be in dormant state.
  668. Privilege Class:  G
  669. Function Type:  G
  670.      
  671. SMSG or SM : The SMSG command is used to send a special message to a virtual
  672. ~~~~~~~~~~   machine programmed to accept and process the message.  The format
  673. of this command is SMSG userid msgtext where userid is the userid to receive
  674. the message and msgtext is the message to be sent to the userid.
  675. Privilege Class:  G
  676. Function Type:  G
  677.      
  678. SPACE : Use the SPACE command to force the output on a specified printer to be
  679. ~~~~~   single spaced for the current active spool file regardless of the
  680. carriage control commands in the actual file.
  681. Privilege Class:  D
  682. Function Type:  S
  683.      
  684. SPMODE : SPMODE allows the system operator to establish or reset the single
  685. ~~~~~~   processor mode environment.
  686. Privilege Class:  A
  687. Function Type:  O
  688.      
  689. SPOOL or SP : Use the SPOOL command to modify the spooling control options in
  690. ~~~~~~~~~~~   effect for a given virtual spooling device or for a group of
  691. devices.  The SPOOL command can also start or stop the spooling of virtual
  692. console input and output.  You can direct a file to a remote location by using
  693. the SPOOL command in conjunction with the TAG command.
  694. Privilege Class:  G
  695. Function Type:  G
  696.      
  697. SPTAPE : Use this command to dump spool files to tape or to load spool files
  698. ~~~~~~   from tape.
  699. Privilege Class:  D
  700. Function Type:  S
  701.      
  702. START : The START command restarts a spooling device after it has been drained
  703. ~~~~~   or changes the output class that it may service.
  704. Privilege Class:  D
  705. Function Type:  S
  706.      
  707. STCP : To alter the contents of real storage but not real PSW or real
  708. ~~~~   registers, use the STCP command.
  709. Privilege Class:  C
  710. Function Type:  P
  711.      
  712. STORE or ST : The STORE command is used to alter the contents of specified
  713. ~~~~~~~~~~~   registers and locations of the virtual machine.  As well as
  714. saving virtual machine data in low storage, the contents of the following can
  715. be altered:
  716.      
  717.   o  Virtual storage locations
  718.   o  General registers
  719.   o  Floating-point registers
  720.   o  Control registers
  721.   o  Program Status Word (PSW)
  722. Privilege Class:  G
  723. Function Type:  G
  724.      
  725. SYSTEM or SYS : SYSTEM is used to simulate the action of the RESET and RESTART
  726. ~~~~~~~~~~~~~   buttons on the real computer console, and to clear storage.
  727. The variables are as follows:
  728.      
  729.   o  CLEAR : clears virtual storage and virtual storage keys to binary zeros.
  730.   o  RESET : clears all pending interrupts and conditions in the virtual
  731.              machine.
  732.   o  RESTART : simulates the hardware system RESTART function by storing the
  733.                current PSW at virtual location eight and loading, as the new
  734.                PSW, the doubleword from virtual location zero.
  735. Privilege Class:  G
  736. Function Type:  G
  737.      
  738. TAG or TA : The TAG has many different variables that can be tagged, which are
  739. ~~~~~~~~~   too many to list here because of different settings for each one,
  740. but it is used to associate file descriptive information with a spool file.
  741. Privilege Class:  G
  742. Function Type:  G
  743.      
  744. TERMINAL or TERM : The TERMINAL command is used to control the following
  745. ~~~~~~~~~~~~~~~~   functions associated with your virtual console:
  746.      
  747.   o  Logical line-editing symbols
  748.   o  Masking of password
  749.   o  The APL character set
  750.   o  The Text character set
  751.   o  Signaling of an attention interrupt
  752.   o  Attention handling mode for your virtual console
  753.   o  Line length for output on your virtual console
  754.   o  Specifying terminal device type as 3101 or TTY
  755.   o  Location of cursor preceding terminal read
  756.   o  Scrolling rate for 3101 terminal
  757. Privilege Class:  G
  758. Function Type:  G
  759.      
  760. TRACE or TR : Use the TRACE command to trace specified virtual machine
  761. ~~~~~~~~~~~   activity and to record the results at the terminal, on a virtual
  762. spooled printer, or on both terminal and printer.  If you issue more than one
  763. TRACE command, the operands are cumulative; that is, operands specified for the
  764. first time are activated, whereas those specified with new modifiers are
  765. updated.  The RUN and NORUN operands, however, can be specified in different
  766. tracing functions and do not cause a conflict.
  767.      
  768. You cannot issue the TRACE command while preferred machine assist is
  769. operating, whether or not you have enabled the preferred machine assist
  770. feature's control switch assist.
  771. Privilege Class:  G
  772. Function Type:  G
  773.      
  774. TRANSFER or TRAN : This command is used to transfer your closed spool files to
  775. ~~~~~~~~~~~~~~~~   a specified user or queue, or to reclaim closed spool files
  776. that you created.
  777. Privilege Class:  D, G
  778. Function Type:  S, G
  779.      
  780. UNLOCK : Use the UNLOCK command to unlock page frames previously locked by a
  781. ~~~~~~   LOCK command.
  782. Privilege Class:  A
  783. Function Type:  O
  784.      
  785. VARY : The VARY command marks a device available or unavailable for use by a
  786. ~~~~   user or the control program.
  787. Privilege Class:  B
  788. Function Type:  R
  789.      
  790. VMDUMP or VMD : The VMDUMP command dumps virtual storage that VM/SP HPO
  791. ~~~~~~~~~~~~~   creates for the virtual machine user.  VMDUMP dumps the
  792. following:
  793.      
  794.   o  Virtual Program Status Word (PSW)
  795.   o  General registers
  796.   o  Floating-point registers
  797.   o  Control registers
  798.   o  Storage protection keys
  799.   o  Virtual machine type identification
  800.   o  Timer values
  801. Privilege Class:  G
  802. Function Type:  G
  803.      
  804. WARNING : Use the WARNING command to transmit high-priority messages to a
  805. ~~~~~~~   specified user or to all users.
  806. Privilege Class:  A, B
  807. Function Type:  O
  808.      
  809. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  810. This article is far from totally complete as far as in-depthness goes.  As I
  811. have stated in numerous portions of this file, the VM/CMS system has a very
  812. good HELP file system, and from CMS, the command HELP CP <command> will, in
  813. most cases, allow you to read a relatively clear text file containing the
  814. details and usage specifications of these commands.  I hope that, should you be
  815. moving around a VM/CMS system, this file will assist you in the CP mode.
  816.      
  817. For those that wish to contact me for commentary on this file topic or other
  818. topic conversation, you can send e-mail to my network addresses:
  819.      
  820.                     Internet:  C488869@UMCVMB.MISSOURI.EDU
  821.                       Bitnet:  C488869@UMCVMB.BITNET
  822.      
  823. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  824.  
  825. Downloaded From P-80 International Information Systems 304-744-2253 12yrs+
  826.