home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / openvms_faq / openvms_frequently_asked_questions_faq.txt < prev   
Text File  |  1998-12-08  |  189KB  |  4,244 lines

  1. Subject: OpenVMS Frequently Asked Questions (FAQ), Part 1/3
  2. Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha,vmsnet.misc,comp.answers,news.answers
  3. Approved: news-answers-request@mit.edu
  4. Followup-to: poster
  5. Expires: 31 March 1999 00:00:00 GMT
  6. Supersedes: <6ptdfh$309@usenet.pa.dec.com>
  7. Summary: This posting contains answers to frequently asked questions
  8.     about the OpenVMS operating system from Digital Equipment Corporation,
  9.     and the computer systems on which it runs.
  10.  
  11. Archive-name: dec-faq/vms/part1
  12. Posting-Frequency: bi-monthly
  13. Last-modified: 16 November 1998
  14.  
  15. Changes since last edition
  16. ==========================
  17. Add DOC11 on tutorial user information
  18. Update VAX5 on VAXstation 3100 disk size limit
  19. Update Y2K3, add Y2K6 on "do I need to consider Y2K?"
  20. Add FILE8 on the size of a disk block.
  21. Add new MGMT8 on changing the timezone in batch (old MGMT8 was a duplicate)
  22. Add MGMT17 on negative pagefile reservable pages number.
  23. Add MGMT18 on updating layered product versions when OpenVMS is updated
  24. Add PROG14, PROG15 on number of bytes in a disk block and memory page
  25. Add PROG16 about creating a process under another username
  26. Add DCL7 about changing the system prompt.
  27. Add DCL8 about doing DECnet task-to-task I/O in DCL
  28. Add DECW11 about XtAppAddInput.
  29.  
  30. Overview
  31. ========
  32. This is part 1/3 of the Frequently Asked Questions (FAQ) posting for the 
  33. comp.os.vms and vmsnet.misc newsgroups.  (comp.os.vms is
  34. bidirectionally-gatewayed to the INFO-VAX mailing list - see INTRO3 for further
  35. details.)  It contains answers to frequently asked questions about Digital's
  36. OpenVMS operating system and the computer systems on which it runs.
  37.  
  38. This FAQ is archived in the following locations:
  39.     comp.answers and news.answers newsgroups
  40.     ftp://ftp.digital.com/pub/Digital/dec-faq/vms
  41.     ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/vms
  42.     CompuServe VAXFORUM, Library 0, VMSFAQ.TXT
  43.  
  44. User-created HTML versions of the FAQ are located at:
  45.     http://www.kjsl.com/vmsfaq
  46.     http://eisner.decus.org/vms/faq.htm
  47.  
  48. To make suggestions for changes or additions to this Frequently Asked
  49. Questions list, send mail to the editor at Steve.Lionel@digital.com.  
  50. Answers are especially appreciated.  Please do NOT send technical questions
  51. to the editor - post them to the appropriate newsgroup instead.
  52.  
  53. Some general notes:
  54.  
  55. The term "VMS" is synonymous with "OpenVMS".  "Alpha", "AlphaGeneration" or 
  56. "AXP" generally refers to any system or product based on or related to 
  57. Digital's Alpha processor architecture.  OpenVMS manual names mentioned are
  58. those as of V7.1 - names may be different in other editions of the
  59. documentation set.
  60.  
  61. World-Wide Web Universal Resource Locator (URL) notation is used for FTP
  62. addresses.
  63.  
  64. Many people have contributed to this list, directly or indirectly.  In
  65. some cases, an answer has been adapted from one or more postings on the
  66. comp.os.vms newsgroup.  Our thanks to all of those who post answers.
  67. The name (or names) at the end of an entry indicate that the information
  68. was taken from postings by those individuals; the text may have been
  69. edited for this FAQ.  These citations are only given to acknowledge the
  70. contribution.
  71.  
  72. Although the editor of this FAQ is an employee of Digital Equipment
  73. Corporation, this posting is not an official statement from Digital 
  74. Equipment Corporation.  
  75.  
  76. AlphaGeneration, AlphaServer, AlphaStation, Alpha AXP, AXP, DEC, DECstation,
  77. DECsystem, OpenVMS, ULTRIX, VAX and VMS  are trademarks of Digital Equipment
  78. Corporation.  OSF/1 is a registered trademark of the Open Software Foundation.
  79. UNIX is a registered trademark in the United States and other countries,
  80. licensed exclusively through X/Open Company Ltd.  Other names are properties of
  81. their respective owners.
  82.  
  83.  
  84. Table of Contents - Part 1/3
  85. ____________________________
  86.  
  87. Introduction
  88. ========================================
  89. INTRO1.  What is the scope of comp.os.vms?
  90. INTRO2.  What other newsgroups carry VMS-related information?
  91. INTRO3.  What is INFO-VAX?
  92. INTRO4.  How do I subscribe to or unsubscribe from INFO-VAX?
  93. INTRO5.  How do I submit a question or a response?
  94. INTRO6.  What is DECUS?
  95. INTRO7.  What archives of comp.os.vms/INFO-VAX are available?
  96.  
  97. General questions about OpenVMS
  98. ========================================
  99. VMS1.   What is OpenVMS?  What is its history?
  100. VMS2.   What is the difference between VMS and OpenVMS?
  101. VMS3.   How do I port from VMS to OpenVMS?
  102. VMS4.   Which is better - OpenVMS or UNIX?
  103. VMS5.   Is Digital dropping support for OpenVMS?
  104. VMS7.   What OpenVMS CD-ROM products are available?
  105. VMS8.   In what language is OpenVMS written?
  106. VMS9.   How do I obtain or transfer a VMS license?
  107. VMS10.  What is OpenVMS doing about the Euro currency symbol?
  108.  
  109. Alpha and Alpha-based systems
  110. ========================================
  111. ALPHA1.   What do the letters AXP stand for?
  112. ALPHA2.   What are the OpenVMS differences between VAX and Alpha?
  113. ALPHA3.   Are there Alpha systems on the net I can try out?
  114. ALPHA4.   How do I join Digital's Association of Software & Application
  115.           Partners program?
  116. ALPHA5.   Where can I find performance information about Alpha systems?
  117. ALPHA6.   Where can I get updated console firmware for AlphaServer systems?
  118. ALPHA7.   How do I boot an AlphaStation without monitor or keyboard?
  119. ALPHA8.   Will OpenVMS run on a Multia?
  120. ALPHA9.   What is the least expensive system that will run OpenVMS?
  121.  
  122. VAX and VAX-based systems
  123. ========================================
  124. VAX1.   Please explain the back panel of the MicroVAX II
  125. VAX2.   What is the layout of the VAX floating point format?
  126. VAX3.   Where can I find more info on VAX systems?
  127. VAX4.   Where can I find information on NetBSD for VAX systems?
  128. VAX5.   Tell me about the system disk size limit on the VAXstation 3100.
  129. VAX6.   How does OpenVMS VAX maintain system time?
  130.  
  131. Documentation and other resources
  132. ========================================
  133. DOC1.   Where can I find online copies of OpenVMS manuals?
  134. DOC2.   What online information is available?
  135. DOC3.   What books and publications are available?
  136. DOC4.   How do I extract a HELP topic to a text file?
  137. DOC5.   Does OpenVMS Marketing have an e-mail address?
  138. DOC6.   What OpenVMS-related WWW sites are available?
  139. DOC7.   Where can I find patches for OpenVMS and Digital layered products?
  140. DOC8.   Where can I find info about undocumented OpenVMS features?
  141. DOC9.   Where is documentation on the DECnet Phase IV protocols?
  142. DOC10.  Where can I learn about how the VMS executive works internally?
  143. DOC11.  Where can new users find tutorial information about OpenVMS?
  144.  
  145. Year 2000 Issues
  146. ========================================
  147. Y2K1.  Does OpenVMS have a problem with the year 2000?
  148. Y2K2.  What happens with the C tm_year field in the year 2000?
  149. Y2K3.  What happens with the year 2038 with C?
  150. Y2K4.  Is the year 2000 a leap year?
  151. Y2K5.  What is covered by the OpenVMS Y2K Evaluation?
  152. Y2K6.  Do I need to consider Y2K?  Do I even need the Y2K ECO?
  153.  
  154. Table of Contents - Part 2/3
  155. ____________________________
  156.  
  157. System Management
  158. ========================================
  159. MGMT1.  What is an installed image?
  160. MGMT2.  Are there any known viruses for OpenVMS?
  161. MGMT3.  How do I mount an ISO-9660 CD on OpenVMS?
  162. MGMT4.  How do I extract the contents of a PCSI kit?
  163. MGMT5.  I've forgotten the SYSTEM password - what can I do?
  164. MGMT6.  How do I connect a PostScript printer via TCP/IP?
  165. MGMT7.  Why can't I do a SET TIME command?
  166. MGMT8.  How do I change the timezone differential and time in batch?
  167. MGMT9.  How do I change the node name of an OpenVMS System?
  168. MGMT10. What is the correct value for EXPECTED_VOTES in a VMScluster?
  169. MGMT11. Why doesn't OpenVMS see the new memory I just added?
  170. MGMT12. How do I write a BACKUP saveset to a remote tape?
  171. MGMT13. Tell me about SET HOST/DUP and SET HOST/HSC
  172. MGMT14. How do I install DECnet Phase IV on VMS 7.1?
  173. MGMT15. How do I change the text in a user's UIC identifier?
  174. MGMT16. What are the OpenVMS version upgrade paths?
  175. MGMT17. Why do I have negative number in the pagefile reservable pages?
  176. MGMT18. Do I have to update layered products when updating OpenVMS?
  177.  
  178. MAIL
  179. ========================================
  180. MAIL1.  How do I send Internet mail?
  181. MAIL2.  How do I get IN% or MX% added automatically to Internet addresses?
  182. MAIL3.  How do I automatically append a signature file to my mail messages?
  183. MAIL4.  Do I have to use VMS MAIL?  I like my Unix mailer better.
  184. MAIL5.  How can I forward my mail?  Can I forward it to an Internet address?
  185. MAIL6.  How can I forward my mail to a list of addresses?
  186. MAIL7.  MAIL keeps saying I have new messages, but I don't.  What do I do?
  187. MAIL8.  How do I extract all of my mail messages to a file?
  188. MAIL9.  How do I send or read attachments in VMS MAIL?
  189.  
  190. Other Utilities
  191. ========================================
  192. UTIL1.  How do I play an audio CD on my workstation?
  193. UTIL2.  How do I access a MS-DOS floppy disk from OpenVMS?
  194. UTIL3.  How do I play sound files on an AlphaStation?  DECsound doesn't work
  195.  
  196. DCL and command usage
  197. ========================================
  198. DCL1.   How do I run a program with arguments?
  199. DCL2.   How can I redefine control keys in DCL?
  200. DCL3.   How can I clear the screen in DCL?
  201. DCL4.   How do I do a REPLY/LOG in a batch stream?
  202. DCL5.   How do I generate a random number in DCL?
  203. DCL6.   What does the MCR command do?
  204. DCL7.   How do I change the OpenVMS system prompt?
  205. DCL8.   Can I do DECnet task-to-task communication with DCL?
  206.  
  207. File System and RMS
  208. ========================================
  209. FILE1.  How can I undelete a file?
  210. FILE2.  Why does SHOW QUOTA give a different answer than DIR/SIZE?
  211. FILE3.  How do I make sure that my data is safely written to disk?
  212. FILE4.  What are the limits on file specifications and directories?
  213. FILE5.  What is the largest disk volume size OpenVMS can access?
  214. FILE6.  What is the maximum file size, and the RMS record size limit?
  215. FILE7.  How do I write recordable CDs on OpenVMS?
  216. FILE8.  How many bytes are in a disk block?
  217.  
  218. Programming
  219. ========================================
  220. PROG1.  How do I call <routine_name> from <language_name>?
  221. PROG2.  How do I get the arguments from the command line?
  222. PROG3.  How do I get a formatted error message in a variable?
  223. PROG4.  How do I link against SYS$SYSTEM:SYS.STB on an Alpha system?
  224. PROG5.  How do I do a SET DEFAULT from inside a program?
  225. PROG6.  How do I create a shareable image transfer vector on an Alpha system?
  226. PROG7.  How do I turn my Fortran COMMON into a shareable image on Alpha?
  227. PROG8.  How do I convert between IEEE and VAX floating data?
  228. PROG9.  How do I get the argument count in a Fortran routine?
  229. PROG10. How do I get a unique system ID for licensing purposes?
  230. PROG11. What is an executable, shareable, system or UWSS image?
  231. PROG12. How do I do a file copy from a program?
  232. PROG13. What is a descriptor?
  233. PROG14. How many bytes are in a disk block?
  234. PROG15. How many bytes are in a memory page?
  235. PROG16. How do I create a process under another username?
  236.  
  237.  
  238. Table of Contents - Part 3/3
  239. ____________________________
  240.  
  241.  
  242. DECwindows
  243. ========================================
  244.  
  245. DECW1.  How do I let someone else display something on my workstation?
  246. DECW2.  How do I create a display on another workstation?
  247. DECW3.  How can I get the information from SHOW DISPLAY into a symbol?
  248. DECW4.  How do I get a log of a DECterm session?
  249. DECW5.  Problem - the DELETE key deletes forward instead of backward!
  250. DECW6.  Problem - On a DEC2000-300, Motif doesn't start
  251. DECW7.  Problem - My LK401 keyboard unexpectedly autorepeats
  252. DECW8.  Problem - My LK411 sends the wrong keycodes or some keys are dead
  253. DECW9.  How do I set the title on a DECterm window?
  254. DECW10. How do I customize DECwindows, including the login screen?
  255. DECW11. Why doesn't XtAppAddInput() work on OpenVMS?
  256.  
  257. Miscellaneous
  258. ========================================
  259. MISC1.  What is the pinout for the DECconnect DEC-423 MMJ connector?
  260. MISC2.  What are the escape sequences for the VTxxx function keys?
  261. MISC3.  Can I reuse old keyboards, mice and monitors with a PC?
  262. MISC4.  What is the pinout for the MicroVAX DB9 connector?
  263. MISC5.  Where can I find performance info and specs for older systems?
  264. MISC6.  What does "failure on back translate address request" mean?
  265.  
  266. Software
  267. ========================================
  268. SOFT1.  Where can I find lots of free software for OpenVMS?
  269. SOFT2.  Where can I find the UNIX <whatever> tool for OpenVMS?
  270.  
  271.  
  272. ------------------------------------------------------------
  273. INTRO1.  What is the scope of comp.os.vms?
  274.  
  275. The comp.os.vms newsgroup is the primary newsgroup for discussion of 
  276. Digital's OpenVMS operating system and the computer systems on which it
  277. runs.  Questions about layered products which run on OpenVMS are also
  278. welcome, though many of them (in particular, language compilers and
  279. database systems) have more specific newsgroups.  If a question has
  280. some relationship to OpenVMS, it belongs here.
  281.  
  282. ------------------------------------------------------------
  283. INTRO2.  What other newsgroups carry VMS-related information?
  284.  
  285. The vmsnet.* hierarchy, run by DECUS, contains several newsgroups of
  286. interest, including vmsnet.misc and vmsnet.alpha, the latter being mostly
  287. devoted to Alpha topics.  There's also vmsnet.sources (and 
  288. vmsnet.sources.d) to which sources for or pointers to freeware are posted.
  289. See the separate "What is VMSNET" monthly posting for further details.
  290.  
  291. The comp.sys.dec newsgroup carries discussions about all Digital systems
  292. as well as about Digital itself.
  293.  
  294. ------------------------------------------------------------
  295. INTRO3.  What is INFO-VAX?
  296.  
  297. INFO-VAX is a mailing list which is bidirectionally gatewayed to the
  298. comp.os.vms newsgroup.  This means that postings to comp.os.vms get
  299. automatically sent to INFO-VAX subscribers and messages sent to the INFO-VAX
  300. list are automatically posted to comp.os.vms.  INFO-VAX can be a useful way
  301. to participate in the newsgroup if you can't access the group directly
  302. through a news reader.
  303.  
  304. An important point to keep in mind is that propagation delays vary, both
  305. within the newsgroup and with INFO-VAX mailings.  It's possible that
  306. postings may not be delivered for several days and some may appear out of
  307. order.
  308.  
  309. ------------------------------------------------------------
  310. INTRO4.  How do I subscribe to or unsubscribe from INFO-VAX?
  311.  
  312. The address for subscription requests, as well as notes intended for the
  313. moderator, is Info-VAX-Request@Mvb.Saic.Com.  Subscription requests are handled
  314. automatically by a mail server.  This mail server ignores the subject line and
  315. processes each line of the message as a command.  The syntax for subscribing
  316. and unsubscribing and setting digest or non-digest modes is:
  317.  
  318. SUBSCRIBE INFO-VAX      (ADD is a valid synonym)
  319. UNSUBSCRIBE INFO-VAX    (REMOVE, SIGNOFF, and SIGN-OFF are valid synonyms)
  320. SET INFO-VAX DIGEST     (to receive in Digest format)
  321. SET INFO-VAX NODIGEST   (to receive each message individually)
  322.  
  323. Case is irrelevant and attempts to fetch a copy of the mailing list will be
  324. rejected (I consider the information to be confidential).  Any message not
  325. understood by the mailserver will be forwarded to a human (allegedly) for
  326. manual processing.
  327.                 [Mark.Berryman@Mvb.Saic.Com]
  328.  
  329. If you are on Bitnet, send a mail message containing the text 
  330. "SUBSCRIBE INFO-VAX" to LISTSERV@(nearest listserv system).  To unsubscribe,
  331. send a message containing the text "SIGNOFF INFO-VAX" to the *SAME* listserv
  332. address. 
  333.  
  334. If you are on the Internet in the UK, send a message containing the
  335. word SUBSCRIBE (or UNSUBSCRIBE) to info-vax-request@ncdlab.ulcc.ac.uk.
  336.  
  337. ------------------------------------------------------------
  338. INTRO5.  How do I submit a question or a response?
  339.  
  340. If you are using a news reader, post your question to comp.os.vms.  If you
  341. want to submit through INFO-VAX, send the message to Info-VAX@mvb.saic.com.
  342.  
  343. Before posting, please use available local resources, such as the manuals,
  344. HELP and this FAQ first.  Also make a point of reading the release notes for
  345. the product you're using, generally placed in SYS$HELP.  Often you'll find
  346. the answer and will save time and effort for all concerned.
  347.  
  348. When posting, please consider the following suggestions:
  349.  
  350.     1.  Include a valid e-mail address in the text of your posting or
  351.         in a "signature" appended to the end.  Reply-to addresses in
  352.     headers often get garbled.
  353.  
  354.     2.  If you are submitting a question, please be as specific as you
  355.         can.  Include relevant information such as processor type, product
  356.     versions (OpenVMS and layered products that apply) and a short,
  357.     reproducible example of problems.  Say what you've tried so far,
  358.     so that effort isn't duplicated.  Keep in mind that there's not yet 
  359.     a telepathy protocol for the Internet - the more detailed your
  360.     description, the better people can help you.
  361.  
  362.     3.  If responding to a posting, include in your reply only as much of
  363.         the original posting as is necessary to establish context.  As
  364.     a guideline, consider that if you've included more text than you've 
  365.     added, you've possibly included too much.  Never include signatures 
  366.     and other irrelevant material.
  367.  
  368.     4.  Be polite.  If the question isn't worded the way you think is
  369.         correct or doesn't include the information you want, try to
  370.     imagine what the problem might be if viewed from the poster's
  371.     perspective.  Requests for additional information are often
  372.     better sent through mail rather than posted to the newsgroup.
  373.  
  374.     5.  If you have a problem with Digital (or any vendor's) product,
  375.         use the appropriate support channel.  Don't assume that
  376.     newsgroup postings will get read or responded to by the appropriate
  377.     developers. 
  378.  
  379. ------------------------------------------------------------
  380. INTRO6.  What is DECUS?
  381.  
  382. DECUS, the Digital Equipment Computer Users Society, is a World Wide
  383. organization of Information Technology professionals interested in the
  384. products, services, and technologies of Digital Equipment Corporation and
  385. related vendors.
  386.    
  387. Membership in the Chapter is free and provides participants with the means
  388. to enhance their professional development, forums for technical training,
  389. mechanisms for obtaining up-to-date information, advocacy programs, and
  390. opportunities for informal disclosure and interaction with professional
  391. colleagues of like interest.
  392.  
  393. For further information, see the separate monthly "What is DECUS" posting, or
  394. refer to the US DECUS WWW server at http://www.decus.org or the Canadian
  395. DECUS WWW server at http://www.decus.ca .
  396.  
  397. ------------------------------------------------------------
  398. INTRO7.  What archives of comp.os.vms/INFO-VAX are available?
  399.  
  400. Everything posted since 1990 is archived and available at:
  401.   ftp://crvax.sri.com/info-vax/
  402.  
  403.                     [Arne Vajh°j]
  404.  
  405. ------------------------------------------------------------
  406. VMS1.   What is OpenVMS?  What is its history?
  407.  
  408. OpenVMS, originally called VMS (Virtual Memory System), was first conceived in
  409. 1976 as a new operating system for Digital's new, 32-bit, virtual memory line
  410. of computers, eventually named VAX (Virtual Address eXtension).  The first VAX
  411. model, the 11/780, was code-named "Star", hence the code name for the VMS
  412. operating system, "Starlet", a name that remains to this day the name for the
  413. system library files (STARLET.OLB, etc.).  VMS version X0.5 was the first
  414. released to customers, in support of the hardware beta test of the VAX-11/780,
  415. in 1977.  VAX/VMS Version V1.0 shipped in 1978, along with the first
  416. revenue-ship 11/780s.
  417.  
  418. OpenVMS was designed entirely within Digital Equipment Corporation.  The
  419. principal designers were Dave Cutler and Dick Hustvedt.  OpenVMS was conceived
  420. as a 32-bit, virtual memory successor to Digital's RSX-11M operating system
  421. for the PDP-11.  Many of the original designers and programmers of OpenVMS
  422. had worked previously on RSX-11M, and many concepts from RSX-11M were carried
  423. over to OpenVMS.
  424.  
  425. OpenVMS is a 32-bit, multitasking, multiprocessing virtual memory operating
  426. system. Current implementations run on Digital's VAX and Alpha computer
  427. systems.
  428.                 [Paul Winalski]
  429.  
  430. For more details on OpenVMS and its features, read the OpenVMS Software
  431. Product Description at:
  432.  
  433.   ftp://ftp.digital.com/pub/Digital/info/SPD/25-01-XX.txt
  434.  
  435. Additional information on the general features of various OpenVMS
  436. releases, release dates, as well as the development project code
  437. names of specific releases, is available at:
  438.  
  439. http://www.openvms.digital.com/openvms/os/openvms-release-history.html
  440.  
  441. ------------------------------------------------------------
  442. VMS2.   What is the difference between VMS and OpenVMS?
  443.  
  444. VMS and OpenVMS are two names for the same operating system.  Originally,
  445. the operating system was called VAX-11/VMS; it changed to VAX/VMS at
  446. around VAX/VMS V2.0.  When the VMS operating system was ported to the
  447. Alpha platform, it was renamed OpenVMS, for both VAX and Alpha, in part
  448. to signify the high degree of support for industry standards such as
  449. POSIX, which provides many features of UNIX systems.  An OpenVMS license
  450. allows you to install and run POSIX for OpenVMS at no additional charge;
  451. all you need is the media and documentation which can be found on the
  452. Consolidated Distribution and On-Line Documentation CD-ROMs.  For more
  453. information on POSIX for VMS see question SOFT2.
  454.  
  455. What became confusing is that the OpenVMS name was introduced first
  456. for OpenVMS AXP V1.0 causing the widespread misimpression that OpenVMS
  457. was for Alpha AXP only, while "regular VMS" was for VAX.  In fact, Digital
  458. officially changed the name of the VAX operating system as of V5.5,
  459. though the name did not start to be actually used in the product until
  460. V6.0.
  461.  
  462. The proper names for OpenVMS on the two platforms are now "OpenVMS VAX"
  463. and "OpenVMS Alpha", the latter having superseded "OpenVMS AXP".
  464.  
  465. ------------------------------------------------------------
  466. VMS3.   How do I port from VMS to OpenVMS?
  467.  
  468. You already did.  Wasn't that easy?  (See question VMS2.)
  469.  
  470. ------------------------------------------------------------
  471. VMS4.   Which is better - OpenVMS or UNIX?
  472.  
  473. This question comes up periodically, usually asked by new subscribers who are
  474. long-time UNIX users. Sometimes, it is ignored totally; other times, it leads
  475. to a long series of repetitive messages that convince no one and usually carry
  476. little if any new information.  Please do everyone a favor and avoid
  477. re-starting this perpetual, fruitless debate.
  478.                     [leichter@lrw.com]
  479.  
  480. Seriously, OpenVMS and the better implementations of UNIX are all fine
  481. operating systems, each with its strengths and weaknesses.  If you're
  482. in a position where you need to choose, select the one that best fits
  483. your own requirements, considering, for example, whether or not the
  484. layered products or specific OS features you want are available.
  485.  
  486. See also questions VMS2 and SOFT2 for information on POSIX for OpenVMS which 
  487. provides significant UNIX functionality on OpenVMS.
  488.                     [Steve Lionel]
  489.  
  490. ------------------------------------------------------------
  491. VMS5.   Is Digital dropping support for OpenVMS?
  492.  
  493. People who ask this question, most recently, have read about the May 1995
  494. announcement of an association between Digital and Microsoft to provide
  495. greater affinity between OpenVMS and Windows NT.  Some trade publications 
  496. interpreted this announcement as signalling that Digital was going to drop
  497. OpenVMS and move its customers onto Windows NT.  Nothing could be further from
  498. the truth.
  499.  
  500. For more information, see:
  501.  
  502.     http://www.openvms.digital.com/
  503.  
  504. ------------------------------------------------------------
  505. [VMS6 removed, replaced by Y2K section]
  506.  
  507. ------------------------------------------------------------
  508. VMS7.   What OpenVMS CD-ROM products are available?
  509.  
  510. Beginning in December '96, the OpenVMS VAX "binaries-only" and "library
  511. package" offerings will be enhanced to include the complete operating system
  512. kit. In addition, all online documentation offerings will be enhanced to
  513. include the operating system documentation as well as software layered
  514. products documentation. The enhanced offerings are indicated by a plus sign
  515. (+) in Table 1.
  516.  
  517. New Offerings (New Part Numbers Must Be Ordered)
  518.  
  519. Also beginning in December '96, the complete operating system kits will be
  520. combined with layered product kits for OpenVMS Alpha and Digital UNIX[R]. The
  521. combination of operating system plus layered products will ship quarterly, on
  522. the current schedules. OpenVMS Alpha or Digital UNIX customers may request the
  523. new part numbers indicated by an asterisk (*) in Table 1. [This means that
  524. anything that ships with the operating system binaries kit ("H-kit"), such as
  525. the Freeware CD, will be included with the Software Product Library
  526. distribution.  Previously, you had to specifically order the OS kit in order
  527. to get these extras. - SBL]
  528.  
  529. For orders or pricing information, contact 1-800-DECSALE after
  530. 8 November, 1996.
  531.  
  532.    ----------------------------------------------------------------------------
  533.    Table 1: Software Product Libraries and Online Documentation Libraries
  534.    ----------------------------------------------------------------------------
  535.  
  536.                                                     One-Time       Service
  537.     (a) Binaries Only - No Documentation            Order          Subscription
  538.     ---------------------------------------------   --------       ------------
  539.  
  540.    +OpenVMS VAX Software Layered Products and
  541.      Operating System Library                       QA-VWJ8A-H8    QT-VWJ8A-C8
  542.    *OpenVMS VAX Software Layered Products Library   QA-5FW8A-H8    QT-5FW8A-C8
  543.  
  544.    *OpenVMS Alpha Software Layered Products and
  545.      Operating System Library                       QA-5FX8A-H8    QT-5FX8A-C8
  546.     OpenVMS Alpha Software Layered Products Library QA-4KL8A-H8    QT-4KL8A-C8
  547.  
  548.                                                     One-Time       Service
  549.     (b) Documentation Only                          Order          Subscription
  550.     ----------------------                          --------       ------------
  551.  
  552.     OpenVMS VAX OnLine Documentation Library        QA-VYR8A-G8    QT-VYR8A-C8
  553.  
  554.    +OpenVMS Alpha OnLine Documentation Library      QA-4KM8A-G8    QT-4KM8A-C8
  555.  
  556.                                                     One-Time       Service
  557.     (c) Library Packages - Binaries, Documentation  Order          Subscription
  558.     ----------------------------------------------  --------       ------------
  559.  
  560.    +OpenVMS VAX Software Layered Products and
  561.      Operating System Library Package               QA-YL48A-H8    QT-YL48A-C8
  562.    *OpenVMS VAX Software Layered Products
  563.      Library Package                                QA-5G88A-H8    QT-5G88A-C8
  564.  
  565.    *OpenVMS Alpha Software Layered Products and
  566.      Operating System Library Package               QA-5G9AA-H8    QT-5G9AA-C8
  567.     OpenVMS Alpha Software Layered Products         QA-03XAA-H8    QT-03XAA-C8
  568.      Library Package
  569.  
  570.    ----------------------------------------------------------------------------
  571.            + indicates an enhancement
  572.            * indicates a new offering
  573.  
  574. The following CD-ROMs contain just the OpenVMS Alpha operating system - they
  575. are bootable and can be used to run BACKUP in a standalone environment.
  576.  
  577.   QA-MT1AP-H8   OpenVMS Alpha V6.1-1H2 hardware release CD-ROM  (US$11)
  578.   QA-MT1AG-H8   OpenVMS Alpha V6.2-1H3 hardware release CD-ROM  (US$22)
  579.   QA-MT1AD-H8   OpenVMS Alpha V7.1-1H1 hardware release CD-ROM  (US$22)
  580.  
  581. ------------------------------------------------------------
  582. VMS8.   In what language is OpenVMS written?
  583.  
  584. OpenVMS is written in a wide variety of languages.
  585.  
  586. In no particular order, OpenVMS components are implemented using Bliss, Macro,
  587. Ada, PLI, VAX and DEC C, Fortran, UIL, VAX and Alpha SDL, Pascal, MDL, DEC C++,
  588. DCL, Message, and Document.  And this is certainly not a complete list.
  589. However, the rumor is NOT true that an attempt was made to write pieces of 
  590. OpenVMS in every supported language so that the Run-Time Libraries could not be
  591. unbundled.  (APL, BASIC, COBOL and RPG are just some of the languages NOT
  592. represented!)
  593.  
  594. There are a large variety of small and not-so-small tools and DCL command
  595. procedures that are used as part of the OpenVMS build, and a source code control
  596. system capable of maintaining over a hundred thousand source files across
  597. multiple parallel development projects, and overlapping releases.
  598.  
  599. ------------------------------------------------------------
  600. VMS9.   How do I obtain or transfer a VMS license?
  601.  
  602. If you are a DECUS member and are considering acquiring and using 
  603. a VAX-based system for hobbyist use, a (free) license for OpenVMS
  604. VAX is available from US DECUS for V5.5-2 and V6.1.  In addition to
  605. the license, a distribution CD-ROM kit is available with OpenVMS,
  606. DECwindows, and assorted Freeware for a nominal fee (currently US$30).
  607.  
  608. For further information, link to:
  609.  
  610.   http://www.montagar.com/hobbyist
  611.  
  612. There is currently no hobbyist license for OpenVMS Alpha available.
  613.  
  614. Further information on DECUS and on DECUS membership is available at:
  615.  
  616.   http://www.decus.org/
  617.  
  618. To transfer a commercial OpenVMS license from one owner to another,
  619. or to purchase a commercial license, you can contact Compaq Computer
  620. Corporation at 1-800-DIGITAL (in North America), or your local or
  621. regional sales office.
  622.                     [Steve Hoffman]
  623.  
  624. ------------------------------------------------------------
  625. VMS10.  What is OpenVMS doing about the Euro currency symbol?
  626.  
  627. For information on the current status and plans for support of the
  628. European Monetary Union's Euro currency symbol in OpenVMS, see:
  629.  
  630.   http://www.openvms.digital.com/euro/
  631.  
  632. ------------------------------------------------------------
  633. ALPHA1.   What do the letters AXP stand for?
  634.  
  635. While there are many fanciful "definitions" which have circulated widely,
  636. the truth is that AXP is not an abbreviation nor an acronym; the letters
  637. do not mean anything.  They are just three letters chosen to form a
  638. trademark.
  639.  
  640. When it came time to chose a "marketing name" for the Alpha AXP line,
  641. Digital was in a quandary.  The internal "code name" for the project,
  642. Alpha, was widely known and would seem the ideal choice, but it was already
  643. in common use by a number of other companies and could not be trademarked.
  644. A well-known "name search" firm was hired and was asked to come up with
  645. two lists of possible names.  The first list was intended to evoke the
  646. feeling of "extension to VAX", while the second list was to suggest
  647. "not a VAX".  Unfortunately, none of the choices offered were any good;
  648. for example, "VAX 2000" was found on the first list while the second list
  649. contained "MONDO" (later to be used for a kids' soft drink).
  650.  
  651. Shortly before announcement, a decision was made to name the new line ARA,
  652. for Advanced RISC Architecture.  However, a Digital employee in Israel
  653. quickly pointed out that this name, if pronounced in the "obvious" manner,
  654. sounded very much like an Arabic word with decidely unfortunate connotations.
  655. Eventually, AXP was selected; the architecture would be referred to as
  656. "Alpha AXP" whereas products themselves would use just "AXP".
  657.  
  658. Despite all this, everyone went on calling the new line "Alpha".  Digital
  659. has recognized this by coining a new "AlphaGeneration" trademark to apply
  660. to all products (hardware, software and services) related to the Alpha AXP
  661. line.
  662.  
  663. Digital has phased out the use of the AXP name, using Alpha instead.
  664. For example, OpenVMS AXP is now called called "OpenVMS Alpha".
  665.  
  666. ------------------------------------------------------------
  667. ALPHA2.   What are the OpenVMS differences between VAX and Alpha?
  668.  
  669. Very few.  As of OpenVMS V6.1, the VAX and Alpha platforms are very close
  670. to "feature parity".  Most applications can just be recompiled and
  671. run.  Some differences to be aware of:
  672.  
  673.     - The default double-precision floating type on OpenVMS Alpha
  674.       is VAX G_float, whereas on VAX it is usually D_float.  D_float
  675.       is available on Alpha, but D_float values are converted to
  676.       G_float for computations and then converted back to D_float
  677.       when stored.  Because the G_float type has three fewer fraction
  678.       bits than D_float, some applications may get different results.
  679.       IEEE float types are also available on OpenVMS Alpha.
  680.  
  681.     - Data alignment is extremely important for best performance on
  682.       Alpha.  This means that data items should be allocated at
  683.       addresses which are exact multiples of their sizes.  Quadword
  684.       alignment will offer the best performance, especially for
  685.       character values and those smaller than 32 bits.  Compilers
  686.       will naturally align variables where they can and will issue
  687.       warnings if they detect unaligned data items.
  688.  
  689.     - DEC C is the only C compiler Digital offers on OpenVMS Alpha.
  690.       It is compatible with DEC C on OpenVMS VAX, but is somewhat
  691.       different from the older VAX C compiler most people are familiar with.
  692.       Read up on the /EXTERN_MODEL and /STANDARD qualifiers to avoid
  693.       the most common problems.
  694.  
  695.     - The page size on Alpha systems is variable, but is at least 8K bytes.
  696.       This can have some effect on applications which use the $CRMPSC
  697.       system service as well as on the display of available memory
  698.       pages.  The page size is available from $GETSYI(SYI$_PAGE_SIZE).
  699.  
  700. There are also a number of manuals which discuss migration to Alpha.
  701.  
  702.     - "A Comparison of System Management on OpenVMS AXP and OpenVMS VAX"
  703.     - "Migrating to an OpenVMS AXP System: Planning for Migration"
  704.     - "Migrating to an OpenVMS AXP System: Porting VAX MACRO Code"
  705.     - "Migrating to an OpenVMS AXP System: Recompiling and Relinking"
  706.  
  707. These are part of the "AXP Migration Kit" (which is part of the "Programming
  708. Kit" - which in turn is part of the "Standard Set" if ordering documentation.)
  709. Check out the "Overview of OpenVMS Documentation" book on the Bookreader-based
  710. doc set included on the OpenVMS AXP V6.1 distribution CD for part numbers of
  711. both assorted "kits" and/or individual manuals.
  712.  
  713. ------------------------------------------------------------
  714. ALPHA3.   Are there Alpha systems on the net I can try out?
  715.  
  716. As of November 1, 1995, Digital's service of Internet-accessible Alpha 
  717. "test drive" systems was suspended.  A revised service may appear in the
  718. future.  For more information, write to Jack Lucier at 
  719. lucier@kacie.enet.dec.com.
  720.  
  721. ------------------------------------------------------------
  722. ALPHA4.   How do I join Digital's Association of Software & Application
  723.           Partners program?
  724.  
  725. The Association of Software & Application (ASAP) Partners is a Digital program
  726. designed to provide members with a broad base of development support,
  727. promotional tools, and services.  The ASAP program is open to software partners
  728. throughout the U.S., Canada, Europe and selected countries in Asia Pacific.
  729.  
  730. For more information about the Software Developer Kits and the Association of
  731. Software Application Partners (ASAP) Program, contact the ASAP Program Office as
  732. follows:
  733.  
  734.          Via phone:  1-800-332-4786 in the U.S.
  735.                      +353 91 754 299 in Europe
  736.          Via E-Mail: alpha-developer@digital.com
  737.          Via WWW:    http://www.partner.digital.com/www-swdev/
  738.  
  739. ------------------------------------------------------------
  740. ALPHA5.   Where can I find performance information about Alpha systems?
  741.  
  742. Digital makes a wide range of performance documents available through
  743. its FTP and WWW Internet servers (see DOC2).  The specific WWW subject page
  744. is http://www.digital.com/info/performance.html, for FTP look in
  745. ftp://ftp.digital.com/info/performance.  Documents with "flash" in their
  746. names are short summaries with performance charts, those with "brief" are
  747. longer documents with more detail on the specific tests and configurations.
  748.  
  749. ------------------------------------------------------------
  750. ALPHA6.  Where can I get updated console firmware for Alpha systems?
  751.  
  752. Firmware updates for Digital Alpha systems are available from:
  753.  
  754.     ftp://ftp.digital.com/pub/Digital/Alpha/firmware/
  755.     http://www.service.digital.com/alpha/server/firmware/
  756.  
  757. The files are structured similiar to those on the firmware CD, and are
  758. separated by CD release.  For example, the contents of the V3.7
  759. firmware CD are located at: 
  760.     ftp://ftp.digital.com/pub/Digital/Alpha/firmware/v3.7/
  761.  
  762. The latest and greatest firmware (if released since the last firmware
  763. CD) is located at:
  764.     ftp://ftp.digital.com/pub/Digital/Alpha/firmware/interim/
  765.  
  766. Please send your comments and feedback to alpha_server@service.digital.com
  767.  
  768. ------------------------------------------------------------
  769. ALPHA7.   How do I boot an AlphaStation without monitor or keyboard?
  770.  
  771. The AlphaStation series will boot without a keyboard attached.  To use a
  772. serial terminal as the console, issue the console command SET CONSOLE SERIAL -
  773. after that, it will use the terminal.  Older Alpha workstations generally
  774. can't be booted without a keyboard.
  775.  
  776. ------------------------------------------------------------
  777. ALPHA8.  Will OpenVMS run on a Multia?
  778.  
  779. No.  Not just an "unsupported" - it won't boot.
  780.  
  781. ------------------------------------------------------------
  782. ALPHA9.  What is the least expensive system that will run OpenVMS?
  783.  
  784. The cheapest system, sold by Digital today, that will run OpenVMS is the
  785. AlphaStation 255 4/233.  Other companies sell Alpha-powered systems, some
  786. of which will run (and can be purchased with) OpenVMS.  There are also many
  787. used DEC 3000 models available which are suitable.
  788.  
  789. ------------------------------------------------------------
  790. VAX1.   Please explain the back panel of the MicroVAX II
  791.  
  792. The MicroVAX-series console bulkhead was used with the KA630, KA650, KA655
  793. processors.
  794.  
  795. There are three controls on the console bulkhead of these systems:
  796.  
  797.   Triangle-in-circle-paddle: halt enable. 
  798.     dot-in-circle: halt (<break>) is enabled,
  799.                    and auto-boot is disabled.
  800.     dot-not-in-circle: halt (<break>) is disabled,
  801.                    and auto-boot is enabled.
  802.  
  803.   Three-position-rotary: power-up bootstrap behaviour
  804.     arrow: normal operation.
  805.     face: language inquiry mode.
  806.     t-in-circle: infinite self-test loop.
  807.  
  808.   Eight-position-rotary: console baud rate selection
  809.     select the required baud rate; read at power-up.
  810.  
  811. Those versions of the console bulkhead that do not have an MMJ have a 9-pin
  812. submini connector (DB9), and the pinout of this connector predates the PC
  813. 9-pin pinout -- the console pinout is consistent with the EIA232 pinout.
  814. See MISC4 for details of the DB9 pinout.  For those bulkheads not equipped
  815. with an MMJ, use the H8575-B adapter to convert the console connector to
  816. MMJ.  See MISC1 for further details.
  817.  
  818. Also present on the bulkhead is a self-test indicator: a single digit. This
  819. matches the final part of the countdown displayed on the console or
  820. workstation, and can be used by a service organization to determine the nature
  821. of a processor problem.  The particular countdown sequence varies by processor
  822. type, consult the hardware or owner's manual for the processor, or contact the
  823. local hardware service organization for information the self-test sequence for
  824. a particular processor module. Note that self-tests 2, 1 and 0 are associated
  825. with the transfer of control from the console program to the booting operating
  826. system.
  827.                                         [Steve Hoffman]
  828.  
  829. ------------------------------------------------------------
  830. VAX2.   What is the layout of the VAX floating point format?
  831.  
  832. The VAX floating point format is derived from one of the PDP-11 FP formats,
  833. which helps explain its strange layout.  There are four formats defined:
  834. F 32-bit single-precision, D and G 64-bit double-precision and H 128-bit
  835. quadruple precision.  For all formats, the lowest addressed 16-bit "word"
  836. contains the sign and exponent (and for other than H, some of the most
  837. significant fraction bits).  Each successive higher-addressed word contains
  838. the next 16 lesser-significant fraction bits.  Bit 15 of the first word is the
  839. sign, 1 for negative, 0 for positive.  Zero is represented by a biased
  840. exponent value of zero and a sign of zero; the fraction bits are ignored (but
  841. on Alpha, non-zero fraction bits in a zero value cause an error.)  A value
  842. with biased exponent zero and sign bit 1 is a "reserved operand" - touching
  843. it causes an error - fraction bits are ignored.  There are no minus zero,
  844. infinity, denormalized or NaN values.
  845.  
  846. For all formats, the fraction is normalized and the radix point assumed to be
  847. to the left of the MSB, hence 0.5 <= f < 1.0.  The MSB, always being 1, is
  848. not stored.  The binary exponent is stored with a bias varying with type in
  849. bits 14:n of the lowest-addressed word.
  850.  
  851.   Type    Exponent bits    Exponent bias    Fraction bits (including hidden)
  852.   ==========================================================================
  853.    F           8                128               24
  854.    D           8                128               56
  855.    G          11               1024               53
  856.    H          15              16384              113
  857.  
  858. The layout for D is identical to that for F except for 32 additional
  859. fraction bits.
  860.  
  861. Example:  +1.5 in F float is hex 000040C0 (fraction of .11[base 2], biased
  862. exponent of 129)
  863.                     [Steve Lionel]
  864.  
  865. ------------------------------------------------------------
  866. VAX3.   Where can I find more info about VAX systems?
  867.  
  868. Digital runs a VAX "InfoCenter" at:
  869.   http://www.digital.com/info/vax
  870.  
  871. Jim Agnew maintains a MicroVAX/VAXstation FAQ at:
  872.   http://anacin.nsc.vcu.edu/~jim/mvax/mvax_faq.html
  873.  
  874. James Lothian maintains a VAX-11/750 FAQ at:
  875.   http://www.dcs.napier.ac.uk/~oose5002/750faq.html
  876.  
  877. ------------------------------------------------------------
  878. VAX4.   Where can I find information on NetBSD for VAX systems?
  879.  
  880. Gunnar Helliesen maintains a NetBSD VAX FAQ at:
  881.   http://vaxine.bitcon.no/
  882.  
  883. ------------------------------------------------------------
  884. VAX5.   Tell me about the system disk size limit on the VAXstation 3100.
  885.  
  886. System disks larger than 1.073 gigabytes (GB) -- 1fffff hexidecimal blocks --
  887. are not supported on any member of the VAXstation 3100 series, and are not
  888. reliable on any member of the series.
  889.  
  890. Various of the SCSI commands used by the boot drivers imbedded in the console
  891. PROM on all members of the VAXstation 3100 series use "Group 0" commands,
  892. which allow a 21 bit block number field, which allows access to the first
  893. 1fffff hexidecimal blocks of a disk.  Any disk references past 1fffff will
  894. wrap -- this wrapping behaviour can be of particular interest when writing a
  895. system crashdump file, as this can potentially lead to system disk corruptions
  896. should any part of the crashdump file be located beyond 1.073 GB.
  897.  
  898. More recent systems and console PROMs use "Group 1" SCSI commands, which allow
  899. a 32 bit block number field.
  900.  
  901. There was a similar limitation among the oldest of the MicroVAX 3100 series,
  902. but a console boot PROM was phased into production and was made available for
  903. field retrofits -- this PROM upgrade allows the use of the "Group 1" SCSI
  904. commands, and thus larger system disks.  There was no similar PROM upgrade for
  905. the VAXstation 3100 series.
  906.  
  907. Systems that are affected by this limit:
  908.   o VAXstation 3100 series, all members.  No PROM upgrade is available.
  909.   o MicroVAX 3100 models 10 and 20.  No PROM upgrade is available.
  910.   o MicroVAX 3100 models 10e and 20e.  Only systems with VMB versions
  911.     prior to V6.4 are affected.  PROM upgrade (once) available.
  912.  
  913.                         [Steve Hoffman]
  914.  
  915. ------------------------------------------------------------
  916. VAX6.   How does OpenVMS VAX maintain system time?
  917.  
  918. VAX systems maintain an interval clock, and a hardware clock.
  919.  
  920. The VAX hardware clock is called the TOY ("Time Of Year") clock.  The register
  921. associated with the clock is called the TODR ("Time Of Day Register").
  922.  
  923. The TOY clock -- as used -- stores time relative to January first of the
  924. current year, starting at at 00:00:00.00.  It is a 100 Hz, 32-bit counter,
  925. incremented every 10ms, and thus has a capacity of circa 497 days.
  926.  
  927. OpenVMS (on the VAX platform) stores system date information -- and in
  928. particular, the current year -- in the system image, SYS$SYSTEM:SYS.EXE.
  929.   
  930. The TOY is used, in conjunction with the base date that is stored and
  931. retrieved from the system image, to initialize the interval clock value that
  932. is stored in EXE$GQ_SYSTIME.
  933.  
  934. Once the interval clock is loaded, the system does not typically reference the
  935. TOY again, unless a SET TIME (with no parameters) is issued.  The interval
  936. clock value is updated by a periodic IPL22 or IPL24 (depending on the specific
  937. VAX) interrupt.  (When these interrupts are blocked as a result of the
  938. activity of higher-IPL code -- such as extensive driver interrupt activity or
  939. a hardware error -- the clock will "loose" time, and the time value reported
  940. to the user with appear to have slowed down.)
  941.  
  942. Because the TOY has a resolution of 497 days, you need to issue a "SET TIME"
  943. (with no parameters) at least once between January 1st and about April 11th of
  944. each year.  The SET TIME is issued during various OpenVMS procedures such as
  945. SHUTDOWN, and can be issued directly.  Issuing SET TIME resets the value
  946. stored in the TOY, and updates the current year saved in the system image.
  947.  
  948. This usage is the reason that OpenVMS installation kits explicitly prompt for
  949. the time during bootstrap, and why the time value can "get weird" if the
  950. system crashes outside the 497 day window (if no SET TIME was issued to update
  951. the saved values), and why the time value can "get weird" if a different
  952. SYS$SYSTEM:SYS.EXE is used (alternate system disk, standalone BACKUP, etc).
  953.  
  954. On most (all?) VAX systems, the battery that is associated with the TOY clock
  955. can be disconnected and replaced if (when) it fails -- TOY clock problems in
  956. VAX systems do regularly get tracked back to a failed nicad or lithium battery
  957. pack.
  958.                     [Steve Hoffman]
  959.  
  960. ------------------------------------------------------------
  961. DOC1.   Where can I find online copies of OpenVMS manuals?
  962.  
  963. Digital's OpenVMS documentation is copyrighted and is not freely
  964. available on the net.  Documentation is offered in CD-ROM form
  965. through a subscription to the Consolidated On-Line Documentation (ConOLD)
  966. product (see VMS7.)  ConOLD manuals are readable with Bookreader, a viewer 
  967. that is supplied with DECwindows Motif.  MGBOOK, a viewer for Bookreader
  968. documents which is usable from character-cell terminals (eg. VTxxx) is
  969. available from the WKU VMS Freeware file server - see question SOFT1 for
  970. details.
  971.                     [Steve Lionel]
  972.  
  973. We are allowing interactive viewing of the Consolidated Distribution
  974. Documentation CDROMs (NOT copying, just reading).  Currently available
  975. by:
  976.     telnet://vtbook@condist.acornsw.com/
  977.  
  978. We're planning to leave this on the network indefinitely, but we MAY
  979. limit access in some way depending upon load.
  980.                     [munroe@dmc.com]
  981.  
  982. A selection of OpenVMS documentation is available in HTML form at
  983.     http://www.openvms.digital.com:81/
  984.  
  985. ------------------------------------------------------------
  986. DOC2.   What online information is available?
  987.  
  988. On your OpenVMS system, the HELP command can provide a wealth of information,
  989. not only on DCL commands but on system services (HELP System_Services) and
  990. Run-Time Library routines (HELP RTL_Routines).  The introduction displayed
  991. when you type the HELP command with no additional keywords provides further
  992. pointers.
  993.  
  994. In SYS$COMMON:[SYSHLP.VMSDOC] (OpenVMS V6.0 or later) you'll find the 
  995. following three files:
  996.  
  997.     VMSDOC_GLOSSARY.TXT - Glossary of OpenVMS terminology
  998.     VMSDOC_OVERVIEW.TXT - Overview of OpenVMS documentation
  999.     VMSDOC_MASTER_INDEX.TXT - Master index of OpenVMS documentation
  1000.  
  1001. These files are optionally installed; some system managers may have selected
  1002. not to install them or to put them in another location.  If you cannot
  1003. locate them, ask your system manager.
  1004.  
  1005. OpenVMS Marketing runs a WWW server at http://www.openvms.digital.com/
  1006. Here you'll find product information, strategy documents,
  1007. the contents of the latest OpenVMS Freeware CD-ROM and much more.
  1008.  
  1009. Product information for just about everything Digital sells is available
  1010. from Digital's Internet servers.  If you're using a World-Wide-Web (WWW)
  1011. browser, use http://www.digital.com/info.html  For anonymous FTP access,
  1012. log in to ftp.digital.com.  Software Product Descriptions, performance
  1013. data, product infosheets, release notes and much more are available.
  1014.  
  1015. In addition,
  1016.  
  1017.   http://www.digital.com/info/forms/search.html
  1018.  
  1019. provides a handy method to search all of Digital's public web servers for
  1020. information of any kind.
  1021.  
  1022. Digital's Multivendor Customer Services organization also hosts an
  1023. Internet server.  If you have a software support contract you can obtain
  1024. patches from here - even without a contract you can browse through the
  1025. "readme" files for correction kits.  The WWW URL is 
  1026.   http://www.service.digital.com/ 
  1027. For ftp access use 
  1028.   ftp://ftp.service.digital.com/
  1029.  
  1030. A WWW version of the DECdirect catalog is also available at
  1031.   http://www.service.digital.com/ddi/html/ddhome.html
  1032.  
  1033. Digital's Electronic Connection, also called "E-store", provides product
  1034. information, prices and even lets you order online.  For free access,
  1035. TELNET to order.sales.digital.com or connect via modem at 800-234-1998.
  1036. If you're on TYMNET, connect to ECONN.  If you need to get pricing for
  1037. Digital software licenses for your configuration, this is the place to get
  1038. them.
  1039.  
  1040. Information on Digital and on Digital hardware, software, products
  1041. and services is available through various telephone numbers:
  1042.  
  1043.     1-800-DIGITAL    : voice : DECdirect products, books and services
  1044.     1-800-PCBYDEC       : voice : Digital PC hardware and software
  1045.     1-800-DECINFO    : voice : General Corporate Information
  1046.     1-603-884-0924    : voice : (alternate number for above)
  1047.     1-800-234-1998    : modem : The Digital Electronic Connection
  1048.     1-800-DEC-2717    : voice : The DECchip Hotline
  1049.     1-508-568-6868    : voice : (alternate number for above)
  1050.  
  1051. David Mathog offers two HTML documents which contain useful information
  1052. about OpenVMS.
  1053.  
  1054.   http://seqaxp.bio.caltech.edu:8000/www/vms_sheet.html
  1055.   http://seqaxp.bio.caltech.edu:8000/www/vms_beginners_faq.html
  1056.  
  1057. ------------------------------------------------------------
  1058. DOC3.   What books and publications are available?
  1059.  
  1060. DEC Professional is alive and well. It's a monthly magazine 
  1061. that helps you manage your Digital systems in a multivendor environment. 
  1062. Subscriptions are free to qualified Digital sites.
  1063.  
  1064. Digital Systems Journal is a bimonthly magazine that contains more 
  1065. in-depth, hands-on, how-to information. Subscriptions are paid.
  1066.  
  1067. If you're interested in acquiring a subscription to DEC Professional or 
  1068. Digital Systems Journal, contact Omeda Communications:
  1069.  
  1070. 800-306-6332
  1071. 708-564-1385
  1072.  
  1073. They'll send you everything you need.
  1074.                     [morrison@elvis.cardinal.com]
  1075.  
  1076. Digital Press, an imprint of Butterworth-Heinemann, has a web site at:
  1077.  
  1078.     US & Canada URL http://www.bh.com/dp
  1079.     UK & Europe URL http://www.butterworth.heinemann.co.uk
  1080.  
  1081. ------------------------------------------------------------
  1082. DOC4.   How do I extract the contents of a HELP topic to a text file?
  1083.  
  1084. To extract all the text of a HELP topic (and its subtopics) to a text file
  1085. for perusal with a text editor, printing out, etc., use the following
  1086. command:
  1087.  
  1088.      $ HELP/OUT=filename.txt help-topic [help-subtopic]
  1089.  
  1090. If the help text you want is not in the standard help library (for
  1091. example, it's help for a utility such as MAIL that has its own help
  1092. library), add /LIBRARY=libname after the HELP verb.  To see the names
  1093. of help library files, do a directory of SYS$HELP:*.HLB.
  1094.  
  1095. ------------------------------------------------------------
  1096. DOC5.   Does OpenVMS Marketing have an e-mail address?
  1097.  
  1098. Yes - if you can't get the answers to questions elsewhere, if you have
  1099. comments or complaints about OpenVMS, send mail to openvms-info@digital.com.
  1100. This is NOT a support channel, but an informal method to communicate
  1101. with OpenVMS Marketing.  Please be courteous and careful using this
  1102. address so that it may continue to be of benefit to all.
  1103.  
  1104. ------------------------------------------------------------
  1105. DOC6.   What OpenVMS-related WWW sites are available?
  1106.  
  1107.     http://www.openvms.digital.com/   (Sponsored by OpenVMS Marketing)
  1108.     http://www.montagar.com/          (Sponsored by DECUS - DFWLUG)
  1109.     http://www.levitte.org/~ava/      (Sponsored by Arne Vajh°j)
  1110.     http://www.saiga.com/             (Sponsored by Saiga Systems)
  1111.     http://www.tachyon.com/          (Sponsored by Wayne Sewell)
  1112.     http://www.progis.de/openvms.htm  (Sponsored by proGIS Software)
  1113.  
  1114. ------------------------------------------------------------
  1115. DOC7.   Where can I find patches for OpenVMS and Digital layered products?
  1116.  
  1117. Digital is now providing many patches (correction kits) for OpenVMS and
  1118. layered products on the Internet.  The easiest way to search for and retrieve
  1119. the patches is through:
  1120.  
  1121.     http://www.service.digital.com/html/patch_service.html
  1122.  
  1123. You can also find the patches and the associated README files at:
  1124.  
  1125.     ftp://ftp.service.digital.com/public
  1126.  
  1127. but you must know what you are looking for.   See VMS7 for info on ordering
  1128. a CD-ROM with patch kits.
  1129.  
  1130. ------------------------------------------------------------
  1131. DOC8.   Where can I find info about undocumented OpenVMS features?
  1132.  
  1133. After all this discussion about undocumented VMS features I started a
  1134. collection of some documentation :-)) about them on 
  1135.  
  1136.     http://axp616.gsi.de:8080/www/vms/qaa/undoc.htmlx
  1137.                         [zinser@axp603.gsi.de]
  1138.  
  1139. DOC9.   Where is documentation on the DECnet Phase IV protocols?
  1140. ------------------------------------------------------------
  1141.  
  1142. Specifications for DECnet Phase IV can be found at:
  1143.  
  1144.     http://gatekeeper.dec.com/pub/DEC/DECnet/PhaseIV/index.html
  1145.  
  1146. ------------------------------------------------------------
  1147. DOC10.  Where can I learn about how the VMS executive works internally?
  1148.  
  1149. The OpenVMS Internals and Data Structure book explains how the OpenVMS
  1150. executive works. The book covers the operating system kernel: process 
  1151. management; memory management; the I/O subsystem; and the mechanisms that 
  1152. transfer control to, from, and among these. It gives an overview of a particular
  1153. area of the system, followed by descriptions of the data structures related to
  1154. that area and details of the code that implements the area.
  1155.  
  1156. The first edition of the OpenVMS Alpha internals book describes Version 1.5. 
  1157. Although there have been several releases of  OpenVMS Alpha since Version 1.5 
  1158. (V6.1, V6.2, V7.0, and V7.1) and many details in the book are no longer 
  1159. accurate, it continues to provide a strong conceptual description of 
  1160. OpenVMS internals. 
  1161.  
  1162. This book has been split into five pieces, each to be updated separately.
  1163. The first such volume, published in early 1997, was "OpenVMS Alpha Internals 
  1164. and Data Structures: Scheduling and Process Control," which covers the 
  1165. Version 7.0 implementation of true multithreading and the changed scheduling 
  1166. model it implies.
  1167.  
  1168. The internals books are available through Digital Press, an imprint of
  1169. Butterworth-Heinemann. You can order by phone (from US and Canada, 
  1170. 1-800-366-2655, or from elsewhere, 781-904-2500). You can also fax an order
  1171. to 1-800-446-6520 or 781-933-6333. The order form and additional information
  1172. are available on their web site www.bh.com .
  1173.  
  1174. ISBN           Title
  1175.  
  1176. 1 55558 156 0  OpenVMS Alpha Internals: Scheduling and Process Control
  1177. 1 55558 120 X  OpenVMS AXP Internals and Data Structures: Version 1.5
  1178. 1 55558 059 9  VAX/VMS Internals and Data Structures: Version 5.2
  1179.  
  1180.                     [Ruth Goldenberg]
  1181.  
  1182. ------------------------------------------------------------
  1183. DOC11.  Where can new users find tutorial information about OpenVMS?
  1184.  
  1185. First, see if your local site has information on this topic.  Each site can have
  1186. site-specific features and configuration.  Some sites will have site-specific
  1187. new user's documentation, covering various site-specific things that are
  1188. difficult or impossible for the general OpenVMS documentation to cover.
  1189.  
  1190. Various introductory manuals are available in the OpenVMS documentation set,
  1191. including the OpenVMS User's Guide.  Some of the OpenVMS manuals, including the
  1192. user's guide, are available at:
  1193.  
  1194.     http://www.openvms.digital.com:81/
  1195.  
  1196. Some of the OpenVMS books available from the Butterworth-Heinemann Digital Press
  1197. imprint (http://www.bh.com) include:
  1198.  
  1199.        Introduction to OpenVMS, 5th Edition,
  1200.        Lesley Ogilvie Rice
  1201.        ISBN 1 55558 194 3
  1202.  
  1203.        The OpenVMS User's Guide, Second Edition
  1204.        Patrick Holmay
  1205.        ISBN 1 55558 203 6
  1206.  
  1207.        Introduction to OpenVMS
  1208.        David W Bynon
  1209.        ISBN 1 878956 61 2
  1210.  
  1211.        OpenVMS System Management Guide
  1212.        Richard Berry
  1213.        ISBN 1 55558 143 9
  1214.  
  1215.        Using DECwindows Motif for OpenVMS
  1216.        Margie Sherlock
  1217.        ISBN 1 55558 114 5
  1218.  
  1219.   For various featured OpenVMS books, please see:
  1220.     http://www.openvms.digital.com/openvms/books.html
  1221.  
  1222.   Various user-maintained websites are also available, including a
  1223.   beginner's FAQ, various user-written FAQs, a bibliography of books
  1224.   on OpenVMS, and information on various other hardware and software
  1225.   topics:
  1226.  
  1227.     http://www.levitte.org/~ava/vms_faq.htmlx
  1228.     http://www.levitte.org/~ava/vms_book.htmlx
  1229.     http://seqaxp.bio.caltech.edu/www/vms_sheet.html
  1230.     http://seqaxp.bio.caltech.edu/www/vms_beginners_faq.html
  1231.     http://multivac.jb.man.ac.uk:8000/helbig/BOOKMARKS/VMS.HTML
  1232.  
  1233. ------------------------------------------------------------
  1234. Y2K1.   Does OpenVMS have a problem with the year 2000?
  1235.  
  1236. There are Year 2000 (Y2K) ECO kits available for the following releases:
  1237.  
  1238.   OpenVMS VAX V5.5-2, V5.5-2H4, V6.2, and V7.1
  1239.   OpenVMS Alpha V6.2, V6.2-1H*, V7.1, and V7.1-1H*
  1240.  
  1241. No other Y2K ECO kits for other releases are currently planned.  OpenVMS
  1242. releases after these specified releases will have integrated Y2K support.
  1243. (These kits are currently available to customers with a support contract.)
  1244.  
  1245. For the official, most complete, and most current information on the status
  1246. of Y2K compliance of DIGITAL hardware and software products, including
  1247. OpenVMS and various OpenVMS layered products, please see:
  1248.  
  1249.   http://www.digital.com/year2000/
  1250.  
  1251. Information on the customer testing procedures that are recommended by
  1252. OpenVMS Engineering are also accessable via the above URL.
  1253.  
  1254.  
  1255. ------------------------------------------------------------
  1256. Y2K2.  What happens with the C tm_year field in the year 2000?
  1257.  
  1258. The localtime() function and various other functions maintain the number
  1259. of years since 1900 in the "struct tm" structure member tm_year.  This
  1260. field will contain a value of 100 in the year 2000, and the yearly
  1261. incrementation is expected to continue.
  1262.  
  1263. The VAX C "two digit" documentation for this area is in error, the VAX C
  1264. Run-Time Library (RTL) returns a three-digit year.  
  1265.  
  1266. The VAX C RTL and the other integrated RTLs are covered under the OpenVMS
  1267. operating system Y2K evaluation.  For curent information on the Y2K status
  1268. of OpenVMS language compilers and layered products, see section Y2K1.
  1269.  
  1270.  
  1271. ------------------------------------------------------------
  1272. Y2K3.  What happens with the year 2038 with C?
  1273.  
  1274. The C epoch typically uses a longword (known as time_t) to contain the number of
  1275. seconds since midnight on 1-Jan-1970.  At the current rate of consumption of
  1276. seconds, this longword is expected to overflow (when interpreted as a signed
  1277. longword) circa 03:14:07 on 19-Jan-2038 (GMT), as this time is circa 0x7FFFFFFF
  1278. seconds since the C base date.
  1279.  
  1280. One could see this longword time value used in any C program that manipulates
  1281. time using the standard C library routines, regardless of the particular
  1282. operating system platform.
  1283.  
  1284. There is currently no standard mechanism for dealing with this overflow (short
  1285. of promoting all longword integers to quadwords), as the format of the time_t
  1286. value is implementation-specific.  Some implementations and applications will
  1287. treat time_t as an unsigned longword value, while others treat it as a signed
  1288. longword value -- the format of time_t is specifically left up to the C compiler
  1289. implementation by the C standards.
  1290.  
  1291. Applications written in C will likely have to revisit something similar to the
  1292. current "Year 2000" evaluation process sometime prior to 2038.
  1293.  
  1294. The OpenVMS Y2K evaluation does not extend into 19-Jan-2038, or later.
  1295.  
  1296. For information on OpenVMS and 2038, please see the OpenVMS Y2K website.
  1297.  
  1298.                     [Steve Hoffman]
  1299.  
  1300. ------------------------------------------------------------
  1301. Y2K4.  Is the year 2000 a leap year?
  1302.  
  1303. The year 2000 is a leap year.  (That is, the year 2000 is a leap year
  1304. in the Gregorian calendar, the calendar that is currently used in most
  1305. parts of the world.)
  1306.  
  1307. The leap year algorithm that was created by Aloysius Giglio, Father
  1308. Christopher Clavius, and the Coucil of Trent for the Gregorian Calendar
  1309. dates back to the 16th Century.  The algorithm is simple, but effective:
  1310. the years that are evenly divisible by 4 are leap years, while the years
  1311. that are divisible by 100 are not, while the years that are divisible by
  1312. 400 are.  Thus, 1800, 1900, and 2100 are not leap years, while 2000 is.
  1313.  
  1314. And whenever working with dates, please determine what the local calendar,
  1315. timezone, and daylight savings time rules are: the Gregorian calendar was
  1316. adopted in 1698 in some areas of the world, in 1752 in others, and in 1918
  1317. in yet others.  The specific rules vary both by geography and by date.
  1318.  
  1319. For further details on this, please see the DECwindows Calendar Help, or
  1320. please see the answer to DIGITAL SPR number 11-60903, dated 13-Oct-1983.
  1321.  
  1322.  
  1323. ------------------------------------------------------------
  1324. Y2K5.  What is covered by the OpenVMS Y2K Evaluation?
  1325.  
  1326. All supported components of OpenVMS are covered by the OpenVMS Y2K
  1327. evaluation, including the language run-time libraries and the OpenVMS
  1328. system-integrated products such as shadowing and RMS journaling.
  1329.  
  1330. For information on other DIGITAL products, or for additional details on
  1331. the OpenVMS Y2K evaluation, please see http://www.digital.com/year2000/.
  1332.  
  1333. ------------------------------------------------------------
  1334. Y2K6.  Do I need to consider Y2K?  Do I even need the Y2K ECO?
  1335.  
  1336. To answer this, you will need to trade off the risks of Y2K failures
  1337. with the time and money that will be spent performing a local Y2K
  1338. evaluation.  The performance of a Y2K evaluation is much like the
  1339. purchasing of insurance.
  1340.  
  1341. It is quite possible to create an entirely a Y2K safe environment
  1342. from tools and products that are not Y2K ready, just as it is also
  1343. possible to have serious Y2K problems in an environment based entirely
  1344. on Y2K ready products.  In other words -- short of knowing that the
  1345. product has catestrophic Y2K failures, and short of learning where
  1346. specific known Y2K problems lurk in the products -- you cannot really
  1347. determine with any certainty that your site is Y2K ready.
  1348.  
  1349. The only way to tell for certain that your site is Y2K safe is to
  1350. test your systems and your applications.  For some suggested testing
  1351. procedures, please see the OpenVMS Y2K website.
  1352.  
  1353. The OpenVMS operating system is in good shape in regard to Y2K, but
  1354. there are a few small areas of OpenVMS that do require an update for
  1355. Y2K readiness -- if you are certain that no local software is using
  1356. any these areas OpenVMS, then you will likely not require the update.
  1357. If you are not certain, then you have will likely need to test for
  1358. Y2K problems at your site, and you will also likely want to acquire
  1359. and install the update.  For details on the update process and on what
  1360. was found in OpenVMS, please see the information in the Y2K kits.
  1361.  
  1362. And you will obviously need to consider software products other than
  1363. OpenVMS when making your Y2K readiness determination, as well.
  1364.  
  1365. [End of Part 1/3]
  1366. Subject: OpenVMS Frequently Asked Questions (FAQ), Part 2/3
  1367. Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha,vmsnet.misc,comp.answers,news.answers
  1368. Approved: news-answers-request@mit.edu
  1369. Followup-to: poster
  1370. Expires: 31 March 1998 00:00:00 GMT
  1371. Supersedes: <6pte58$fom@usenet.pa.dec.com>
  1372. Summary: This posting contains answers to frequently asked questions
  1373.     about the OpenVMS operating system from Digital Equipment Corporation,
  1374.     and the computer systems on which it runs.
  1375.  
  1376. Archive-name: dec-faq/vms/part2
  1377. Posting-Frequency: bi-monthly
  1378. Last-modified: November 16, 1998
  1379.  
  1380. Overview
  1381. ========
  1382. This is part 2/3 of the Frequently Asked Questions (FAQ) posting for the 
  1383. comp.os.vms and vmsnet.misc newsgroups.  (comp.os.vms is
  1384. bidirectionally-gatewayed to the INFO-VAX mailing list - see INTRO3 in part 1
  1385. for further details.)  It contains answers to frequently asked questions about
  1386. Digital's OpenVMS operating system and the computer systems on which it runs.
  1387.  
  1388. This FAQ is archived in the following locations:
  1389.     comp.answers and news.answers newsgroups
  1390.     ftp://ftp.digital.com/pub/Digital/dec-faq/vms
  1391.     ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/vms
  1392.     CompuServe VAXFORUM, Library 0, VMSFAQ.TXT
  1393.  
  1394. To make suggestions for changes or additions to this Frequently Asked
  1395. Questions list, send mail to the editor at Steve.Lionel@digital.com.
  1396. Answers are especially appreciated.
  1397.  
  1398.  
  1399. Table of Contents - Part 2/3
  1400. ____________________________
  1401.  
  1402. System Management
  1403. ========================================
  1404. MGMT1.  What is an installed image?
  1405. MGMT2.  Are there any known viruses for OpenVMS?
  1406. MGMT3.  How do I mount an ISO-9660 CD on OpenVMS?
  1407. MGMT4.  How do I extract the contents of a PCSI kit?
  1408. MGMT5.  I've forgotten the SYSTEM password - what can I do?
  1409. MGMT6.  How do I connect a PostScript printer via TCP/IP?
  1410. MGMT7.  Why can't I do a SET TIME command?
  1411. MGMT8.  How do I change the timezone differential and time in batch?
  1412. MGMT9.  How do I change the node name of an OpenVMS System?
  1413. MGMT10. What is the correct value for EXPECTED_VOTES in a VMScluster?
  1414. MGMT11. Why doesn't OpenVMS see the new memory I just added?
  1415. MGMT12. How do I write a BACKUP saveset to a remote tape?
  1416. MGMT13. Tell me about SET HOST/DUP and SET HOST/HSC
  1417. MGMT14. How do I install DECnet Phase IV on VMS 7.1?
  1418. MGMT15. How do I change the text in a user's UIC identifier?
  1419. MGMT16. What are the OpenVMS version upgrade paths?
  1420. MGMT17. Why do I have negative number in the pagefile reservable pages?
  1421. MGMT18. Do I have to update layered products when updating OpenVMS?
  1422.  
  1423.  
  1424. MAIL
  1425. ========================================
  1426. MAIL1.  How do I send Internet mail?
  1427. MAIL2.  How do I get IN% or MX% added automatically to Internet addresses?
  1428. MAIL3.  How do I automatically append a signature file to my mail messages?
  1429. MAIL4.  Do I have to use VMS MAIL?  I like my Unix mailer better.
  1430. MAIL5.  How can I forward my mail?  Can I forward it to an Internet address?
  1431. MAIL6.  How can I forward my mail to a list of addresses?
  1432. MAIL7.  MAIL keeps saying I have new messages, but I don't.  What do I do?
  1433. MAIL8.  How do I extract all of my mail messages to a file?
  1434. MAIL9.  How do I send or read attachments in VMS MAIL?
  1435.  
  1436. Other Utilities
  1437. ========================================
  1438. UTIL1.  How do I play an audio CD on my workstation?
  1439. UTIL2.  How do I access a MS-DOS floppy disk from OpenVMS?
  1440. UTIL3.  How do I play sound files on an AlphaStation?  DECsound doesn't work
  1441.  
  1442. DCL and command usage
  1443. ========================================
  1444. DCL1.   How do I run a program with arguments?
  1445. DCL2.   How can I redefine control keys in DCL?
  1446. DCL3.   How can I clear the screen in DCL?
  1447. DCL4.   How do I do a REPLY/LOG in a batch stream?
  1448. DCL5.   How do I generate a random number in DCL?
  1449. DCL6.   What does the MCR command do?
  1450. DCL7.   How do I change the OpenVMS system prompt?
  1451. DCL8.   Can I do DECnet task-to-task communication with DCL?
  1452.  
  1453. File System and RMS
  1454. ========================================
  1455. FILE1.  How can I undelete a file?
  1456. FILE2.  Why does SHOW QUOTA give a different answer than DIR/SIZE?
  1457. FILE3.  How do I make sure that my data is safely written to disk?
  1458. FILE4.  What are the limits on file specifications and directories?
  1459. FILE5.  What is the largest disk volume size OpenVMS can access?
  1460. FILE6.  What is the maximum file size, and the RMS record size limit?
  1461. FILE7.  How do I write recordable CDs on OpenVMS?
  1462.  
  1463. Programming
  1464. ========================================
  1465. PROG1.  How do I call <routine_name> from <language_name>?
  1466. PROG2.  How do I get the arguments from the command line?
  1467. PROG3.  How do I get a formatted error message in a variable?
  1468. PROG4.  How do I link against SYS$SYSTEM:SYS.STB on an Alpha system?
  1469. PROG5.  How do I do a SET DEFAULT from inside a program?
  1470. PROG6.  How do I create a shareable image transfer vector on an Alpha system?
  1471. PROG7.  How do I turn my Fortran COMMON into a shareable image on Alpha?
  1472. PROG8.  How do I convert between IEEE and VAX floating data?
  1473. PROG9.  How do I get the argument count in a Fortran routine?
  1474. PROG10. How do I get a unique system ID for licensing purposes?
  1475. PROG11. What is an executable, shareable, system or UWSS image?
  1476. PROG12. How do I do a file copy from a program?
  1477. PROG13. What is a descriptor?
  1478. PROG14. How many bytes are in a disk block?
  1479. PROG15. How many bytes are in a memory page?
  1480. PROG16. How do I create a process under another username?
  1481.  
  1482.  
  1483. ------------------------------------------------------------
  1484. MGMT1.  What is an installed image?
  1485.  
  1486. The term "install" has two distinct meanings in OpenVMS.  The first relates to
  1487. "installing a product", which is done with either the SYS$UPDATE:VMSINSTAL.COM
  1488. command procedure or the POLYCENTER Software Installation (PCSI) utility 
  1489. (PRODUCT command).  The second meaning relates to the use of the INSTALL
  1490. utility, which is what concerns us here.
  1491.  
  1492. The INSTALL utility is used to identify to OpenVMS a specific copy of an
  1493. image, either executable or shareable, which is to be given some set of
  1494. enhanced properties.  For example, when you issue the SET PASSWORD command,
  1495. the image SYS$SYSTEM:SETP0.EXE is run.  That image needs to have elevated
  1496. privileges to perform its function.
  1497.  
  1498. The other important attribute is /SHARED.  This means that shareable parts
  1499. of the image (typically read-only code and data) are loaded into memory
  1500. only once and are shared among all users on a system.  Executable images
  1501. can be installed /SHARED as well as shareable library images.  (The term
  1502. "shareable" has dual meanings here, too.  See the OpenVMS Programming
  1503. Concepts Manual for further details.)
  1504.  
  1505. It's important to note that there is no such thing as "installing a shareable
  1506. image with privileges".  The INSTALL utility will let you do it, but the
  1507. privileges you specify will be ignored.  To have a callable routine run with
  1508. enhanced privileges that are not available to its caller, you must construct
  1509. your routines as "user-written system services" and install the shareable
  1510. image with the /PROTECT qualifier.  See the OpenVMS Programming Concepts
  1511. Manual for more information on user-written system services.  Note also
  1512. that in many cases the need to grant privileges to an image can be replaced
  1513. with the use of the "Protected Subsystems" feature that grants a rights
  1514. identifier to an image.  See the OpenVMS Guide to System Security for
  1515. information on Protected Subsystems.
  1516.  
  1517. ------------------------------------------------------------
  1518. MGMT2.  Are there any known viruses for OpenVMS?
  1519.  
  1520. Viruses are very common on PCs because the PC operating systems such as MS-DOS
  1521. and MacOS do not implement any sort of scheme to protect the operating system
  1522. or the file system against hostile action by programs.  On these operating
  1523. systems, any running program can subvert the operating system and take over
  1524. the hardware, at which point it can do anything it wishes, including hiding
  1525. copies of itself in other programs or in the file system.
  1526.  
  1527. This is unlikely on VMS, Unix, MVS, and Windows NT, for two reasons.
  1528. First, the operating system runs in a privileged mode in memory that is
  1529. protected against modification by normal user programs.  Any old program
  1530. cannot take over the hardware as it can on PC operating systems.  Secondly,
  1531. VMS, Unix, MVS, and NT have file systems that can be set up so that
  1532. non-privileged programs cannot modify system programs and files on disk.  Both
  1533. of these protection schemes mean that traditional PC virus schemes don't work
  1534. on these OSes.
  1535.  
  1536. It is possible for VMS, etc., to be infected by viruses, but to do so, the
  1537. program containing the virus must be run from a user account that has
  1538. amplified privileges.  As long as the system administrator is careful that
  1539. only trusted applications are run from such accounts (and this is generally
  1540. the case), there is no danger from viruses.
  1541.                     [winalski@gemgrp.enet.dec.com]
  1542.  
  1543. To protect against viruses and other attempts at system interference or
  1544. misuse, follow the recommendations in the "OpenVMS Guide to System  Security". 
  1545. You may also want to consider optional software products which can monitor
  1546. your system for intrusion or infection attempts.  Digital offers the 
  1547. following products in this area:
  1548.  
  1549.   DECinspect Intrusion Detector
  1550.   POLYCENTER Security Reporting Facility
  1551.   POLYCENTER Security Compliance Manager
  1552.  
  1553. Rocksoft offers the Veracity data integrity tool (for info, send mail to
  1554. demo@rocksoft.com).
  1555.  
  1556. [Contributions to this list welcomed]
  1557.  
  1558. ------------------------------------------------------------
  1559. MGMT3.  How do I mount an ISO-9660 CD on OpenVMS?
  1560.  
  1561. ISO-9660 support was added in the following releases:
  1562.  
  1563.     OpenVMS VAX V6.0
  1564.     OpenVMS AXP V1.5
  1565.     OpenVMS VAX V5.5, use F11CD kit from InfoServer CD, or
  1566.                       Consolidated Distribution CD under InfoServer, or
  1567.               Digital Customer Support - CSCPAT #1071012
  1568.  
  1569. Here's how to do it:
  1570.  
  1571.     $ MOUNT/MEDIA_FORMAT=CDROM  device-name[:] [volume-label]
  1572.  
  1573. Please refer to the OpenVMS MOUNT Utility Manual, especially the section
  1574. regarding the MOUNT qualifier /UNDEFINED_FAT. 
  1575.  
  1576. From the OpenVMS release notes:
  1577.  
  1578.   Because ISO-9660 media can be mastered from platforms that do not support
  1579.   semantics of files containing predefined record formats, you may encounter
  1580.   ISO-9660 CD-ROMs with files that contain records for which no record format
  1581.   was specified.
  1582.  
  1583. An example which works for most CD-ROMs is:
  1584.  
  1585.     $ MOUNT/MEDIA_FORMAT=CDROM/UNDEFINED_FAT=STREAM:2048 DUA0: FREEWARE
  1586.  
  1587. This /UNDEFINED_FAT qualifier states, "For any file whose file attributes are
  1588. 'undefined', return file attributes of 'stream', maximum record length 2048".
  1589.                     [dunham@star.enet.dec.com]
  1590.  
  1591. ------------------------------------------------------------
  1592. MGMT4.  How do I extract the contents of a PCSI kit?
  1593.  
  1594. A growing number of OpenVMS products are being provided in PCSI
  1595. (POLYCENTER Software Installation) kits which are installed using the
  1596. PRODUCT INSTALL command.  These are alternatives to or replacement for
  1597. VMSINSTAL kits which were BACKUP savesets.  PCSI kits are not BACKUP
  1598. savesets and are structured differently from VMSINSTAL kits.
  1599.  
  1600. If you want to extract product files from a PCSI kit, create a directory
  1601. into which the kit should be expanded and use the following command:
  1602.  
  1603.     $ PRODUCT COPY prodname /SOURCE=[where-the-kit-is] -
  1604.       /DEST=[destination-directory] /FORMAT=REFERENCE
  1605.  
  1606. A PCSI kit file has a file specification of the following form:
  1607.  
  1608.     DEC-VAXVMS-FORTRAN-V0603-141-1.PCSI
  1609.  
  1610. In this example, "FORTRAN" is the "prodname".  PCSI will expand the kit
  1611. files into the directory you specify and subdirectories beneath such
  1612. as [SYSEXE], [SYSLIB], etc., reflecting the eventual destination of files
  1613. found there.  Most of the actual product files (images, etc.) will be in
  1614. the subdirectories.  In the top-level directory will be a file with the
  1615. file type PCSI$DESCRIPTION that specifies where various files should go.
  1616. For more details, see the POLYCENTER Software Installation Developer's 
  1617. Guide for OpenVMS, which can be found in the OpenVMS documentation on
  1618. the Consolidated Online Documentation CD-ROM.
  1619.  
  1620. ------------------------------------------------------------
  1621. MGMT5.  I've forgotten the SYSTEM password - what can I do?
  1622.  
  1623. If you need to break into an OpenVMS system because you do not have
  1624. access to any privileged passwords, such as the password to the SYSTEM
  1625. username, you  will need physical access to the system console, and you
  1626. will need to perform a conversational reboot.  Here are the steps:
  1627.  
  1628.   1.  Halt the system.  Exactly how this is done depends on the
  1629.       specific system model: Depending on the model, this can involve
  1630.       pressing the <HALT> button, entering <CTRL/P> on the console, or
  1631.       pressing the <BREAK> key on the console.
  1632.  
  1633.   2.  At the >>> console prompt, use a console command to boot into the
  1634.       SYSBOOT> utility.  (SYSBOOT allows conversational changes to system 
  1635.       parameters.)  The syntax for the conversational bootstrap varies by
  1636.       system model -- this typically involves specifying a flag of 1, for
  1637.       example:
  1638.  
  1639.         VAX:
  1640.           B/1
  1641.           B/R5:1
  1642.           @GENBOO
  1643.  
  1644.         Alpha:
  1645.           b -flags 0,1
  1646.  
  1647.       If your system has a non-zero system root (such as root SYSE, shown
  1648.       here), you will have to use a console command such as the following:
  1649.  
  1650.         VAX:
  1651.           B/E0000001
  1652.           B/R5:E0000001
  1653.           @<console media procedure name varies widely>
  1654.  
  1655.         Alpha:
  1656.           b -flags e,1
  1657.     
  1658.       If your system has a hardware password (various systems support
  1659.       a password that prevents unauthorized access to the console), you
  1660.       will need to know theis password and will need to enter it using
  1661.       the LOGIN command at the console.  If you get an "Inv Cmd" error
  1662.       trying to perform a conversational bootstrap, and you do not have
  1663.       the hardware console password for the console LOGIN command, you
  1664.       are stuck -- you will need to call for hardware service in order
  1665.       to reset the hardware console password.  The syntax used for the
  1666.       console password mechanism varies.
  1667.  
  1668.   3.  Once at the SYSBOOT> prompt, request that OpenVMS read the system
  1669.       startup commands directly from the system console, and that OpenVMS
  1670.       not record these parameter changes for subsequent system reboots:
  1671.  
  1672.         SET/STARTUP OPA0:
  1673.         SET WRITESYSPARAMS 0
  1674.         CONTINUE
  1675.  
  1676.   4.  At the $ prompt, the system will now be accepting startup commands
  1677.       directly from the console.  Type the following two DCL commands:
  1678.  
  1679.         SPAWN
  1680.         @SYS$SYSTEM:STARTUP
  1681.  
  1682.       The result of these two commands will be the normal system startup,
  1683.       but you will be left logged in on the console, running under a
  1684.       privileged username.  Without the use of the SPAWN command, you
  1685.       would be logged out when the startup completes.
  1686.  
  1687.   5.  Use the following commands to reset the SYSTEM password:
  1688.  
  1689.         SET DEFAULT SYS$SYSTEM:  ! or wherever SYSUAF.DAT resides
  1690.         RUN SYS$SYSTEM:AUTHORIZE
  1691.         MODIFY SYSTEM /PASSWORD=newpassword
  1692.         EXIT
  1693.  
  1694.       These steps will change the SYSTEM password to the specified new
  1695.       newpassword password value.
  1696.  
  1697.    Reboot the system normally -- the SYSTEM password should now be set to
  1698.    the value you specified in Step 5.
  1699.  
  1700.    Some people will suggest a method using the UAFALTERNATE SYSGEN parameter.
  1701.    This approach is not always reliable and is not recommended, as there can
  1702.    easily be an alternate user authorization file configured on the system.
  1703.  
  1704.    For further information on emergency startup and shutdown, as well as for
  1705.    the official OpenVMS documentation on how to change the SYSTEM password
  1706.    from the console in an emergency, please see the OpenVMS System Manager's
  1707.    Manual in the OpenVMS documentation set.
  1708.  
  1709.    You can also use the conversational bootstrap technique shown above (the
  1710.    steps through Step 3) to alter various system parameters.  At the SYSBOOT>
  1711.    prompt, you can enter new parameters values:
  1712.  
  1713.      SHOW MAXPROCESSCNT
  1714.      SET . 64
  1715.      CONTINUE
  1716.  
  1717.    The "." is a shorthand notation used for the last parameter examined.
  1718.  
  1719.                     [Steve Hoffman]
  1720.  
  1721. ------------------------------------------------------------
  1722. MGMT6.  How do I connect a PostScript printer via TCP/IP?
  1723.  
  1724. Using UCX as the TCP/IP stack, it is possible to setup queues using the 
  1725. UCX$TELNETSYM in order to print to postscript printers.  This assumes 
  1726. however that the printer itself can convert whatever is passed to it into 
  1727. something intelligible.  As an example, if the printer has an IP address 
  1728. of 123.456.789.101 and jobs should be passed to port 9100 then :
  1729. $ INITIALIZE/QUEUE/ON="123.456.789.101:9100"/PROCESSOR=UCX$TELNETSYM  -
  1730.         my_ip_queue
  1731.  
  1732. The port number of 9100 is typical of HP JetDirect cards but may be 
  1733. different for other manufacturers cards.
  1734.  
  1735. As a better alternative, DCPS Version 1.4 will support IP queues using 
  1736. either Digital TCP/IP Services for OpenVMS software or Cisco Multinet for 
  1737. OpenVMS.  The usage of this type of interface is documented in the 
  1738. Release Notes and the DCPS$STARTUP.TEMPLATE file.
  1739.  
  1740.                     [Steve Reece]
  1741.  
  1742. ------------------------------------------------------------
  1743. MGMT7.  Why can't I do a SET TIME command?
  1744.  
  1745. Q: Trying to set the time with SET TIME on my system returns one of these 
  1746. messages:
  1747.  
  1748. %SET-E-NOTSET, error modifying time
  1749. -SYSTEM-F-IVSSRQ, invalid system service request
  1750.  
  1751. %SET-E-NOTSET, error modifying time
  1752. -SYSTEM-E-TIMENOTSET, time service enabled; enter a time service command to 
  1753. update the time
  1754.  
  1755. A: This occurs if the time on the local system is controlled by a time service 
  1756. software, for example the distributed time service software (DTSS) provided as 
  1757. part of the DECnet/OSI installation. The DTSS software communicates with one or 
  1758. more time servers to obtain the current time. It entirely controls the local 
  1759. system time (for DECnet/OSI, there is a process named DTSS$CLERK for this); 
  1760. therefore, the usage of the SET TIME command (and the underlying $SETTIM system 
  1761. service) is disabled.
  1762.  
  1763. The first message is displayed on systems running DECnet/OSI V6.1 and earlier.
  1764. On systems with newer DECnet/OSI (DECnet-Plus) software, the second (and more 
  1765. informative) message is given.
  1766.  
  1767. You shouldn't have to change the time manually - you should be doing this
  1768. through the time server - but if you insist...  you'll have to shutdown DTSS:
  1769.  
  1770. $ MCR NCL
  1771. NCL> DISABLE DTSS
  1772. NCL> DELETE DTSS
  1773.  
  1774. This will shutdown DTSS$CLERK. You may then change the system time as usual.
  1775. To restart the DTSS software, type
  1776.  
  1777. @SYS$STARTUP:DTSS$STARTUP
  1778.  
  1779. You'll need a lot of privs : (CMKRNL,SYSPRV,OPER,SYSNAM,PRMMBX,NETMBX,LOG_IO,
  1780. ALTPRI) and must be granted the NET$MANAGE identifer to shutdown and 
  1781. restart DTSS.
  1782.                     [bol@adv.magwien.gv.at]
  1783.  
  1784. ------------------------------------------------------------
  1785. MGMT8. How do I change the timezone differential and time in batch?
  1786.  
  1787. To change the timezone differential and the time when the change to/from
  1788. Daylight Saving Time (DST) occurs, use SYS$MANAGER:UTC$CONFIGURE_TDF.COM. To
  1789. use this as batch job, please note:
  1790.   P1 = SET, set the time.
  1791.   P2 = signed timezone differential from UTC in minutes.
  1792.     -360 for standard time (for Chicago)
  1793.     -300 for DST (for Chicago)
  1794.   P3 = signed time change in minutes.  If +, enclose in quotes.
  1795.     -60 to go from DST to standard time
  1796.     "+60" to go from standard time to DST
  1797.  
  1798. Going from standard time to DST (for Chicago):
  1799.  
  1800. $ SUBMIT/AFTER="<date>+02:00" SYS$MANAGER:UTC$CONFIGURE_TDF -
  1801.     /PAR=(SET,-300,"+60")
  1802.  
  1803. Going from DST to standard time (for Chicago):
  1804.  
  1805. $ SUBMIT/AFTER="<date>+02:00" SYS$MANAGER:UTC$CONFIGURE_TDF -
  1806.     /PAR=(SET,-360,-60)
  1807.  
  1808. If you use this com file interactively, the times are given as signed
  1809. hour:minute, so that -360 minutes is given as -6:00.
  1810.  
  1811. Before and after the com file runs, check the system time and the logical
  1812. SYS$TIMEZONE_DIFFERENTIAL.  The logical has the offset from UTC in seconds.
  1813.  
  1814. Current DST rules for some countries:
  1815. 1. United States and Canada:
  1816.   DST begins on the first Sunday of April (2am => 3am)
  1817.   DST ends on the last Sunday of October (2am => 1am)
  1818. 2. UK, France, Germany, Spain:
  1819.   DST begins on the last Sunday of March (2am => 3am)
  1820.   DST ends on the last Sunday of October (3am => 2am)
  1821. 3. Australia:
  1822.   DST begins on the last Sunday of October (2am => 3am)
  1823.   DST ends on the last Sunday of March (2am => 1am)
  1824. 4. Singapore:
  1825.   No DST change
  1826.                     [Dale Dellutri]
  1827.  
  1828. ------------------------------------------------------------
  1829. MGMT9.  How do I change the node name of an OpenVMS System?
  1830.  
  1831.   The first step is to get a BACKUP of the system disk before making
  1832.   any changes -- use the system disk backup procedures as documented
  1833.   in the OpenVMS System Management Manual, making sure to use the
  1834.   procedures and commands appropriate for the system disk.
  1835.  
  1836.   Changing the node name involves a number of steps -- the node name
  1837.   tends to be imbedded in a number of different data files around the
  1838.   system.
  1839.  
  1840.     Update the SCSNODE in MODPARAMS.DAT, and then run AUTOGEN as
  1841.       far as the SETPARAMS phase.  (Do not reboot yet.)
  1842.     Modify the DECnet node name.  (NETCONFIG is the DECnet Phase
  1843.       IV tool, and NET$CONFIGURE is the DECnet-Plus tool.)
  1844.     Modify the IP node name.  (The UCX tool is UCX$CONFIG.)
  1845.     Modify the host node name on the various queues in the queue
  1846.       database.  (each queue has a host name, and it defaults to
  1847.       the SCS node name of the queue's host system.  See the command
  1848.       INIT/QUEUE/ON=node for information.)
  1849.     Modify the node name saved in any application databases, or any
  1850.       local node-conditional operations present in the site-specific
  1851.       system startup, etc.  (SEARCH for the node name, specifying
  1852.       all types of files.)
  1853.     Rename the SYS$NODE_oldnodename rightslist identifier to match
  1854.       the new name.  (Do not change the binary value of this
  1855.       identifier.)
  1856.     Reset any license PAKs that are restricted to the old node name
  1857.       to the new node name.
  1858.     Reboot the node or -- if in a VMScluster -- reboot the whole
  1859.       VMScluster.  (This tends to catch any errors immediately.)
  1860.  
  1861.   There are likely a few other areas where the nodename will be stored.
  1862.  
  1863.   If the system is configured in a VMScluster and you change *either*
  1864.   the SCSNODE or the SCSSYSTEMID -- but *not* both values -- then you
  1865.   will have to reboot the entire VMScluster.  (The VMScluster remembers
  1866.   the mapping between these two values, and will assume that a
  1867.   configuration problem has occured if a mismatched pair appears, and
  1868.   will refuse to let a node with a mismatched pair join the VMScluster.)
  1869.  
  1870.   I expect I may have missed one or two configuration tools (or more!)
  1871.   that are needed at your site -- the node name tends to get stored all
  1872.   over the place, in layered products, and in local software...
  1873.  
  1874.                     [Steve Hoffman]
  1875.  
  1876. ------------------------------------------------------------
  1877. MGMT10. What is the correct value for EXPECTED_VOTES in a VMScluster?
  1878.  
  1879. The VMScluster connection manager uses the concept of votes and quorum
  1880. to prevent disk and memory data corruptions -- when sufficient votes are
  1881. present for quorum, then access to resources is permitted.  When sufficient
  1882. votes are not present, user activity will be blocked.  The act of blocking
  1883. user activity is called a "quorum hang", and is better thought of as a
  1884. "user data integrity interlock".  This mechanism is designed to prevent
  1885. a partitioned VMScluster, and the resultant massive disk data corruptions.
  1886.  
  1887. On each OpenVMS node in a VMScluster, one sets two values in SYSGEN: VOTES,
  1888. and EXPECTED_VOTES.  The former is how many votes the node contributes to
  1889. the VMScluster.  The latter is the total number of votes expected when the
  1890. full VMScluster is bootstrapped.
  1891.  
  1892. Some sites erroneously attempt to set EXPECTED_VOTES too low, believing
  1893. this will allow when only a subset of voting nodes are present in a
  1894. VMScluster.  It does not.  Further, an erroneous setting in EXPECTED_VOTES
  1895. is automatically corrected once VMScluster connections to other nodes are
  1896. established, meaning user data is at risk of severe corruption only during
  1897. the initial system bootstrap.
  1898.  
  1899. One can operate a VMScluster with one, two, or many voting nodes.  With
  1900. any but the two-node configuration, keeping a subset of the nodes active
  1901. when some nodes fail can be easily configured.  With the two-node
  1902. configuration, one must use a primary-secondary configuration (where the
  1903. primary has all the votes), a peer configuration (where when either node
  1904. is down, the other hangs), or (preferable) a shared quorum disk.
  1905.  
  1906. Use of a quorum disk does slow down VMScluster transitions somewhat --
  1907. the addition of a third voting node that contributes the vote(s) that
  1908. would be assigned to the quorum disk makes for faster transitions -- but
  1909. the use of a quorum disk does mean that either node in a two-node VMScluster
  1910. configuration can operate when the other node is down.
  1911.  
  1912. In a two-node VMScluster with a shared storage interconnect, typically each
  1913. node has one vote, and the quorum disk also has one vote.  EXPECTED_VOTES
  1914. is set to three.
  1915.  
  1916. Using a quorum disk on a non-shared interconnect is unnecessary -- the
  1917. use of a quorum disk does not provide any value, and the votes assigned
  1918. to the quorum disk should be assigned to the OpenVMS host serving access
  1919. to the disk.
  1920.  
  1921. For information on quorum hangs, see the OpenVMS documentation.  For
  1922. information on changing the EXPECTED_VOTES value on a running system,
  1923. see the SET CLUSTER/EXPECTED_VOTES command, and see the OpenVMS system
  1924. console documentation for the processor-specific console commands used
  1925. to trigger the IPC (Interrrupt Priority Level %x0C; IPL C) handler.
  1926. The IPC handler can be used to clear a quorum hang, and to clear disk
  1927. mount verification hangs.
  1928.  
  1929.                         [Steve Hoffman]
  1930.  
  1931. ------------------------------------------------------------
  1932. MGMT11. Why doesn't OpenVMS see the new memory I just added?
  1933.  
  1934. When adding memory to an OpenVMS system, one should check for an existing
  1935. definition of the PHYSICALPAGES (OpenVMS VAX) or PHYSICAL_MEMORY (OpenVMS
  1936. Alpha) parameter in the SYS$SYSTEM:MODPARAMS.DAT parameter database, use
  1937. a text editor to reset the value in the file to the new correct value as
  1938. required, and then perform the following command:
  1939.  
  1940.   $ @SYS$UPDATE:AUTOGEN GETDATA REBOOT FEEDBACK
  1941.  
  1942. This AUTOGEN command will reset various system parameters based on recent
  1943. system usage (FEEDBACK), and it will reset the value for the PHYSICALPAGES
  1944. parameter to the new value.  It will also reboot the OpenVMS system.
  1945.   
  1946. PHYSICALPAGES and PHYSICAL_MEMORY can also be used to deliberately lower
  1947. the amount of memory available for use by OpenVMS.  This ability can be
  1948. useful in a few specific circumstances, such as testing the behaviour of
  1949. an application in a system environment with a particular (lower) amount
  1950. of system memory available.
  1951.  
  1952. PHYSICALPAGES and PHYSICAL_MEMORY can be set to -1, to indicate that
  1953. all available memory should be used.
  1954.  
  1955.                         [Steve Hoffman]
  1956.  
  1957. ------------------------------------------------------------
  1958. MGMT12. How do I write a BACKUP saveset to a remote tape?
  1959.  
  1960. How to do this correctly was described at DECUS a long time ago. On the
  1961. node with the tape drive, create SAVE-SET.FDL:
  1962.  
  1963. RECORD
  1964.         FORMAT                  fixed
  1965.         SIZE                    8192
  1966.  
  1967. Then create BACKUP_SERVER.COM:
  1968.  
  1969. $ !
  1970. $ ! BACKUP_SERVER.COM - provide remote tape service for BACKUP.
  1971. $ !
  1972. $ set verify
  1973. $ set noon
  1974. $ define mu $90$mua93:   ! or whatever your real tape drive is
  1975. $ set rms/network=16
  1976. $ mount/nounl/over:id/block=8192 mu:
  1977. $ convert/fdl=SAVE-SET sys$net mu:save-set.
  1978. $ dismount/unl mu:
  1979. $ set noverify
  1980.  
  1981. On the node where you want to do the backup, do:
  1982.  
  1983. $ BACKUP input-spec node::"TASK=BACKUP_SERVER" /BLOCK=8192
  1984.  
  1985. The only thing that doesn't completely work here is multi-reel savesets.
  1986. Since the tape is being written through RMS and the magtape ACP, BACKUP
  1987. won't see the reel switch and will split an XOR group across the reel
  1988. boundary. As far as I remember, BACKUP will be willing to read such a
  1989. multi-reel save set (directly, not over the net) since the XOR blocks
  1990. are simply ignored on read, but it definitely wouldn't be able to do a
  1991. recovery across the reel boundary.
  1992.  
  1993. Unfortunately BACKUP can't read tapes over the network because the RMS
  1994. file attributes on a network task access look wrong (variable length
  1995. records).
  1996.                         [Steve Hoffman]
  1997.  
  1998. ------------------------------------------------------------
  1999. MGMT13. Tell me about SET HOST/DUP and SET HOST/HSC
  2000.  
  2001. The OpenVMS DCL commands SET HOST/DUP and SET HOST/HSC are used to connect to
  2002. storage controllers via the Diagnostics and Utility Protocol (DUP).  These
  2003. commands require that the FYDRIVER device driver be connected.  This device
  2004. driver connection is typically performed by adding the following command(s) into
  2005. the system startup command procedure:
  2006.  
  2007.     On OpenVMS Alpha:
  2008.       $ RUN SYS$SYSTEM:SYSMAN
  2009.       SYSMAN> IO CONNECT FYA0/NOADAPTER/DRIVER=SYS$FYDRIVER
  2010.  
  2011.     On OpenVMS VAX:
  2012.       $ RUN SYS$SYSTEM:SYSGEN
  2013.       SYSGEN> CONNECT FTA0/NOADAPTER
  2014.  
  2015. Alternatives to the DCL SET HOST/DUP command include the console >>> SET HOST
  2016. command available on various mid- to recent-vintage VAX consoles:
  2017.  
  2018.     Access to Parameters on an Embedded DSSI controller:
  2019.       >>> SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number PARAMS
  2020.  
  2021.     Access to Directory of tools on an Embedded DSSI controller:
  2022.       >>> SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number DIRECT
  2023.  
  2024.     Access to Parameters on a KFQSA DSSI controller:
  2025.       >>> SHOW UQSSP ! to get port_controller_number PARAMS
  2026.       >>> SET HOST/DUP/UQSSP port_controller_number PARAMS
  2027.  
  2028. These console commands are available on most MicroVAX and VAXstation 3xxx
  2029. series systems, and most (all?) VAX 4xxx series systems.  For further
  2030. information, see the system documentation and -- on most VAX systems -- see
  2031. the console HELP text.
  2032.  
  2033. EK-410AB-MG, _DSSI VAXcluster Installation and Troubleshooting_, is a good
  2034. resource for setting up a DSSI VMScluster on OpenVMS VAX nodes. (This manual
  2035. predates coverage of OpenVMS Alpha systems, but gives good coverage to all
  2036. hardware and software aspects of setting up a DSSI-based VMScluster -- and
  2037. most of the concepts covered are directly applicable to OpenVMS Alpha systems. 
  2038. This manual specifically covers the hardware, which is something not covered
  2039. by the standard OpenVMS VMScluster documentation.)
  2040.  
  2041.                         [Steve Hoffman]
  2042.  
  2043. ------------------------------------------------------------
  2044. MGMT14. How do I install DECnet Phase IV on VMS 7.1?
  2045.  
  2046. On OpenVMS V7.1, all DECnet binaries were relocated into separate installation
  2047. kits -- you can selectively install the appropriate network: DECnet-Plus
  2048. (formerly known as DECnet OSI), DECnet Phase IV, and DIGITAL TCP/IP Services
  2049. (often known as UCX).
  2050.  
  2051. On OpenVMS versions prior to V7.1, DECnet Phase IV was integrated, and there
  2052. was no installation question.  You had to install the DECnet-Plus (DECnet OSI)
  2053. package on the system, after the OpenVMS upgrade or installation completed.
  2054.  
  2055. During an OpenVMS V7.1 installation or upgrade, the installation procedure
  2056. will query you to learn if DECnet-Plus should be installed. If you are
  2057. upgrading to V7.1 from an earlier release or are installing V7.1 from a
  2058. distribution kit, simply answer "NO" to the question asking you if you want
  2059. DECnet-Plus.  Then -- after the OpenVMS upgrade or installation completes --
  2060. use the PCSI PRODUCT INSTALL command to install the DECnet Phase IV binaries
  2061. from the kit provided on the OpenVMS software distribution kit.
  2062.  
  2063. If you already have DECnet-Plus installed and wish to revert, you must
  2064. reconfigure OpenVMS.  You cannot reconfigure the "live" system, hence you must
  2065. reboot the system using the V7.1 distribution CD-ROM.  Then select the DCL
  2066. ($$$ prompt) option.  Then issue the commands:
  2067.  
  2068.     $$$ DEFINE/SYSTEM PCSI$SYSDEVICE DKA0:
  2069.     $$$ DEVINE/STSTEM PCSI$SPECIFIC DKA0:[SYS0.]
  2070.     $$$ PRODUCT RECONFIGURE VMS /REMOTE/SOURCE=DKA0:[VMS$COMMON]
  2071.  
  2072. The above commands assume that the target system device and system root are
  2073. "DKA0:[SYS0.]".  Replace this with the actual target device and root, as
  2074. appropriate.  The RECONFIGURE command will then issue a series of prompts. 
  2075. You will want to reconfigure DECnet-Plus off the system, obviously.  You will
  2076. then want to use the PCSI command PRODUCT INSTALL to install the DECnet Phase
  2077. IV kit from the OpenVMS distribution media.
  2078.  
  2079. Information on DECnet support, and on the kit names, is included in the
  2080. OpenVMS V7.1 installation and upgrade documentation.
  2081.  
  2082.                         [Steve Hoffman]
  2083.  
  2084. ------------------------------------------------------------
  2085. MGMT15. How do I change the text in a user's UIC identifier?
  2086.  
  2087. The text translations of the numeric User Identification Code (UIC) are based
  2088. on identifiers present in the OpenVMS rightslist.  Documentation on this area
  2089. is included in the _Guide to OpenVMS System Security_ manual.
  2090.  
  2091. To control the identifiers shown for a user's UIC, you use AUTHORIZE. Each
  2092. user has an associated group identifier, and an identifier specific to the
  2093. user.  And each user should have a unique UIC.
  2094.  
  2095. To alter the text of a user or group identifier, use commands such as:
  2096.  
  2097.     $ RUN SYS$SYSTEM:AUTHORIZE
  2098.     UAF> rename/ident oldgroupid newgroupid
  2099.     UAF> rename/ident olduserid  newuserid
  2100.  
  2101. If you should find yourself missing an identifier for a particular user, you
  2102. can add one for the user's UIC using a command such as:
  2103.  
  2104.     UAF> add/ident/value=uic=[group,user] newuserid
  2105.  
  2106. The UIC user identifier text is assigned when the username is created, and is
  2107. the text of the username.  The UIC group group identifier is assigned when the
  2108. first username is created in the UIC group, and the text is based on the
  2109. account name specified for the first user created in the group.  The value of
  2110. this identifier is [groupnumber, 177777]. To add a missing group identifier,
  2111. use an asterisk as follows:
  2112.  
  2113.     UAF> add/ident/value=uic=[group,*] newgroupid
  2114.  
  2115. You may find cases where an identifier is missing from time to time, as there
  2116. are cases where the creation of a UIC group name identifier might conflict
  2117. with an existing username, or a user identifier might conflict with an
  2118. existing group identifier.  When these conflicts arise, the AUTHORIZE utility
  2119. will not create the conflicting group and/or user identifier when the username
  2120. is created.
  2121.  
  2122. You can can add and remove user-specified identifiers, but you should avoid
  2123. changing the numeric values associated with any existing identifiers.  You
  2124. should also avoid reusing UICs or identifiers when you add new users, as any
  2125. existing identifiers that might be present on objects in the system from the
  2126. old user will grant the same access to the new user.  Please see the security
  2127. manual for details.
  2128.  
  2129. ------------------------------------------------------------
  2130. MGMT16. What are the OpenVMS version upgrade paths?
  2131.  
  2132.    Note: See "OpenVMS Alpha Terminology" section, below.
  2133.  
  2134.    OpenVMS Alpha release upgrade (or update) paths:
  2135.  
  2136.      From V1.0, one can upgrade to V1.5.
  2137.      From V1.5, or V1.5-1H1, one can upgrade to V6.1.
  2138.      From V6.1, one can upgrade to V6.2.
  2139.      From V6.2, one can update to V6.2-1H1, V6.2-1H2, or V6.2-1H3.
  2140.      From V6.1, or V6.2, one can upgrade to V7.0.
  2141.      From V6.1, V6.2, V6.2-1H(1,2,3), or V7.0, one can upgrade to V7.1.
  2142.      From V7.1, one can update to V7.1-1H(1,2).
  2143.  
  2144.      Some typical OpenVMS Alpha upgrade (or update) paths are:
  2145.          V1.0 -> V1.5 -> V6.1 -> (V6.2, V7.0, or V7.1)
  2146.          V6.2 -> V6.2-1H3
  2147.          V1.5-1H1 -> V6.1 -> (V6.2, V7.0, or V7.1)
  2148.          V6.2-1H(1,2,3) -> V7.1
  2149.          V7.1 -> V7.1-1H(1,2)
  2150.  
  2151.      Note that OpenVMS Alpha V7.0 does not include support for hardware
  2152.      and/or configurations first supported in OpenVMS Alpha V6.2-1H1,
  2153.      V6.2-1H2, or V6.2-1H3; one must upgrade to OpenVMS VAX V7.1.
  2154.  
  2155.      One cannot update directly to a V6.2-1Hx Limited Hardware Release
  2156.      (LHR) from any release prior to the baseline V6.2 release.  The
  2157.      same prohibition holds for performing updates directly to V7.1-1Hx
  2158.      from any release prior to V7.1 -- this is not supported, and does
  2159.      not produce the expected results.  The LHR kits can, however, be
  2160.      directly booted and can be directly installed, without regard to
  2161.      any operating system that might be present on the target disk.
  2162.  
  2163.      OpenVMS Alpha updates for LHRs (through V7.1-1Hx) require the use
  2164.      of VMSINSTAL for the update.  These LHR releases use PCSI for the
  2165.      installation, but not for the update.  Non-LHR releases use PCSI
  2166.      for installs and upgrades.
  2167.  
  2168.  
  2169.    OpenVMS VAX release upgrade paths:
  2170.  
  2171.      From V5.0 through V5.4-3 inclusive, one can upgrade to V5.5.
  2172.      From V5.5, V5.5-1, or V5.5-2HW, one can upgrade to V5.5-2.
  2173.      From V5.5, V5.5-1, or V5.5-2, one can upgrade to V6.0.
  2174.      From V5.5-2, V5.5-2H4, or V6.0, one can upgrade to V6.1.
  2175.      From V6.0, or V6.1, one can upgrade to V6.2.
  2176.      From V6.1, or V6.2, one can upgrade to V7.0.
  2177.      From V6.1, V6.2, or V7.0, one can upgrade to V7.1.
  2178.  
  2179.      Some typical OpenVMS VAX upgrade paths are:
  2180.          V5.x -> V5.5 -> V6.0 -> V6.2 -> (V7.0, or V7.1)
  2181.          V5.5-2, or V5.5-2H4 -> V6.1 -> (V6.2, V7.0, or V7.1)
  2182.  
  2183.      Note that OpenVMS VAX V6.0 does not include support for hardware
  2184.      and/or configurations first added in OpenVMS VAX V5.5-2H4, one
  2185.      must upgrade to OpenVMS VAX V6.1.
  2186.  
  2187.  
  2188.    VMScluster Rolling Upgrades:
  2189.  
  2190.      Rolling Upgrades require multiple system disks.  Rolling upgrades
  2191.      permit the VMScluster to remain available while individual systems
  2192.      are being upgraded to a new OpenVMS release.
  2193.  
  2194.      VMScluster rolling upgrades for both OpenVMS VAX and OpenVMS Alpha
  2195.      may (will) have different, or additional upgrade requirements, and
  2196.      have requirements around which versions of OpenVMS can coexist
  2197.      in a VMScluster than what is listed here.
  2198.  
  2199.      See the _OpenVMS <platform> Version <Version> Upgrade and Installation
  2200.      Manual_, and the OpenVMS Software Product Descriptions
  2201.      (http://www.openvms.digital.com/openvms/spd/list.html) for further
  2202.      details on the rolling upgrade, and for support information.  The
  2203.      documentation for older releases of OpenVMS VAX includes various
  2204.      platform-specific manuals, manuals that include instructions that
  2205.      are specific to installing and upgrading on the platform.
  2206.  
  2207.  
  2208.    OpenVMS Alpha Terminology:
  2209.  
  2210.      update:    Typically used for Limited Hardware Releases (LHR)
  2211.                 releases.  Performed via VMSINSTAL.  Applies only
  2212.                 to the OpenVMS release that the LHR is based on,
  2213.                 or to an intermediate LHR.  (eg: V7.1-1H2 applies only
  2214.                 to V7.1-1H1 and to V7.1, not to any other releases.)
  2215.             LHRs within a series are cumulative, containing all
  2216.             files and features of previous LHRs in the same series.
  2217.  
  2218.      upgrade:   Performed via PCSI.  Upgrades can typically be applied
  2219.                 to a release-specific (and documented) range of prior
  2220.             OpenVMS releases.
  2221.  
  2222.      install:   Performed via PCSI.  With an installation, no existing
  2223.     version of the operating system is assumed present, nor
  2224.     are any files from any copy of the operating system might
  2225.     be present preserved, and the entire contents of the target
  2226.     disk are destroyed via a disk initialization.
  2227.  
  2228.      preserve:  Performed via PCSI.  Otherwise similar to an installation,
  2229.     this option skips the disk reinitialization.  User files
  2230.         on the target disk are preserved.  Any existing operating
  2231.             system files on the target disk are clobbered.
  2232.  
  2233.      LHR:       Limited Hardware Release.  LHRs are specific to and are
  2234.     targeted at new hardware configurations, and are not
  2235.     shipped to customers with support contracts.  At least
  2236.     one LHR kit must be specifically acquired when purchasing
  2237.     new hardware, new hardware that is not (yet) supported by
  2238.     any mainline (non-LHR) release.  LHRs have an "H" in the
  2239.     OpenVMS version string, indicating a "Hardware" release.
  2240.  
  2241. ------------------------------------------------------------
  2242. MGMT17. Why do I have negative number in the pagefile reservable pages?
  2243.  
  2244. Seeing a negative number in the reservable pages portion of the SHOW 
  2245. MEMORY/FULL command can be normal and expected, and is (even) documented 
  2246. behaviour.  A pagefile with a negative number of reservable pages is
  2247. overcommitted, which is generally goodness assuming that every process with
  2248. reserved pages does not try to occupy all of the reserved pagefile  space at
  2249. the same time. 
  2250.  
  2251. To understand how the pagefile reservation process works, think about  how a
  2252. traditional bank operates when accepting customer deposits and  making loans. 
  2253. It's the same idea with the pagefile space. There is  less money in the bank
  2254. vault than the total deposits, because much of  the money has been loaned out
  2255. to other customers of the bank.  And the behaviour parallels that of the
  2256. pagefile down to the problems that a  "run on the bank" can cause for banking
  2257. customers.  (Though there is  no deposit insurance available for pagefile
  2258. users.)
  2259.  
  2260. If all of the running applications try to use the reserved space, the system
  2261. manager will need to enlarge the pagefile or add one or more additional
  2262. pagefules.
  2263.  
  2264. To determine if the pagefile is excessively overcommitted, watch for "double
  2265. overcommitment" -- when the reservable space approaches the  negatation of the
  2266. available total space -- and watch that the total  amount of free space
  2267. available in the pagefile remains adequate.  If  either of these situations
  2268. arises, additional pagefile storage is required.
  2269.  
  2270. Additional pagefile information: Additional pagefiles can typically be 
  2271. created and connected on a running OpenVMS system.  New processes and  new
  2272. applications will tend to use the new pagefile, and existing  applications can
  2273. be restarted to migrate out of the more congested  pagefiles.  Pagefiles are
  2274. generally named PAGEFILE.SYS, and multiple  pagefiles are generally configured
  2275. on separate disk spindles to spread  the paging I/O load across the available
  2276. disk storage.  When multiple  pagefiles are present on recent OpenVMS
  2277. versions, each pagefile file  should be configured to be approximately the
  2278. same total size as the  other pagefiles.
  2279.  
  2280. For additional information on pagefile operations and related commands, see
  2281. the system management and performance management manuals in the  OpenVMS
  2282. documentation set.
  2283.                     [Steve Hoffman]
  2284.  
  2285. ------------------------------------------------------------
  2286. MGMT18. Do I have to update layered products when updating OpenVMS?
  2287.  
  2288. The Software Public Rollout Reports for OpenVMS list the current and future
  2289. availability of Compaq's software products shipping on the Software Products
  2290. Library kits (CDROM consolidations) for OpenVMS Alpha and OpenVMS VAX. 
  2291. Specifically, the required minimum versions for product support are listed.
  2292.  
  2293. Comprehensive Public Rollout Information, listing previous product versions as
  2294. well as currently shipping versions, has been compiled into a separate set of
  2295. reports.  The product information is grouped to show Operating System support.
  2296.  
  2297. You may or may not be able to use older versions of local applications,
  2298. third-party products, and various Compaq layered products with more recent
  2299. versions of OpenVMS.  User-mode code is expected to be upward compatible. 
  2300. Code executing in a privileged processor mode -- typically either executive or
  2301. kernel mode -- may or may not be compatible with more recent OpenVMS versions.
  2302.  
  2303. These reports are updated monthly.
  2304.  
  2305. Please see:
  2306.   http://www.openvms.digital.com/openvms/os/swroll/index.html
  2307.  
  2308.                     [Steve Hoffman]
  2309.  
  2310. ------------------------------------------------------------
  2311. MAIL1.  How do I send Internet mail?
  2312.  
  2313. There is no one answer to this question.  Internet mail is built upon the
  2314. TCP/IP protocols, which are not directly supported by VMS.  A number of
  2315. implementations of TCP/IP for VMS are available, from Digital, from a number
  2316. of other vendors, and even in a free "support it yourself" form.  The MAIL
  2317. program that comes with VMS does not directly support the mail format used on
  2318. the Internet, but various programs have been written that use MAIL's "foreign
  2319. protocol" facility to provide such support.  To send mail through a foreign
  2320. protocol by using an address syntax like IN%"fred@fred-host.xxx.com".  You
  2321. *must* include the quotation marks  Between them is the address in the format
  2322. used by mail programs that support the Internet directly.  The IN% - short for
  2323. INternet - names the foreign protocol.  On some systems, you use MX% or SMTP%
  2324. instead. (MX is a widely used, free, mail handler; see question  SOFT1. SMTP%
  2325. is used by Digital's UCX TCP/IP product)  Other systems may use some other
  2326. name.  If none of these prefixes work, ask your system manager for assistance.
  2327.                     [leichter@lrw.com]
  2328.  
  2329. See also MAIL2.
  2330.  
  2331. ------------------------------------------------------------
  2332. MAIL2.  How do I get IN% or MX% added automatically to Internet addresses?
  2333.  
  2334. Get the MAILSHR_PATCH package (there's one each for VAX and Alpha) from the 
  2335. WKU FILESERV server (see question SOFT1.)
  2336.  
  2337. As of OpenVMS V6.2, this is not necessary - if the address has an @
  2338. in it (not in a quoted string), MAIL will look to see if the logical name
  2339. MAIL$INTERNET_TRANSPORT is defined.  If it is, it will use the translation
  2340. as the transport protocol, otherwise it will use SMTP (as is used by
  2341. UCX).  For example, if you wanted IN% added, you'd define 
  2342. MAIL$INTERNET_TRANSPORT as "IN".
  2343.  
  2344. ------------------------------------------------------------
  2345. MAIL3.  How do I automatically append a signature file to my mail messages?
  2346.  
  2347. OpenVMS 7.0 adds the ability to automatically append signature files - in
  2348. MAIL, use the SET SIGNATURE command to specify a signature file name.
  2349. For earlier versions, see the following paragraphs.
  2350.  
  2351. The basic MAIL utility which is shipped with VMS does not have an intrinsic
  2352. mechanism for adding signature files.  If you're using an enhanced mail
  2353. handling package (e.g PMDF), however, it may have provisions for adding
  2354. signature files to all messages it handles - check the documentation for
  2355. details.  In addition, it's common practice to use an editor to handle
  2356. addition of `quotation marks' (e.g. >) and signature files to mail messages
  2357. and news postings.  There are several implementations of this for different
  2358. editors available on the net; for one example, see the MAIL_EDIT package
  2359. available at 
  2360.   ftp://narnia.memst.edu/mail_edit_v1-4.zip
  2361.                     [bailey@genetics.upenn.edu]
  2362.  
  2363. Define the logical MAIL$EDIT to a COM-file, which looks something like
  2364. the following:
  2365.  
  2366. $ IF P1 .NES. ""
  2367. $ THEN
  2368. $    COPY 'P1',<signaturefile> 'P2'
  2369. $ ELSE
  2370. $    COPY <signaturefile> 'P2'
  2371. $ ENDIF
  2372. $ DEFINE/NOLOG SYS$INPUT SYS$COMMAND
  2373. $ <editorname> 'P2'
  2374. $ EXIT
  2375.  
  2376. Where <signaturefile> is the name of the signature-file (including directory
  2377. and disk) and <editorname> is EDIT/EDT or EDIT/TPU (or your favorite editor).
  2378.                     [Arne Vajh°j]
  2379.  
  2380. ------------------------------------------------------------
  2381. MAIL4.  Do I have to use VMS MAIL?  I like my Unix mailer better.
  2382.  
  2383. Several Unix mailers have been ported to VMS, some by the vendors of specific
  2384. TCP/IP packages, some by users who have made them freely available.  See the
  2385. documentation for your TCP/IP package, and refer to question SOFT1 for
  2386. information about the availability of the free ports.
  2387.                     [Jerry Leichter]
  2388.  
  2389. ------------------------------------------------------------
  2390. MAIL5.  How can I forward my mail?  Can I forward it to an Internet address?
  2391.  
  2392. You can use the SET FORWARD command within MAIL to specify where you want all
  2393. your mail forwarded to.  Use SHOW FORWARD to see your current forwarding.  To
  2394. cancel all forwarding, type SET NOFORWARD.
  2395.  
  2396. You can forward your mail to an Internet address, but you have to be careful
  2397. because of the way MAIL handles special characters, such as quotation marks.
  2398. First, determine the address you would use to send mail to the place you want
  2399. to forward to - say, IN%"fred@fred-host.xxx.com".  Take that string and
  2400. *double all the quotation marks*, producing IN%""fred@fred-host.xxx.com"".
  2401. Finally, wrap quotation marks around the outside and use the the result with
  2402. SET FORWARD:
  2403.  
  2404.     MAIL>SET FORWARD "IN%""fred@fred-host.xxx.com"""
  2405.  
  2406. If you do SHOW FORWARD, you should now see:
  2407.  
  2408.     Your mail is being forwarded to IN%"fred@fred-host.xxx.com".
  2409.                     [leichter@lrw.com]
  2410.  
  2411. Note that the MAIL$INTERNET_TRANSPORT feature doesn't yet work with
  2412. SET FORWARD in that you'll still have to use the syntax above with the
  2413. quotation marks.
  2414.  
  2415. ------------------------------------------------------------
  2416. MAIL6.  How can I forward my mail to a list of addresses?
  2417.  
  2418. VMS MAIL does not support forwarding a message to more than one address.
  2419. (Older versions of MAIL allowed you to specify such forwarding, but it never
  2420. worked correctly.)
  2421.  
  2422. Many of the TCP/IP mail packages support forwarding to mailing lists, as does
  2423. the free MX mail handling system and the DELIVER mail "extender".  See the
  2424. documentation of your TCP/IP package and question SOFT1.
  2425.                     [leichter@lrw.com]
  2426.  
  2427. ------------------------------------------------------------
  2428. MAIL7.  MAIL keeps saying I have new messages, but I don't.  What do I do?
  2429.  
  2430. The count of new mail messages is kept separately from your mail folder
  2431. in SYS$SYSTEM:VMSMAIL_PROFILE.DATA.  It sometimes happens that this count
  2432. differs from what's in your mail folder.  If this happens, go into MAIL
  2433. and repeat the READ/NEW command until you see no new mail messages.  Then
  2434. enter the command one more time.  This will resynchronize the counters.
  2435.  
  2436. ------------------------------------------------------------
  2437. MAIL8.  How do I move all of my mail messages to another system?
  2438.  
  2439. If you are moving to another OpenVMS system, perhaps the best way is to select
  2440. each folder and do (in MAIL) a:
  2441.  
  2442.     EXTRACT/APPEND/ALL/MAIL mymail.mai
  2443.  
  2444. Move MYMAIL.MAI to the other system, then do this (in MAIL):
  2445.  
  2446.     SET FILE mymail.mai
  2447.     COPY/ALL foldername MAIL.MAI
  2448.  
  2449. This will place a copy of all of your messages in the given folder.  If
  2450. you wanted to maintain the separate folders, do separate EXTRACT commands
  2451. (above) specifying different .mai files, then repeat the SET FILE, COPY
  2452. for each one.
  2453.  
  2454. If you are moving to a non-OpenVMS system, the EXTRACT command above can
  2455. be used to create a file which you can then copy - how you import it into
  2456. your mailer is an exercise left to the reader.
  2457.  
  2458. ------------------------------------------------------------
  2459. MAIL9.  How do I send or read attachments in VMS MAIL?
  2460.  
  2461. Is there any way to send or read mail with files as attachments from VMS?
  2462.  
  2463. Not directly with the OpenVMS MAIL facility, but there are 
  2464. several other options:
  2465.  
  2466. 1. Install PINE, available commercially from Innosoft (www.innosoft.com) or
  2467.    free from Andy Harper (ftp://ftp2.kcl.ac.uk/zip).  With PINE you can
  2468.    both send and read,if you have the appropriate viewers, MIME mail.
  2469.  
  2470. 2. If you're working from an X11 server use the OpenVMS version of Netscape
  2471.    Navigator.  This option is ok for sending mail, but is not optimal for
  2472.    reading it, since Netscape will use POP and remove messages entirely 
  2473.    the OpenVMS MAIL system, which is not generally what you want.
  2474.  
  2475. 3. MPACK/MUNPACK.  To send a MIME mail, construct the message with
  2476.    attachments manually using MPACK.  You cannot send the resulting file
  2477.    directly through MAIL because an extra  blank header line will be
  2478.    inserted between your message and the OpenVMS MAIL headers, which will
  2479.    cause the message to appear as plain text in most mail programs.  Some
  2480.    TCP/IP stacks provide a work around for this problem, and if that
  2481.    doesn't work, you should generally be able to force the message directly
  2482.    into the SMTP port of your mail machine.  Examples of both methods are
  2483.    in: http://seqaxp.bio.caltech.edu/pub/SOFTWARE/mmail.com 
  2484.  
  2485.    To read a MIME mail message, open it in MAIL, extract it to a file, then
  2486.    use MUNPACK to break out and decode the attachments.    
  2487.  
  2488.                     [David Mathog]
  2489.  
  2490. ------------------------------------------------------------
  2491. UTIL1.  How do I play an audio CD on my workstation?
  2492.  
  2493. If you've installed the DECwindows examples, you'll find
  2494. DECW$CDPLAYER.C, .DAT, .EXE, .UIL, and .UID.  Copy the .UID and .DAT
  2495. files to DECW$USER_DEFAULTS: (typically SYS$LOGIN:), define the logical name
  2496. DECW$CD_PLAYER to be the device name of your CD-ROM drive (eg. DKA400:),
  2497. give yourself PHY_IO and DIAGNOSE privileges, and run the .EXE.  You can
  2498. also install the image with these privileges.  See the source for
  2499. additional details - note that the comments regarding the need for
  2500. SYSGEN CONNECT are no longer applicable (at least as of VMS V5.5-2).
  2501.  
  2502. There's also SYS$EXAMPLES:CDROM_AUDIO.C and .EXE, a non-Motif program.
  2503.  
  2504. ------------------------------------------------------------
  2505. UTIL2.  How do I access a MS-DOS floppy disk from OpenVMS?
  2506.  
  2507. The Digital Pathworks for OpenVMS product includes a utility called PCDISK
  2508. that can read and write MS-DOS format diskette.  A license for Pathworks
  2509. is as little as US$99 (QM-2CLAA-AA, File and Print Access license).
  2510.  
  2511. ProGIS in Germany sells a product called VMove which supports DOS files on
  2512. many different device types.  For more information, send mail to
  2513. info@progis.rmi.de.
  2514.  
  2515. Engineering Software has a product called VAKSAT which will
  2516. read/write/erase files on DOS diskettes. Available for both VAX and Alpha.
  2517. Contact ed@cityscape.co.uk for more information.
  2518.  
  2519. MadGoat PC Exchange (PCX) is a utility for copying files to and from
  2520. MS-DOS format diskettes under VMS, using an RX23 (3.5"), RX26 (3.5"),
  2521. or RX33 (5.25") diskette drive.  For 3.5" diskettes, high-density
  2522. disks can be read or written; double-density disks are read-only. Only
  2523. high-density disks are supported on the RX33.
  2524.  
  2525.   http://www.wku.edu/www/madgoat/madgoat.html
  2526. ------------------------------------------------------------
  2527. UTIL3.  How do I play sound files on an AlphaStation?  DECsound doesn't work
  2528.  
  2529. The new AlphaStation systems use a different sound board (Microsoft Sound
  2530. System) than the earlier DEC 3000 AXP systems, and DECsound, as supplied by
  2531. DECwindows Motif, doesn't support this board.  Digital offers an optional
  2532. product, Multimedia Services for OpenVMS (SPD 64.24.00), which provides a
  2533. replacement DECsound for this card as well as many other features (an AVI and
  2534. MPEG player, video capture support, etc.)
  2535.  
  2536.  
  2537.  
  2538. ------------------------------------------------------------
  2539. DCL1.   How do I run a program with arguments?
  2540.  
  2541. The RUN command does not accept arguments.  To pass arguments to a program,
  2542. you must use what is called a "foreign command".  For example:
  2543.  
  2544.     $ uudecode :== $disk:[dir]uudecode.exe
  2545.     $ uudecode filespec
  2546.  
  2547. The leading $ in the symbol definition is what makes it a foreign command. If
  2548. the device and directory is omitted, SYS$SYSTEM: is assumed.  
  2549.  
  2550. Under OpenVMS V6.2 and later, DCL supports automatic foreign command
  2551. definition via the logical name DCL$PATH:.  An example of a definition of this
  2552. logical name is:
  2553.  
  2554.     $ DEFINE DCL$PATH SYS$DISK:[],ddcu:[mytooldir],SYS$SYSTEM:
  2555.  
  2556. DCL will first look for a command in the DCL command table, and if no match is
  2557. found and if DCL$PATH is defined, it will then look for command procedures and
  2558. executable images with filenames matching the command specified, in the
  2559. directories specified via DCL$PATH.  The first match found is invoked, and
  2560. under OpenVMS, the DCL$PATH support will cause a command procedure to be
  2561. activated in preference to an executable image.
  2562.  
  2563. For more information on foreign commands or on automatic foreign command
  2564. support, see the OpenVMS User's Manual.
  2565.  
  2566. See also question PROG2.
  2567.  
  2568. If you want to create a detached process that takes arguments from a command
  2569. line, it must be run under the control of a command line interpreter (CLI)
  2570. (typically DCL).  This is done by placing the command line in a file,
  2571. specifying SYS$SYSTEM:LOGINOUT.EXE as the image to run and the command file as
  2572. the input.  For example:
  2573.  
  2574.     $ OPEN/WRITE CMD TEMP_INPUT.COM
  2575.     $ WRITE CMD "$ MYCOMMAND arguments"
  2576.     $ CLOSE CMD
  2577.     $ RUN/DETACHED SYS$SYSTEM:LOGINOUT /INPUT=TEMP_INPUT.COM
  2578.  
  2579. Various OpenVMS library calls (such as lib$spawn(), cli$dcl_parse(), and the C
  2580. library system() call) require access to a command line interpreter such as
  2581. DCL to perform requested actions, and will not operate if a CLI is not
  2582. available.
  2583.  
  2584. When a CLI is not available, these calls typically return the error status
  2585. SS$_NOCLI.  And as mentioned above, invoke the image LOGINOUT to cause a CLI
  2586. (such as DCL) to be mapped into and made available in the context of the
  2587. target process.
  2588.                     [Steve Hoffman]
  2589.  
  2590. ------------------------------------------------------------
  2591. DCL2.   How can I redefine control keys in DCL?
  2592.  
  2593. The DCL DEFINE/KEY command allows you to define function and keypad
  2594. keys, but not control keys.  Also, keys you define with DEFINE/KEY are
  2595. not recognized inside applications.  Many applications which use the
  2596. SMG$ routines for input have a similar DEFINE/KEY feature.
  2597.  
  2598. The terminal driver line-editing control keys, including the use of DEL
  2599. for delete, are not modifiable.
  2600.  
  2601. ------------------------------------------------------------
  2602. DCL3.   How can I clear the screen in DCL?
  2603.  
  2604. The simplest way is the TYPE/PAGE NLA0: command.
  2605.  
  2606. You can set up a symbol to clear the screen in your LOGIN.COM:
  2607.  
  2608. $ CLS :== TYPE/PAGE NLA0:
  2609.  
  2610. ------------------------------------------------------------
  2611. DCL4.   How do I do a REPLY/LOG in a batch stream?
  2612.  
  2613. Your terminal must be enabled as an operator terminal before doing the
  2614. REPLY/LOG, but a batch stream doesn't have a terminal.  To make this
  2615. work, use the following sequence to enable the console as the operator
  2616. terminal; then the REPLY/LOG will be accepted:
  2617.  
  2618.   $ DEFINE SYS$COMMAND _OPA0:
  2619.   $ REPLY/ENABLE
  2620.   $ REPLY/LOG
  2621.                         [Arne Vajh°j]
  2622.  
  2623. ------------------------------------------------------------
  2624. DCL5.   How do I generate a random number in DCL?
  2625.  
  2626. Here's my random number generator for inclusion into the OVMS FAQ;
  2627. just do a GOSUB RAND and the global symbol RANDOM will contain a
  2628. randomly generated number.  The user/programmer can feed the generator
  2629. a ceiling value (__CEIL) or a new seed (__SEED).
  2630.  
  2631. $! RAND - returns a positive random number ("RANDOM") between 0 and 
  2632. $!        __CEIL - 1.
  2633. $ RAND:
  2634. $
  2635. $ IF F$TYPE(__SEED) .EQS. ""
  2636. $ THEN
  2637. $     ! seed the random number generator, ...
  2638. $     __NOW = F$CVTIME()
  2639. $     __HOUR = 'F$EXTRACT(11,2,__NOW)'
  2640. $     __MINUTE = 'F$EXTRACT(14,2,__NOW)'
  2641. $     __SECOND = 'F$EXTRACT(17,2,__NOW)'
  2642. $     __TICK = 'F$EXTRACT(20,2,__NOW)'
  2643. $
  2644. $     __SEED == __TICK + (100 * __SECOND) + (6000 * __MINUTE) + -
  2645.          (360000 * __HOUR)
  2646. $     ! the generator tends to do better with a large, odd seed, ...
  2647. $     __SEED == (__SEED .OR. 1)
  2648. $     ! clean up, ...
  2649. $     DELETEX/SYMBOL __NOW
  2650. $     DELETEX/SYMBOL __HOUR
  2651. $     DELETEX/SYMBOL __MINUTE
  2652. $     DELETEX/SYMBOL __SECOND
  2653. $     DELETEX/SYMBOL __TICK
  2654. $ ENDIF
  2655. $
  2656. $ IF F$TYPE(__CEIL) .EQS. "" THEN __CEIL = %X3FFFFFFF
  2657. $
  2658. $ __SEED == __SEED * 69069 + 1
  2659. $
  2660. $ RANDOM == (__SEED.AND.%X3FFFFFFF)/(%X40000000/__CEIL)
  2661. $
  2662. $ RETURN
  2663.                     [sharris@sdsdmvax.fb3.noaa.gov]
  2664.  
  2665. ------------------------------------------------------------
  2666. DCL6.   What does the MCR command do?
  2667.  
  2668. The MCR command runs the specified image, with a default filespec of
  2669. SYS$SYSTEM:.EXE, and passes any (optional) command line arguments in the
  2670. same manner as a foreign command.  In other words:
  2671.  
  2672.     $ MCR FOO BAR
  2673.  
  2674. is equivalent to:
  2675.  
  2676.     $ FOO :== $FOO
  2677.     $ FOO BAR
  2678.  
  2679. It derives from the RSX operating system from which VMS evolved and is
  2680. still often used as a shortcut for activating images.  The MCR command is
  2681. different from the MCR command line interpreter, which is provided as part
  2682. of the optional VAX-11 RSX product that provides RSX emulation under VMS.
  2683.  
  2684. ------------------------------------------------------------
  2685. DCL7.   How do I change the OpenVMS system prompt?
  2686.  
  2687. You can use the SET PROMPT command for this purpose.  SET PROMPT sets the DCL
  2688. prompt to the specified string.
  2689.  
  2690. When you want to display variable information, you will need to establish a
  2691. tie-in that provides the information to the SET PROMPT command as required.
  2692.  
  2693. If you wish to display the default directory for instance, you will have to
  2694. establish a tie between the SET DEFAULT command and the SET PROMPT commands,
  2695. as there is no direct way to get the default directory as the DCL prompt.  You
  2696. can easily acquire or create a set of DCL command procedures that perform the
  2697. SET DEFAULT and SET PROMPT for you.  These DCL command procedures often use a
  2698. command such as:
  2699.  
  2700.   $ set prompt='f$env("default")'
  2701.  
  2702. More advanced users could implement a system service or other intercept, and
  2703. use these tools to intercept the directory change and reset the prompt
  2704. accordingly.  (This approach likely involves some kernel-mode programming, and
  2705. requires write access to various undocumented OpenVMS data structures.)
  2706.  
  2707. There are related tools available from various sources, including the
  2708. following web sites:
  2709.  
  2710.   o ftp://ftp.hhs.dk/pub/vms/setpmt/
  2711.  
  2712.   o ftp://ftp.tmesis.com/sys_service_hook.src
  2713.  
  2714.   o James F. Duff has also made available a Macro32 tool known as
  2715.     TIME_PROMPT, a tool that sets the prompt to the current system time.
  2716.  
  2717.   o Many folks have contributed DCL procedures to perform this task.
  2718.     Visit the newsgroup archives for information and examples.
  2719.  
  2720. Information in this section has been acquired from various postings that
  2721. have discussed this topic in the comp.os.vms newsgroup in the past, and
  2722. examples from Arne Vajhoej, Brian Schenkenberger, James Duff, and others.
  2723.  
  2724.                 [Steve Hoffman]
  2725.  
  2726. ------------------------------------------------------------
  2727. DCL8.   Can I do DECnet task-to-task communication with DCL?
  2728.  
  2729. Yes, you can do this with DCL.
  2730.  
  2731. The OpenVMS DECnet documentation shows various simple examples using the
  2732. task object and the TYPE command to trigger the execution of a DCL command
  2733. procedure on a remote node.  A slightly more advanced example of using DCL
  2734. for DECnet task-to-task -- a procedure that acts as both the client and as
  2735. the server as appropriate, and that uses a basic form of half-duplex
  2736. communications -- is included:
  2737.  
  2738.         $! x.com
  2739.         $
  2740.         $! This procedure must be in the user's login directory.
  2741.         $! Requires a self-referential (not reverential :-) proxy:
  2742.         $!    UAF> add/prox <LocalNode>::<CurrentUser> <CurrentUser>/default
  2743.         $! Author: Stephen Hoffman, OpenVMS Engineering, Compaq
  2744.         $
  2745.         $ goto 'f$mode()'
  2746.         $INTERACTIVE:
  2747.         $ open/read/write chan 0::"task=x"
  2748.         $ write chan "Hello"
  2749.         $ read chan parameter
  2750.         $ close chan
  2751.         $ write sys$output parameter
  2752.         $ exit
  2753.         $BATCH:
  2754.         $OTHER:
  2755.         $NETWORK:
  2756.         $ open/read/write chan sys$net
  2757.         $ read chan parameter
  2758.         $ write chan "''parameter' yourself!"
  2759.         $ close chan
  2760.         $ exit
  2761.  
  2762.   An example of a run of the above procedure:
  2763.  
  2764.         $ @x
  2765.         Hello yourself!
  2766.         $
  2767.  
  2768.  
  2769. DCL does not include support asynchronous I/O, thus a predetermined protocol
  2770. or a predetermined "turn-around" command sequence must be implemented in
  2771. order to avoid protocol deadlocks -- cases where both tasks are trying to
  2772. write or both tasks are trying to read.  The task that is writing messages
  2773. to the network must write (or write and read) a predetermined sequence of
  2774. messages, or it must write a message that tells the reader that it can now
  2775. start writing messages.  (This is the essence of a basic half-duplex network
  2776. protocol scheme.)
  2777.                     [Steve Hoffman]
  2778.  
  2779. ------------------------------------------------------------
  2780. FILE1.  How can I undelete a file?
  2781.  
  2782. OpenVMS doesn't have an "undelete" function.  However, if you are quick
  2783. to write-protect the disk (or if you can guarantee that no new files get
  2784. created or existing files extended), your data is still on the disk
  2785. and it may be possible to retrieve it.  The FLORIAN tool available from
  2786. the WKU Fileserver claims to be able to do this (see question SOFT1.)
  2787. Other alternatives here include the DFU tool, available on the OpenVMS
  2788. Freeware CD-ROM distribution.
  2789.  
  2790. If you are setting up a user environment for yourself or for others, it
  2791. is quite easy to use DCL to intercept the DELETE command, using a symbol:
  2792.  
  2793.   $ DEL*ETE :== @SYS$LOGIN:MYDELETE.COM
  2794.  
  2795. The DELETE symbol will cause the procedure to be invoked whenever the user
  2796. enters the DELETE command, and it can copy the file(s) to a "trashcan"
  2797. subdirectory before issuing a "real" DELETE on the files.  Other procedures
  2798. can retrieve the file(s) from the "trashcan" subdirectory, and can (and
  2799. should) clean out the "trashcan" as appropriate.  (Realize that this DELETE
  2800. symbol can interfere with DELETE/GLOBAL and other similar DCL commands.)
  2801.  
  2802.                     [Steve Hoffman]
  2803.  
  2804. ------------------------------------------------------------
  2805. FILE2.  Why does SHOW QUOTA give a different answer than DIR/SIZE?
  2806.  
  2807. DIR/SIZE doesn't take into account the size of file headers which are
  2808. charged to your quota.  Also, unless you use DIR/SIZE:ALL, you'll see only
  2809. the "used" size of the file, not the allocated size which is what gets
  2810. charged against your quota.  Also, you may have files in other directories.
  2811.                     [Steve Lionel]
  2812.  
  2813. $ DIR/SIZ=ALL/GRAND [username...]
  2814.  
  2815. Grand total of D1 directories, F1 files, B1/B2 blocks.
  2816.  
  2817. $ DIR/SIZ=ALL/GRAND [-]username.DIR
  2818.  
  2819. Grand total of 1 directory, 1 file, B3/B4 blocks.
  2820.  
  2821. $ SHOW QUOTA
  2822.   User [username] has B5 blocks used, B6 available,
  2823.   of B7 authorized and permitted overdraft of B8 blocks on disk
  2824.  
  2825. If the user has no files in other directories and all file-headers are
  2826. only 1 block, then the following should apply:
  2827.  
  2828.   B5=B2+B4+F1+1
  2829.  
  2830. If the diskquota is out of synch, then the system-manager can make a rebuild.
  2831.                     [Arne Vajh°j]
  2832.  
  2833. ------------------------------------------------------------
  2834. FILE3.  How do I make sure that my data is safely written to disk?
  2835.  
  2836. If your application must absolutely guarantee that data is available,
  2837. no matter what, there's really no substitute for RMS Journalling.  However,
  2838. you can achieve a good degree of data integrity by issuing a SYS$FLUSH RMS
  2839. call at appropriate times (if you're using RMS, that is.)  If you're
  2840. using a high-level language's I/O system, check that language's documentation
  2841. to see if you can access the RMS control blocks for the open file.  In
  2842. C you can use fflush followed by fsync.  Note that fsync, which was
  2843. undocumented for VAX C but is documented for DEC C, takes a file descriptor
  2844. as an argument, not a *FILE.
  2845.  
  2846. ------------------------------------------------------------
  2847. FILE4.  What are the limits on file specifications and directories?
  2848.  
  2849. A file specification has an aggregate maximum size of 255 characters at
  2850. present.  The node and device specification may be up to 255 characters each -
  2851. file name and file types may be up to 39 characters each.  File versions are
  2852. from 1 through 32767, though 0 (latest version), -0 (oldest version) and -n
  2853. (n'th previous version) can be used in most contexts.  A file specification
  2854. may not have more than 8 directories and subdirectories - while it is possible
  2855. to create subdirectories of greater depth, accessing them is problematic in
  2856. most cases and this should be avoided. 
  2857.  
  2858. Application developers should use OpenVMS-supplied routines for parsing
  2859. file specifications - this ensures that changes in what is allowable will
  2860. not tend to break your application.  Consider that various parts of the
  2861. file specification may contain quoted strings with embedded spaces and
  2862. other punctuation!  Some routines of interest are SYS$FILESCAN, SYS$PARSE
  2863. and LIB$TRIM_FILESPEC.  For further information, see the OpenVMS Guide to
  2864. File Applications.
  2865.  
  2866. ------------------------------------------------------------
  2867. FILE5.  What is the largest disk volume size OpenVMS can access?
  2868.  
  2869. One Terabyte (2**31 blocks of 2**9 bytes).  Prior to the release of V6.0, the
  2870. OpenVMS file system was limited to disk volumes of 8.5 GB (2**24 blocks) or
  2871. less.
  2872.  
  2873. On some systems, there are restrictions in the console program that limit the
  2874. size of the OpenVMS system disk.  Note that data disks are not affected by
  2875. console program limits.  For example, all members of the VAXstation 3100
  2876. series are limited to a system disk to 1.073 GB or less due to the console,
  2877. though larger data disks are possible.
  2878.                     [Steve Hoffman]
  2879.  
  2880. ------------------------------------------------------------
  2881. FILE6.  What is the maximum file size, and the RMS record size limit?
  2882.  
  2883. RMS can store individual files of a size up to the maximum supported
  2884. volume size.  Under OpenVMS V6.0 and later, the volume size and the RMS
  2885. maximum file size limit is 2**31 * 512 bytes -- one terabyte (1 TB).
  2886.  
  2887. The RMS formats -- sequential, relative, and indexed -- are limited by
  2888. the one terabyte maximum volume size.  RMS relative files are further
  2889. limited to a number of records that will fit in 32 bits -- 4 billion
  2890. records.   Sequential and indexed formats do not have a record limit.
  2891.                     [Steve Hoffman]
  2892.  
  2893. ------------------------------------------------------------
  2894. FILE7.  How do I write recordable CDs on OpenVMS?
  2895.  
  2896. Creation of CD-ROMs using recordable CD media (CD-R) under OpenVMS
  2897. typically involves one of two approaches: the use of the optional
  2898. CD-R (`Scribe') capabilities available for the InfoServer or other
  2899. "offline" hardware packages, or the use of a host-based package such
  2900. as the CDWRITE13_VMS utility, an OpenVMS port of a Linux tool.
  2901.  
  2902. OpenVMS has no integrated support for recording CD-R media.
  2903.  
  2904. OpenVMS can read both ODS2 and ISO9960 format CD-ROMs.
  2905.  
  2906. InfoServer hardware configurations are no longer availble from DIGITAL,
  2907. but may potentially be acquired through other means.
  2908.  
  2909. The CDWRITE13_VMS package is one example of a host-based package that
  2910. can be used to create CD-R media.  The contact for CDWRITE13_VMS is
  2911. Dr. Eberhard Heuser-Hofmann.  One website that discusses this package
  2912. is located at:
  2913.  
  2914.   http://www.geocities.com/SiliconValley/Lakes/9999/vmscdwri.html
  2915.  
  2916. Also see the newest linux-cdwrite package, XCDROAST.
  2917.  
  2918.                                           [Steve Hoffman]
  2919.  
  2920. ------------------------------------------------------------
  2921. PROG1.  How do I call <routine_name> from <language_name>?
  2922.  
  2923. Most OpenVMS system services and RTL routines pass string arguments by
  2924. descriptor.  Languages which support native string data types create
  2925. descriptors automatically; those which do not (eg., C) require that you set
  2926. them up explicitly.
  2927.                     [eric@tardis.HQ.ileaf.com]
  2928.  
  2929. There is a lot of information available on how to call system services
  2930. and Run-Time Library routines, including examples in numerous languages.
  2931. The best references are:
  2932.  
  2933.     Your language's User Manual
  2934.     OpenVMS Programming Environment Manual
  2935.     OpenVMS Programming Concepts Manual
  2936.     OpenVMS Programming Interfaces: Calling a System Routine
  2937.     OpenVMS Calling Standard
  2938.  
  2939. In addition, if you are a subscriber to the Digital Software Information
  2940. Network (available to those with a software support contract), the DSIN
  2941. database contains hundreds of worked examples of calling system services
  2942. and RTL routines, including the one that seems to trip up almost everyone,
  2943. SMG$CREATE_MENU.
  2944.                     [Steve Lionel]
  2945.  
  2946. Arne Vajh°j has put together a collection of OpenVMS example programs.
  2947. It can be found at:
  2948.   ftp://ftp.hhs.dk/pub/vms/
  2949.                     [Arne Vajh°j]
  2950.  
  2951. Additional information and examples for OpenVMS (as well as for UNIX and
  2952. Windows NT) are available via:
  2953.  
  2954.   http://www.partner.digital.com/www-swdev/pages/Home/TECH/techsupport.html
  2955.   http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/dunix/dunix.html
  2956.   http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/ovms/ovms.html
  2957.   http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/wnt/wnt.html
  2958.  
  2959.                     [Steve Hoffman]
  2960.  
  2961. ------------------------------------------------------------
  2962. PROG2.  How do I get the arguments from the command line?
  2963.  
  2964. If you're writing a program and want to accept arguments from a foreign
  2965. command, you can use LIB$GET_FOREIGN to get the command line and parse
  2966. it yourself, or if you're programming in C, use the normal argc/argv
  2967. method.
  2968.  
  2969. To write an application which uses the normal DCL verb/qualifier/parameter
  2970. syntax for invocation, see the description of the CLI$ routines in the
  2971. OpenVMS Callable Utility Routines Reference Manual.
  2972.  
  2973. It is possible to write an application which can be used both ways; if a 
  2974. DCL verb isn't used to invoke the image, the application parses the command 
  2975. line itself.  One way to do this is to call CLI$GET_VALUE for a required
  2976. parameter.  If it is not present (or you get an error), call 
  2977. LIB$GET_FOREIGN to get the command line and do the manual parse.
  2978.  
  2979. See also question DCL1.
  2980.  
  2981. ------------------------------------------------------------
  2982. PROG3.  How do I get a formatted error message in a variable?
  2983.  
  2984. Use the SYS$PUTMSG system service with an action routine that stores
  2985. the message line(s) in the variable of your choice.  Be sure the action
  2986. routine returns a "false" (low bit clear) function value so that SYS$PUTMSG
  2987. doesn't then try to display the message (unless you want it to.)  See the
  2988. description of $PUTMSG in the System Services Reference Manual for an
  2989. example of using an action routine.
  2990.  
  2991. ------------------------------------------------------------
  2992. PROG4.  How do I link against SYS$SYSTEM:SYS.STB on an Alpha system?
  2993.  
  2994. LINK/SYSEXE is the OpenVMS Alpha equivalent of linking against SYS.STB.
  2995.  
  2996. ------------------------------------------------------------
  2997. PROG5.  How do I do a SET DEFAULT from inside a program?
  2998.  
  2999. The problem is that SYS$SETDDIR only changes the default directory - NOT
  3000. the default disk. The default disk is determined by the logical SYS$DISK.
  3001. If you want to change the default disk within a program, then call
  3002. LIB$SET_LOGICAL to change the logical SYS$DISK. You will need to call both
  3003. LIB$SET_LOGICAL and SYS$SETDDIR to change both default disk and the default
  3004. directory!
  3005.                     [Arne Vajh°j]    
  3006.  
  3007. ------------------------------------------------------------
  3008. PROG6.  How do I create a shareable image transfer vector on an Alpha system?
  3009.  
  3010. This is something that was greatly simplified for OpenVMS Alpha.  You don't
  3011. need to create a separate transfer vector module; just use the SYMBOL_VECTOR
  3012. statement in a linker options file.  For example, if your shareable image
  3013. has two routines named FOO and BAR, the linker options file should contain
  3014. the following line:
  3015.  
  3016.     SYMBOL_VECTOR=(FOO=PROCEDURE, BAR=PROCEDURE)
  3017.  
  3018. The Linker manual has more details on this.
  3019.  
  3020. ------------------------------------------------------------
  3021. PROG7.  How do I turn my Fortran COMMON into a shareable image on Alpha?
  3022.  
  3023. You need to add SYMBOL_VECTOR=(<common-name>=PSECT) to your options file.  On
  3024. OpenVMS VAX all OVR/REL/GBL psects were automatically exported into the
  3025. shareable image's Global Symbol Table.  On OpenVMS Alpha you have to tell the
  3026. linker that you want this done by means of the PSECT keyword in the
  3027. SYMBOL_VECTOR options file statement.
  3028.  
  3029. This has several advantages over OpenVMS VAX.  First, you don't have to worry 
  3030. about the address of the psect when you try to create a new, upwardly 
  3031. compatible version of the shareable image. Second, you can control which
  3032. psects, if any, are made visible outside the shareable image.
  3033.  
  3034. By default, COMMON PSECTs in DEC Fortran for OpenVMS Alpha (as well as most
  3035. other OpenVMS Alpha compilers) are NOSHR.  On VAX, the default was SHR which
  3036. required you to change the attribute to NOSHR if you wanted your COMMON
  3037. to be in a shareable image but not write-shared by all processes on the
  3038. system.  If you do want write-sharing, use: 
  3039.     CDEC$ PSECT common-name=SHR
  3040. in the Fortran source code (the CDEC$ must be begin in column 1) or a linker 
  3041. options file PSECT_ATTR statement to set the COMMON PSECT attribute to SHR.
  3042.  
  3043. For further information, see the Linker manual.
  3044.  
  3045. ------------------------------------------------------------
  3046. PROG8.  How do I convert between IEEE and VAX floating data?
  3047.  
  3048. In OpenVMS V6.1 there is a routine CVT$CONVERT_FLOAT, documented in the
  3049. LIB$ Run-Time Library Reference Manual, which can perform conversions
  3050. between any two of the following floating datatypes: VAX (F,D,G,H),
  3051. little-endian IEEE (single, double, quad), big-endian IEEE (single, double,
  3052. quad), CRAY and IBM System\370.
  3053.  
  3054. DEC Fortran (all platforms) has a feature which will perform automatic
  3055. conversion of unformatted data during input or output.  See the DEC Fortran
  3056. documentation for information on "non-native data in I/O" and the
  3057. CONVERT= OPEN statement keyword.
  3058.  
  3059. ------------------------------------------------------------
  3060. PROG9.  How do I get the argument count in a Fortran routine?
  3061.  
  3062. On VAX, many programmers would use a MACRO routine which accessed the
  3063. AP register of the caller to get the address of the argument list and
  3064. hence the argument count.  This was not guaranteed to work on VAX, but
  3065. usually did.  However, it doesn't work at all on OpenVMS Alpha, as there
  3066. is no AP register.  On Alpha systems, you must use a language's built-in
  3067. function to retrieve the argument count, if any.  In Fortran this is
  3068. IARGCOUNT, which is also available in DEC Fortran on OpenVMS VAX.
  3069.  
  3070. Note that omitting arguments to Fortran routines is non-standard and is
  3071. unsupported.  It will work in many cases - read the DEC Fortran release
  3072. notes for additional information.
  3073.  
  3074. ------------------------------------------------------------
  3075. PROG10. How do I get a unique system ID for licensing purposes?
  3076.  
  3077. Many software developers desire to use a unique hardware ID to "lock" a
  3078. given copy of their product to a specific system.  Most Digital VAX and
  3079. Alpha systems do not have a unique hardware-set "system ID" that can be
  3080. used for this purpose.  Digital does not use hardware IDs in its licensing
  3081. methods and many users consider a hardware-based licensing scheme to be
  3082. a negative attribute when considering software purchases.
  3083.  
  3084. Digital uses a software-based system called the License Management Facility
  3085. or LMF.  This provides for software keys (Product Authorization Keys or PAKS)
  3086. which support capacity and user-based license checking.  Digital sells
  3087. the DEC LMF PAK Generator for OpenVMS (SPD 31.68.03) for use by software
  3088. vendors.
  3089.  
  3090. However, if a hardware-based method is required, the most common method is
  3091. based on an Ethernet adaptor hardware address.  Sample source code for
  3092. implementing this is available at:
  3093.  
  3094.   http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/ovms/ovms.html
  3095.  
  3096. ------------------------------------------------------------
  3097. PROG11. What is an executable, shareable, system or UWSS image?
  3098.  
  3099.    Executable code in OpenVMS typically resides in an image -- an
  3100.    image is a file -- the file extension is typically .EXE -- that
  3101.    contains this code.  Common types of images include executable
  3102.    images, shareable images, system images, and protected (UWSS)
  3103.    images.
  3104.  
  3105.    Executable images are programs that can be directly executed.
  3106.       These images can grant enhanced privileges, with an INSTALL
  3107.       of the image with /PRIVILEGE, or can grant enhanced access
  3108.       with the specification of a subsystem identifier on the ACL
  3109.       associated with the image.
  3110.  
  3111.    Shareable images contain code executed indirectly, these images
  3112.        are referenced from executable images and/or from other
  3113.        shareable images.  These images can not grant enhanced
  3114.        privileges, even with the use of INSTALL with /PRIVILEGE
  3115.        or a subsystem identifier.  These shareable images can be
  3116.        dynamically activated (a LINK that occurs at run-time) via
  3117.        the LIB$FIND_IMAGE_SYMBOL run-time library (RTL) routine.
  3118.        (See `protected images' for information on `privileged
  3119.        shareable images'.)
  3120.  
  3121.    System images are intended to run directly on the VAX or Alpha
  3122.        hardware -- these are normally used for the kernel code
  3123.        that comprises an operating system. 
  3124.  
  3125.    Protected images -- also refered to as User-Written System Services
  3126.        (UWSS), or as privileged shareable images -- are similiar in
  3127.        some ways to a standard shareable images, but these images
  3128.        include a `change mode' handler, and execute in an `inner'
  3129.        processor mode (privileged mode; executive or kernel), and
  3130.        code executing in inner modes has implicit SETPRV privilege.
  3131.        Must be INSTALLed with /PROTECT.  Note that inner-mode code
  3132.        has restrictions around calling library routines, around
  3133.        calling various system services, and around calling code
  3134.        located in other protected or shareable images.
  3135.  
  3136.    Loadable images and device drivers are images that can be used
  3137.    to add code into the OpenVMS kernel.  Pseudo-device drivers
  3138.    are a particularly convenient way to add executable code, with
  3139.    associated driver-defined data structures, into the kernel.
  3140.    The pseudo-device driver includes the UCB and DDB data structures,
  3141.    and a calling interface with support for both privileged and
  3142.    unprivileged access to the driver code via sys$qio[w] calls.
  3143.  
  3144.    A cookbook approach to creating OpenVMS shareable images is
  3145.    available at the (admittedly overly long) URL:
  3146.  
  3147.      http://www.partner.digital.com/www-swdev/pages/Home
  3148.      /TECH/faqs/ovms/ovms-shexe-cook.html
  3149.  
  3150.                     [Steve Hoffman]
  3151.  
  3152. ------------------------------------------------------------
  3153. PROG12. How do I do a file copy from a program?
  3154.  
  3155. There are several options available for copying files from within a program. 
  3156. Obvious choices include using lib$spawn(), system(), sys$sndjbc() or
  3157. sys$creprc() to invoke a DCL COPY command.  Other common alternatives include
  3158. using the callable convert routines and the BACKUP application programming
  3159. interface (V7.1 and later).
  3160.  
  3161.                     [Steve Hoffman]
  3162.  
  3163. ------------------------------------------------------------
  3164. PROG13.  What is a descriptor?
  3165.  
  3166. A descriptor is a data structure that describes a string or an array.  Each
  3167. descriptor contains information that describes the type of the data being
  3168. referenced, the size of the data, and the address of the data.  It also
  3169. includes a description of the storage used for the data, typically static
  3170. or dynamic.   Descriptors are passed by reference.
  3171.  
  3172. The following are examples of creating and using descriptors in C:
  3173.  
  3174.     #include <descrip.h>
  3175.     #include <lib$routines.h>
  3176.     #include <stsdef.h>
  3177.     int RetStat;
  3178.     char TxtBuf[TXTSIZ]
  3179.     struct dsc$descriptor StaticDsc =
  3180.       { 0, DSC$K_DTYPE_T, DSC$K_CLASS_S, NULL };
  3181.     struct dsc$descriptor DynDsc = 
  3182.       { 0, DSC$K_DTYPE_T, DSC$K_CLASS_D, NULL };
  3183.     int DynDscLen = 255;
  3184.     $DESCRIPTOR( ConstDsc, "This is a string" );
  3185.  
  3186.     /* finish setting up a static descriptor */
  3187.     StaticDsc.dsc$w_length      = TXTSIZ;
  3188.     StaticDsc.dsc$a_pointer     = (void *) TxtBuf;
  3189.  
  3190.     /* finish setting up a dynamic descriptor */
  3191.     RetStat = lib$sget1_dd( &DynDscLen, &DynDsc );
  3192.     if ( !$VMS_STATUS_SUCCESS( RetStat ) )
  3193.       return RetStat;
  3194.  
  3195.     /* release the dynamic storage */
  3196.     RetStat = lib$sfree1_dd( &DynDsc );
  3197.     if (!$VMS_STATUS_SUCCESS( RetStat ))
  3198.       return RetStat;
  3199.  
  3200. Static descriptors reference storage entirely under application program
  3201. control, and the contents of the descriptor data structure can be modified
  3202. as required (by the application).  OpenVMS routines do not modify the
  3203. contents of a static descriptor, nor do they alter the address or length
  3204. values stored in the static descriptor.  (The term "static" refers to the
  3205. descriptor data structure, and not necessarily to the storage referenced
  3206. by the descriptor.)
  3207.  
  3208. Dynamic descriptors reference storage under the control of the run-time
  3209. library, and the contents of a dynamic descriptor data structure -- once
  3210. initialized -- can only be modified under control of run-time library
  3211. routines.  The dynamic storage referenced by the dynamic descriptor is
  3212. allocated and maintained by the run-time library routines.  Various
  3213. OpenVMS routines do alter the contents of the descriptor data structure,
  3214. changing the value for the amount and the address of the storage associated
  3215. with the dynamic descriptor, as required.  Routines can obviously access
  3216. and alter the contents of the storage referenced by the descriptor.
  3217.  
  3218. OpenVMS languages that include support for strings or arrays are expected
  3219. to use descriptors for the particular structure.  Most OpenVMS languages,
  3220. such as Fortran and BASIC, use descriptors entirely transparently.  Some, 
  3221. like DEC C, require the programmer to explicitly create and maintain the
  3222. descriptor. 
  3223.  
  3224. For further information on string descriptors, see the _OpenVMS Programming
  3225. Concepts_ manual, part of the OpenVMS documentation set.
  3226.  
  3227.                     [Steve Hoffman]
  3228.  
  3229. ------------------------------------------------------------
  3230. PROG14.  How many bytes are in a disk block?
  3231.  
  3232. A disk block is the minimum unit of disk storage allocation in OpenVMS.
  3233.  
  3234. Under OpenVMS VAX and OpenVMS Alpha, the disk volume block size is
  3235. consistent, with each block containing 512 bytes.
  3236.  
  3237. The minimum disk allocation granularity actually permissible (in the
  3238. ODS-2 and ODS-5 volume structures commonly used on OpenVMS) is determined
  3239. on a per-volume basis, and is typically based on a combination of the
  3240. total number blocks on the disk volume and the total size of the volume
  3241. storage bitmap.  The allocation granularity is known as the volume cluster
  3242. factor -- the cluster factor is the number of blocks in a disk cluster,
  3243. and it is the smallest number of blocks that can be allocated on a
  3244. particular disk volume.
  3245.  
  3246. Prior to OpenVMS V7.2, the  maximum permissible size of the bitmap
  3247. requires larger cluster factors as volume sizes increase.  Starting
  3248. with V7.2, the bitmap can be larger, and cluster factors as small as
  3249. one block can be used.
  3250.  
  3251. The number of bytes in a file can be determined by multiplying the
  3252. number of blocks allocated for the file times the number of bytes in
  3253. a block.  For sequential files (only), the FFB (XAB$W_FFB, in the
  3254. File Header XAB) value can be used to find out how much of the last
  3255. (XAB$L_EBK) block is used.  FFB and EBK are meaningful only for
  3256. sequential files, and only in a limited context -- partial block
  3257. allocations are not permitted.  For other file formats, the EOF marker
  3258. is not meaningful.
  3259.  
  3260. Disk allocations always occur only in units of the cluster factors,
  3261. which can be from one block up to (potentially) clusters of eighteen
  3262. blocks or more, depending on the volume cluster factor.
  3263.  
  3264. OpenVMS assumes that the device driver and the underlying storage device
  3265. will present the file system with addressable units of storage of 512
  3266. bytes in size, or the appearance of same.  Various third-party CD-ROM
  3267. devices, for instance, support only 2048 byte blocks, and such devices
  3268. are incompatible with the standard OpenVMS device drivers.
  3269.  
  3270. To determine the number of bytes required for a file from DCL, one
  3271. option uses the f$file_attributes item EOF, multiplied by the size
  3272. of a block in bytes (512).  This does not account for the unused
  3273. space in the last block of a sequential file, but it also does not
  3274. have to differentiate sequential files from other files.
  3275.  
  3276.                     [Steve Hoffman]
  3277.  
  3278. ------------------------------------------------------------
  3279. PROG15. How many bytes are in a memory page?
  3280.  
  3281. A memory page is the minimum unit of memory allocation in OpenVMS.
  3282. With OpenVMS VAX, the memory page size matches the disk block size:
  3283. it is always 512 bytes.
  3284.  
  3285. With OpenVMS Alpha, the memory page size is variable, and it can range
  3286. from 8192 bytes (8 kilobytes) up to 64 kilobytes.  The current system
  3287. page size can be determined using the sys$getsyi or f$getsyi PAGE_SIZE
  3288. item.  Programs with hardcoded constants for the memory page size (or
  3289. page alignment) should always assume a page size of 64 kilobytes.
  3290.  
  3291. On OpenVMS Alpha, a 512 byte area of memory -- equivilent in size to
  3292. an OpenVMS VAX memory page -- is refered to as a pagelet.
  3293.  
  3294.                     [Steve Hoffman]
  3295.  
  3296. ------------------------------------------------------------
  3297. PROG16. How do I create a process under another username?
  3298.  
  3299. Many server processes can operate within the context of the target user
  3300. using privileges, using calls such as sys$chkpro and (more commonly in
  3301. this context) sys$check_access as needed to determine if access would be
  3302. permitted for the specified user within the current security model.
  3303.  
  3304. With OpenVMS V6.2 and later, the persona system services (SYS$PERSONA_*)
  3305. can be used to assume the persona of the specified user -- these allow the
  3306. server to operate as the specified user, in a controlled fashion.  The
  3307. persona services can be used as a "wrapper" around a sys$creprc process
  3308. creation call, as well -- this will create a seperate process entirely
  3309. under the assumed persona.
  3310.  
  3311. Information on the persona system services is included in the OpenVMS
  3312. V6.2 new features documentation, and in the OpenVMS V7.1 and later system
  3313. services documentation.  These system services exist and are supported in
  3314. OpenVMS V6.2 and later releases.
  3315.  
  3316. Typical mechanisms for creating a process under another username include:
  3317.  
  3318.     o personna services around a sys$creprc call.  See above.
  3319.     o via DECnet task-to-task, using explicit specification of
  3320.       username and password, or using a DECnet proxy.
  3321.       This creates a network-mode job under the target user.
  3322.       The network-mode job might do little more than a RUN/DETACH
  3323.       of an image passed in via task-to-task -- task-to-task
  3324.       communications are fully available using strictly DCL-to-DCL
  3325.       processing, or using a compiled language and DCL, etc.)
  3326.     o the username argument on the sys$sndjbc call.
  3327.       This creates a batch-mode job under the target user.
  3328.       The batch-mode job might do little more than a RUN/DETACH
  3329.       of an image passed in via a parameter.
  3330.     o the UIC argument on the sys$creprc call.
  3331.       This mimics the UIC of the target user, and is certainly not
  3332.       the prefered mechanism for this task.
  3333.     o Via pseudo-terminals...
  3334.  
  3335. There are likely a few other mechanisms around...  There are various tools
  3336. available from DECUS and other sources that allow various forms of user
  3337. impersonation, as well.  These tools will require version-dependent kernel
  3338. code and enhanced privileges for some of (or all of) their operations.
  3339.  
  3340.                     [Steve Hoffman]
  3341.  
  3342. [End of Part 2/3]
  3343. Subject: OpenVMS Frequently Asked Questions (FAQ), Part 3/3
  3344. Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha,vmsnet.misc,comp.answers,news.answers
  3345. Approved: news-answers-request@mit.edu
  3346. Followup-to: poster
  3347. Expires: 31 March 1999 00:00:00 GMT
  3348. Supersedes: <6ptdkf$309@usenet.pa.dec.com>
  3349. Summary: This posting contains answers to frequently asked questions
  3350.     about the OpenVMS operating system from Digital Equipment Corporation,
  3351.     and the computer systems on which it runs.
  3352.  
  3353. Archive-name: dec-faq/vms/part3
  3354. Posting-Frequency: bi-monthly
  3355. Last-modified: November 16, 1998
  3356.  
  3357.  
  3358. Overview
  3359. ========
  3360. This is part 3/3 of the Frequently Asked Questions (FAQ) posting for the 
  3361. comp.os.vms and vmsnet.misc newsgroups.  (comp.os.vms is
  3362. bidirectionally-gatewayed to the INFO-VAX mailing list - see INTRO3 in part 1
  3363. for further details.)  It contains answers to frequently asked questions about
  3364. Digital's OpenVMS operating system and the computer systems on which it runs.
  3365.  
  3366. This FAQ is archived in the following locations:
  3367.     comp.answers and news.answers newsgroups
  3368.     ftp://ftp.digital.com/pub/Digital/dec-faq/vms
  3369.     ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/vms
  3370.     CompuServe VAXFORUM, Library 0, VMSFAQ.TXT
  3371.  
  3372. To make suggestions for changes or additions to this Frequently Asked
  3373. Questions list, send mail to the editor at Steve.Lionel@digital.com.
  3374. Answers are especially appreciated.
  3375.  
  3376.  
  3377. Table of Contents - Part 3/3
  3378. ____________________________
  3379.  
  3380.  
  3381. DECwindows
  3382. ========================================
  3383.  
  3384. DECW1.  How do I let someone else display something on my workstation?
  3385. DECW2.  How do I create a display on another workstation?
  3386. DECW3.  How can I get the information from SHOW DISPLAY into a symbol?
  3387. DECW4.  How do I get a log of a DECterm session?
  3388. DECW5.  Problem - the DELETE key deletes forward instead of backward!
  3389. DECW6.  Problem - On a DEC2000-300, Motif doesn't start
  3390. DECW7.  Problem - My LK401 keyboard unexpectedly autorepeats
  3391. DECW8.  Problem - My LK411 sends the wrong keycodes or some keys are dead
  3392. DECW9.  How do I set the title on a DECterm window?
  3393. DECW10. How do I customize DECwindows, including the login screen?
  3394. DECW11. Why doesn't XtAppAddInput() work on OpenVMS?
  3395.  
  3396. Miscellaneous
  3397. ========================================
  3398. MISC1.  What is the pinout for the DECconnect DEC-423 MMJ connector?
  3399. MISC2.  What are the escape sequences for the VTxxx function keys?
  3400. MISC3.  Can I reuse old keyboards, mice and monitors with a PC?
  3401. MISC4.  What is the pinout for the MicroVAX DB9 connector?
  3402. MISC5.  Where can I find performance info and specs for older systems?
  3403. MISC6.  What does "failure on back translate address request" mean?
  3404.  
  3405. Software
  3406. ========================================
  3407. SOFT1.  Where can I find lots of free software for OpenVMS?
  3408. SOFT2.  Where can I find the UNIX <whatever> tool for OpenVMS?
  3409.  
  3410. ------------------------------------------------------------
  3411. DECW1.  How do I let someone else display something on my workstation?
  3412.  
  3413. On a workstation, you go into "Customize" menu of the session manager utility
  3414. and select "Security".  When the pop-up box appears, you can put
  3415. node/user/tranport to allow who can launch an application to the display on
  3416. that workstation.
  3417.                     [raspuzzi@mrlat.enet.dec.com]
  3418.  
  3419. > Yah, but this doesn't seem to work with non-VMS systems.  What do I put in 
  3420. > for the transport?  I tried "TCPIP" just for kicks, but it didn't work.
  3421.  
  3422.         You need a checklist of sorts:
  3423.  
  3424.       1) Make sure  that  you've  specified  the X-windows "display"
  3425.          correctly  on  the remote side.  For DECNET it's  something
  3426.          like NODE::0.0, for TCP/IP it's Node.Domain:0.0, etc.  On a
  3427.          unix system, define the DISPLAY environment variable so:
  3428.  
  3429.         # setenv DISPLAY myvax.domain:0.0
  3430.  
  3431.       2) If you've verified 1) and things still aren't working, make
  3432.          sure the Security settings on  the  VMS side will allow the
  3433.          connection:  Pull  down the "Options" menu in  the  Session
  3434.          Manager, select "Security..."  near  the  bottom.   If  you
  3435.          don't  find  your  host  (and  username) listed on the left
  3436.          under "Authorized Users", go to the  right side of the menu
  3437.          and   fill   in  the  three  fields,  "Node",   "Username",
  3438.          "Transport".  Then click on the Add botton, then the  Apply
  3439.          and  OK  buttons  to  add  the  new  host  to  the security
  3440.          database.
  3441.  
  3442.           a) There are  various  transports: LOCAL, DECNET, LAT,
  3443.              TCPIP,  etc.   Select  the one appropriate  to  the
  3444.              client machine's connection to the VMS machine.
  3445.  
  3446.       b) If the connection is DECNET, do *NOT* add :: to the
  3447.              node name!
  3448.  
  3449.           c) If the connection is TCPIP, "Username" _must_ be an
  3450.              asterisk (*) because the  TCP/IP protocol used does
  3451.              not provide the remote username.
  3452.  
  3453.           d) If the connection is TCPIP, it's best to use a full
  3454.              domain name, e.g.,  Node.Subd.Domain.  However, you
  3455.              _may_  have  to use the IP address  itself,  rather
  3456.              than  the  domain  name  (EWS  requires  this).   I
  3457.              generally  add two entries for each TPCIP host, the
  3458.              first using the  domain  name,  the  second  the IP
  3459.              address.
  3460.  
  3461.           e) There are a  various  3rd  party vendors who supply
  3462.              TCP/IP  packages for VMS, including but not limited
  3463.              to  TGV  (Multinet)  and  Wollongong  (Pathway  ?).
  3464.              Multinet  (and  DEC's  own  UCX) call the transport
  3465.              "TCPIP", Wollongong, at least in some incarnations,
  3466.              uses "WINTCP".  You need to use the appropriate
  3467.              vendor's package transport name  in the "Transport"
  3468.              field.
  3469.  
  3470.       3) If things _still_  aren't  working, make sure the transport
  3471.          you  want  has  been activated for DECwindows.  This  is  a
  3472.          system manager job, but you can do the ground work yourself
  3473.          before bothering the sysmgr.  Do the following:
  3474.  
  3475.         $ DIR SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM
  3476.  
  3477.          If that file exists, then do:
  3478.  
  3479.         $ SEARCH SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM -
  3480.             $_    DECW$SERVER_TRANSPORTS
  3481.  
  3482.          You sould find something like:
  3483.  
  3484.         $ decw$server_transports == "DECNET,LOCAL,LAT,TCPIP"
  3485.  
  3486.          If the transport you want,  e.g., TCPIP, isn't listed, have
  3487.          your  system  manager  make  the  appropriate  changes  and
  3488.          restart DECwindows.  If the file doesn't exist, the  sysmgr
  3489.          will  have  to  create  it  by  copying  the  corresponding
  3490.          .TEMPLATE file  to  .COM  and  uncommenting  the  line that
  3491.          defines decw$server_transports.
  3492.  
  3493.           a) If you're wanting  to  use  TCP/IP to connect, make
  3494.              sure  TCP/IP is available on the VMS host.   TCP/IP
  3495.              is _not_ native to VMS.  You  need  to  be  running
  3496.              either Digital's UCX or a 3rd party vendor's TCP/IP
  3497.              product.   If  you're  not,  none of the above will
  3498.              help.
  3499.                     [Fairfield@Slac.Stanford.Edu]
  3500.  
  3501. There is a log file created in SYS$MANAGER which tells you which transports
  3502. are loaded, and also tell you what connect attempts were rejected, including
  3503. showing what the presented credentials were.  This file is
  3504. SYS$MANAGER:DECW$SERVER_0_ERROR.LOG, although the 0 could be another number if
  3505. you have multiple servers on the workstation.  I have found this file to be
  3506. very useful for tracking down what needs to be put in the Session Manager
  3507. Security entries.
  3508.                     [rabinowitz@bear.com]
  3509.  
  3510. ------------------------------------------------------------
  3511. DECW2.  How do I create a display on another workstation?
  3512.  
  3513. $ SET DISPLAY /CREATE /TRANSPORT=net_transport /NODE=remote_node
  3514.  
  3515. for LAT the command might look like this:
  3516.  
  3517. $ SET DISPLAY /CREATE /TRANSPORT=LAT /NODE=REMOTE_NODE
  3518.  
  3519. for DECnet:
  3520.  
  3521. $ SET DISPLAY /CREATE /TRANSPORT=DECNET /NODE=NODE
  3522.  
  3523. for TCP/IP
  3524.  
  3525. $ SET DISPLAY /CREATE /TRANSPORT=TCPIP /NODE=128.12.4.122
  3526.  
  3527. Note that LAT is typically used for X terminals but can be used from
  3528. OpenVMS to OpenVMS systems on OpenVMS Alpha V6.1 (if you have setup the X
  3529. server to allow the LAT transport - check the docs).  LAT will be supported
  3530. on OpenVMS VAX as a transport for DECwindows in a future OpenVMS VAX
  3531. release.
  3532.                     [raspuzzi@mrlat.enet.dec.com]
  3533.  
  3534. There is a log file created in SYS$MANAGER which tells you which transports
  3535. are loaded, and also tell you what connect attempts were rejected, including
  3536. showing what the presented credentials were.  This file is
  3537. SYS$MANAGER:DECW$SERVER_0_ERROR.LOG, although the 0 could be another number if
  3538. you have multiple servers on the workstation.  I have found this file to be
  3539. very useful for tracking down what needs to be put in the Session Manager
  3540. Security entries.
  3541.                                         [rabinowitz@bear.com]
  3542.  
  3543. ------------------------------------------------------------
  3544. DECW3.  How can I get the information from SHOW DISPLAY into a symbol?
  3545.  
  3546. Use the undocumented SHOW DISPLAY/SYMBOL, and then reference the symbols
  3547. DECW$DISPLAY_NODE,  DECW$DISPLAY_SCREEN, DECW$DISPLAY_SERVER and/or
  3548. DECW$DISPLAY_TRANSPORT.
  3549.                     [Fairfield@Slac.Stanford.Edu]
  3550.  
  3551. ------------------------------------------------------------
  3552. DECW4.  How do I get a log of a DECterm session?
  3553.  
  3554. If you are working from a Decterm, you can use the AutoPrint feature. Choose
  3555. the "Printer..." menu item from the "Options" menu, set the printing
  3556. destination to the name of the file you want, and set "Auto Print Mode".
  3557. You are now free to continue.
  3558.  
  3559. It should be noted that ALL the characters and escape sequences are captured,
  3560. but if you display the log file on a DECterm you will get EXACTLY what you had.
  3561.                     [fenster@star.enet.dec.com]
  3562.  
  3563. ------------------------------------------------------------
  3564. DECW5.  Problem - the DELETE key deletes forward instead of backward!
  3565.  
  3566. This has to do with Motif's virtual bindings.  When a Motif application starts
  3567. up, it looks at the vendor string returned in the display connection
  3568. information and attempts to match the string to a table of virtual bindings.
  3569.  
  3570. You can override the default bindings in your decw$xdefaults.dat file. Here is
  3571. the entry you would make to get the default VMS bindings.
  3572.     
  3573. *defaultVirtualBindings:\
  3574.  osfCancel    :        <Key>F11    \n\
  3575.  osfLeft    :        <Key>Left    \n\
  3576.  osfUp        :        <Key>Up        \n\
  3577.  osfRight    :        <Key>Right    \n\
  3578.  osfDown    :        <Key>Down    \n\
  3579.  osfEndLine    :Alt        <Key>Right    \n\
  3580.  osfBeginLine    :Alt        <Key>Left    \n\
  3581.  osfPageUp    :        <Key>Prior    \n\
  3582.  osfPageDown    :        <Key>Next    \n\
  3583.  osfDelete    :Shift        <Key>Delete    \n\
  3584.  osfUndo    :Alt        <Key>Delete    \n\
  3585.  osfBackSpace    :        <Key>Delete    \n\
  3586.  osfAddMode    :Shift        <Key>F8        \n\
  3587.  osfHelp    :        <Key>Help    \n\
  3588.  osfMenu    :        <Key>F4        \n\
  3589.  osfMenuBar    :        <Key>F10    \n\
  3590.  osfSelect    :        <Key>Select    \n\
  3591.  osfActivate    :        <Key>KP_Enter    \n\
  3592.  osfCopy    :Shift        <Key>DRemove    \n\
  3593.  osfCut        :        <Key>DRemove    \n\
  3594.  osfPaste    :        <Key>Insert
  3595.  
  3596. To merge:
  3597.  
  3598.     $ xrdb :== $decw$utils:xrdb.exe
  3599.     $ xrdb -nocpp -merge decw$xdefaults.dat
  3600.                     [kleinsorge@star.enet.dec.com]
  3601.  
  3602. ------------------------------------------------------------
  3603. DECW6.  Problem - On a DEC2000-300, Motif doesn't start
  3604.  
  3605. Check for a GQ device by doing a SHOW DEVICE G at the DCL prompt.  If there is
  3606. no GQA0 device:
  3607.  
  3608. a) VMS failed to find the appropriate IRQ information for the Compaq QVision
  3609.    and did not autoconfigure it.  Run the correct ECU (for OSF and VMS) and
  3610.    reboot.
  3611.  
  3612. b) You do not have a Compaq QVision video card.  This card should have Compaq
  3613.    printed on it, and identifies itself as a CPQ3011 or a CPQ3111.  If it is 
  3614.    not one of these 2 devices (as of 7/1/94 and version 6.1) then VMS does not
  3615.    support it.
  3616.  
  3617. If there is a GQA0 device:
  3618.  
  3619. a) There may have been a severe error in the DECwindows startup. Type the
  3620.    contents of SYS$MANAGER:DECW$SERVER_0_ERROR.LOG for any information on
  3621.    errors starting the server.
  3622.  
  3623. b) The sysgen parameter WINDOW_SYSTEM is not set to 1.  This is a common way
  3624.    used by system managers to disable server startup.
  3625.  
  3626. c) You may not have a valid Motif license.    To check for the Motif license,
  3627.    type LICENSE LIST DW-MOTIF/FULL and examine the information displayed.
  3628.    Make sure that it is present, valid and active.
  3629.                     [kleinsorge@star.enet.dec.com]
  3630.  
  3631. ------------------------------------------------------------
  3632. DECW7.  Problem - My LK401 keyboard unexpectedly autorepeats
  3633.  
  3634. There are several modes of failure:
  3635.  
  3636. a) Pressing 2 and 3 keys at the same time causes one key to autorepeat when
  3637.    released.  Check the hardware revision level printed on the bottom of the
  3638.    keyboard.  If the revision level is C01, the keyboard firmware is broken. 
  3639.    Call field service to replace the keyboard with any revision level other 
  3640.    than C01.
  3641.  
  3642. b) Pressing certain keys is always broken.  Typical sympypoms are: delete 
  3643.    always causes a autorepeat, return needs to be pressed twice, etc.  This is
  3644.    frequently caused by having keys depressed while the keyboard is being
  3645.    initialized.  Pressing ^F2 several times or unplugging and replugging the
  3646.    keyboard frequently fix this problem.  There is a patch available to fix 
  3647.    this problem [contact the CSC for information - a CSCPAT number will be 
  3648.    included here when available. - Ed.]
  3649.  
  3650. c) A key that was working spontaneously stops working correctly. This may be
  3651.    either (a) or (b) or it may be bad firmware.  Ensure that you have the most
  3652.    recent firmware installed on your CPU.  An old version of the DEC 3000 
  3653.    firmware had a bug that could cause this symptom.
  3654.                     [kleinsorge@star.enet.dec.com]
  3655.  
  3656. ------------------------------------------------------------
  3657. DECW8.  Problem - My LK411 sends the wrong keycodes or some keys are dead
  3658.  
  3659. Check the firmware revision on the keyboard.  Hardware revision B01 introduced
  3660. an incompatability with the device driver which causes the keyboard to not be
  3661. recognized correctly.  There is a patch available to fix this problem:
  3662. [AXPDRIV06_061] - the fix is also included in OpenVMS V6.2.  The rev A01 
  3663. keyboard, and the LK450 should work without problems.
  3664.                     [kleinsorge@star.enet.dec.com]
  3665.                     [inazu_k@ewbv21.enet.dec.com]
  3666.  
  3667. ------------------------------------------------------------
  3668. DECW9.  How do I set the title on a DECterm window?
  3669.  
  3670. If you are creating a new DECterm window, check 
  3671. HELP CREATE /TERMINAL /WINDOW_ATTRIBUTES.
  3672.  
  3673. If you want to change the title of an existing window, use the following
  3674. control sequences, where <esc> is the ANSI escape code, value decimal 27, and
  3675. <text> is what you want to display:
  3676.  
  3677. To set the DECterm title, send <esc>]21;<text><esc>\
  3678. To set the icon label, send    <esc>]2L;<text><esc>\
  3679.  
  3680. For example, DCL to display "My DECterm" in title bar:
  3681. $ ESC[0,8]=27
  3682. $ WRITE SYS$OUTPUT "''ESC']21;My DECterm''ESC'\"
  3683.                     [p_lee@decus.ch]
  3684.  
  3685. You can also change the title and the icon using the Options-Window...
  3686. menu.
  3687.  
  3688. ------------------------------------------------------------
  3689. DECW10. How do I customize DECwindows, including the login screen?
  3690.  
  3691. To customize various DECwindows Motif characteristics including the defaults
  3692. used by the SET DISPLAY command, the DECwindows login screen background logo
  3693. used (the default is the Digital logo), various keymaps, the FileView
  3694. defaults, session manager defaults, the DECwindows login processing,
  3695. DECwindows log file processing, and various other DECwindows attributes, see
  3696. the example file:
  3697.  
  3698.   SYS$STARTUP:DECW$PRIVATE_APPS_SETUP.TEMPLATE
  3699.  
  3700. This example template file is typically copied over to the filename
  3701. SYS$COMMON:[SYS$STARTUP]DECW$PRIVATE_APPS_SETUP.COM and then modified to meet
  3702. site-specific requirements.
  3703.  
  3704. Additionally, various X tools such as xsetroot, bitmap and xrdb -- some these
  3705. can be useful in customizing the appearance of an application or of the
  3706. DECwindows Motif display -- are provided in the DECW$UTILS: area.
  3707.                     [Steve Hoffman]
  3708.  
  3709. ------------------------------------------------------------
  3710. DECW11. Why doesn't XtAppAddInput() work on OpenVMS?
  3711.  
  3712. XtAppAddInput() does work on OpenVMS.  The MIT definition of the X Windows
  3713. call XtAppAddInput() includes platform-specific arguments.
  3714.  
  3715. On platforms where C is the typically the primary programming language for
  3716. the platform, the file descriptor mask is one of the arguments to the
  3717. XtAppAddInput() call.
  3718.  
  3719. On OpenVMS, the platform-specific arguments to this call include an event
  3720. flag and an IOSB, as these are the traditional OpenVMS constructs used to
  3721. synchronize the completion of asynchronous operations.  While it would be
  3722. easier to port non-OpenVMS C code that calls XtAppAddInput() over to
  3723. OpenVMS if the arguments included the C file descriptor, this would make
  3724. the call unusable from other OpenVMS languages, and would make it extremely
  3725. difficult to use OpenVMS features such as ASTs and sys$qio calls.
  3726.  
  3727. One restriction on the event flag: the event flag chosen must be from event
  3728. flag cluster zero.  When using the traditional lib$get_ef and lib$free_ef
  3729. calls to allocate and deallocate event flags, you must first explicitly
  3730. call lib$free_ef to free up some event flags in event flag cluster zero.
  3731. Please see the event flag documentation for specific details on these calls
  3732. and for specific event flags that can be freed in event flag cluster zero.
  3733.  
  3734. Here is some example code that covers calling this routine on OpenVMS:
  3735.  
  3736.     m->InputID = XtAppAddInput(
  3737.         m->AppCtx,
  3738.         m->InputEF,
  3739.         m->InputIosb,
  3740.         the_callback, 1 );
  3741.     if ( !((int) m->InputID ))
  3742.         {
  3743.         XtAppErrorMsg(
  3744.             m->AppCtx,
  3745.             "invalidDevice",
  3746.             "XtAppAddInput",
  3747.             "XtToolkitError",
  3748.             "Can't Access Device",
  3749.             (String *) NULL,
  3750.             (Cardinal *) NULL );
  3751.         ...
  3752.                     [Steve Hoffman]
  3753.  
  3754. ------------------------------------------------------------
  3755. MISC1.  What is the pinout for the DECconnect DEC-423 MMJ connector?
  3756.  
  3757. DECconnect DEC-423 MMJ pinout:
  3758.  
  3759.     1 Data Terminal Ready (DTR)
  3760.     2 Transmit
  3761.     3 Transmit Ground
  3762.     4 Receive Ground
  3763.     5 Receive
  3764.     6 Data Set Ready (DSR)
  3765.  
  3766. DECconnect MMJ adapters:
  3767.  
  3768.     Part:      Converts BC16E MMJ male to fit into:
  3769.     
  3770.     H8575-A    EIA232 25 pin female (common)
  3771.     H8575-B    EIA232 9 pin male (MicroVAX II console)
  3772.     H8571-D    EIA232 25 pin male (modem-wired)
  3773.     H8571-J    PC/AT 9 pin male (PC serial port)
  3774.     H8572-0    0BC16E MMJ male (MMJ extender)
  3775.  
  3776.     BC16E-**   MMJ cable, available in various lengths
  3777.  
  3778. Numerous additional adapters and cables are available from the _OPEN
  3779. DECconnect Building Wiring Components and Applications Catalog_, as well as
  3780. descriptions of the above-listed parts.
  3781.                     [Steve Hoffman]
  3782.  
  3783. ------------------------------------------------------------
  3784. MISC2.  What are the escape sequences for the VTxxx function keys?
  3785.  
  3786. In the following, <CSI> is decimal code 155 and can be replaced by the
  3787. sequence "<ESC>[" (without the quotes), SS3 is decimal code 143 and can be
  3788. replaced by "<ESC>O".  VT1xx terminals don't accept <CSI> and <SS3>.
  3789.  
  3790. PF1=<SS3>P PF2=<SS3>Q PF3=<SS3>R PF4=<SS3>S
  3791. KP0=<SS3>p KP1=<SS3>q KP2=<SS3>r KP3=<SS3>s KP4=<SS3>t KP5=<SS3>u
  3792. KP6=<SS3>v KP7=<SS3>w KP8=<SS3>x KP9=<SS3>y KPCOMMA=<SS3>l KPMINUS=<SS3>m
  3793. KPPERIOD=<SS3>n ENTER=<SS3>M DNARROW=<CSI>B UPARROW=<CSI>A LFARROW=<CSI>D
  3794. RTARROW=<CSI>C FIND=<CSI>1~ INSERT=<CSI>2~ REMOVE=<CSI>3~ SELECT=<CSI>4~
  3795. PREV=<CSI>5~ NEXT=<CSI>6~ F6=<CSI>17~ F7=<CSI>18~ F8=<CSI>19~ F9=<CSI>20~
  3796. F10=<CSI>21~ F11=<CSI>23~ F12=<CSI>24~ F13=<CSI>25~ F14=<CSI>26~
  3797. HELP=<CSI>28~ DO=<CSI>29~ F17=<CSI>31~ F18=<CSI>32~ F19=<CSI>33~ F20=<CSI>34~
  3798.  
  3799. These and other control sequences can be found in SYS$SYSTEM:SMGTERMS.TXT
  3800.  
  3801. ------------------------------------------------------------
  3802. MISC3.  Can I reuse old keyboards, mice and monitors with a PC?
  3803.  
  3804. Older DIGITAL keyboards (with RJ modular jacks), older DIGITAL mice (with RJ
  3805. modular jacks, or with a DIN connector with pins in a configuration other than
  3806. the PC-standard DIN connector pin orientation), and older video monitors (with
  3807. RGB synch-on-green video signaling) all use signaling formats and/or
  3808. communications protocols that differ from the PC standards, and are neither
  3809. interchangable nor compatible with typical PC peripheral device controllers. 
  3810. LK201, LK401, VSXXX, VR260, VR290, etc., are incompatible with most PC
  3811. systems.
  3812.  
  3813. Newer DIGITAL keyboards (with DIN plugs), newer DIGITAL mice (with PC-pin DIN
  3814. plugs), and newer video monitors (multi-synch) are often interchangeable with
  3815. `industry standard' PC systems, and can often be used with most PC peripheral
  3816. device controllers. LK461, LK471, PC7XS-CA, VRC16, VRC21, etc., are compatible
  3817. with most PC systems.
  3818.  
  3819. Rule of thumb: if the peripheral device component was sold for use with the
  3820. DEC 2000 (DECpc 150 AXP), an AlphaServer series, an AlphaStation series, or
  3821. more recent system, it will probably  work with a PC peripheral controller. 
  3822. If the peripheral device component was sold for use with an VT420 or older
  3823. terminal, most VAX, most VAXstation, and most Alpha systems with names in the
  3824. format `DEC <four-digit-number>', it probably won't work on a PC.
  3825.  
  3826. Note that the above is a general guideline, and should not be read to indicate
  3827. that any particular peripheral device will or will not work in any particular
  3828. configuration, save for those specific configurations the device is explicitly
  3829. supported in.
  3830.                     [Steve Hoffman]
  3831.  
  3832. Software Integrators sells a video adapter card called Gemini P1 which will
  3833. drive many of the older Digital fixed-frequency monitors on a PC.
  3834.  
  3835.   http://www.si87.com
  3836.  
  3837. ------------------------------------------------------------
  3838. MISC4.  What is the pinout for the MicroVAX DB9 connector?
  3839.  
  3840. The MicroVAX DB9 console connector pinout predates the PC-style DB9
  3841. pinout, and uses a then-common (older) standard pinout, and uses the
  3842. following EIA-232-standard signals:
  3843.  
  3844.   1: Protective Ground
  3845.   2: Transmited Data
  3846.   3: Received Data
  3847.   4: Request To Send
  3848.   5: Data Terminal Ready
  3849.   6: Data Set Ready
  3850.   7: Signal Ground
  3851.   8: Shorted to pin 9 on 2000 series, otherwise floating
  3852.   9: Shorted to pin 8 on 2000 series, otherwise floating
  3853.  
  3854. The H8571-B converts the (non-2000-series) MicroVAX DB9 to MMJ
  3855. DECconnect.  The MicroVAX 2000 and VAXstation 2000 requires a
  3856. BCC08 cable (which has the 8-9 short) and the H8571-D for use
  3857. with DECconnect.
  3858.  
  3859. More recent DIGITAL systems use either the DECconnect MMJ or
  3860. the PC DB9 pinout.
  3861.  
  3862. The PC DB9 connector is the H8571-J.
  3863.                     [Steve Hoffman]
  3864.  
  3865. ------------------------------------------------------------
  3866. MISC5.  Where can I find performance info and specs for older systems?
  3867.  
  3868. Performance and system comparision information for VAX and Alpha systems,
  3869. information on "How Many VUPS Is That Alpha In The Window?", system
  3870. performance and TPS tables, and the specifications for various discontinued
  3871. DIGITAL VAX and Alpha systems are available via the URL:
  3872.  
  3873. http://www.digital.com/alphaserver/solutions/ibi/oldspecs/old_system_specs.html
  3874.  
  3875. ------------------------------------------------------------
  3876. MISC6.  What does "failure on back translate address request" mean?
  3877.  
  3878. The destination node is running DECnet-Plus, and its naming service
  3879. cannot locate a name to assocate with the source node's address.
  3880. In other words, the destination node cannot determine the name of
  3881. the source node.
  3882.  
  3883. Use the DECNET_REGISTER mechanism (on the destination node) to register
  3884. or modify the name(s) and the address(es) of the source node.  Check
  3885. the source node namespace, as well.
  3886.  
  3887. Typically, the nodes involved are using a LOCAL namespace, and the
  3888. node name and address settings are not coherent across all nodes.
  3889. Also check to make sure that the node is entered into its own LOCAL
  3890. namespace.  This can be a problem elsewhere, however.  Very rarely,
  3891. a cache corruption has been known to cause this error.  To flush the
  3892. cache, use the command:
  3893.  
  3894. NCL> flush session control naming cache entry "*"
  3895.  
  3896. Also check to see that you are using the latest ECO for DECnet-Plus
  3897. for the version you are running.
  3898.  
  3899. DECnet-Plus can use the following namespaces:
  3900.   o DECdns: DECnet-Plus distributed name services.
  3901.   o LocalFile: a local file containing names and addresses.
  3902.   o DNS/Bind: the IP distributed name services.
  3903.   o The UCX local host file.
  3904.  
  3905.                     [Steve Hoffman]
  3906.  
  3907. ------------------------------------------------------------
  3908. SOFT1.  Where can I find lots of free software for OpenVMS?
  3909.  
  3910. An OpenVMS Freeware CD was distributed at US DECUS in
  3911. May and December 1995 - this CD will also be included with future versions of 
  3912. the OpenVMS binaries CD-ROM distribution and the Software Product
  3913. Library CD-ROMs)for VAX and Alpha systems.  The OpenVMS Freeware CD is 
  3914. available online at:
  3915.  
  3916.     http://www.openvms.digital.com/openvms/freeware/cd.html
  3917.     ftp://ftp.montagar.com/
  3918.     http://www.montagar.com/dfwlug/
  3919.     ftp://flash.acornsw.com/
  3920.     gopher://gopher.acornsw.com/
  3921.     http://www.acornsw.com/
  3922.     ftp://ftp.tay.ac.uk/
  3923.  
  3924. It may also be ordered from DECUS (http://www.decus.org) as VS0185.
  3925.  
  3926. This CD contains a large assortment of freeware and is a good starting
  3927. point if looking for utilities.  Many of the packages listed below are also
  3928. on the Freeware CD.  Some of the most often requested tools on the
  3929. Freeware CD are: ZIP/UNZIP, MMK (make), PINE, PERL, TAR, UUENCODE/UUDECODE
  3930. and XV.
  3931.  
  3932. The montagar.com server, belonging to the DECUS Dallas/Fort Worth LUG, also 
  3933. provides "Almost 350,000 blocks of  white papers, OpenVMS rebuttals, good 
  3934. articles, engineering information, and  other assorted OpenVMS Positive 
  3935. 'Stuff'."  You can also telnet to dfwlug.decus.org  and log in as Info
  3936. to access an "OpenVMS BBS" system there.
  3937.  
  3938. Digital has a WWW page with pointers to freeware (mostly derived from
  3939. this FAQ) but which also contains useful information on archive tools needed
  3940. for extracting freeware kits.  The URL is:
  3941.  
  3942.     http://www.digital.com/info/vms-freeware.html
  3943.  
  3944. Hunter Goatley runs a VMS freeware fileserver at Western Kentucky
  3945. University.  If you're using a WWW browser, the URL is:
  3946.  
  3947.     http://www.wku.edu/www/fileserv/fileserv.html
  3948.  
  3949. The FILESERV packages are also available via anonymous FTP from:
  3950.  
  3951.       ftp.wku.edu, under [.VMS.FILESERV]. 
  3952.       ftp.spc.edu, under [.MACRO32.SAVESETS] and [.MX]. 
  3953.       ftp.vms.stacken.kth.se, under [.MIRRORS..WKU.VMS.FILESERV]. 
  3954.       ftp.shsu.edu, under pub/vms/mx and pub/vms/utilities. 
  3955.       nic.switch.ch, under /mirror/vms/spc. 
  3956.       ftp.technion.ac.il, under /pub/unsupported/vms/spc. 
  3957.       ftp.riken.go.jp 
  3958.  
  3959. or via e-mail from FILESERV@WKUVX1.WKU.EDU. Send the commands HELP and
  3960.    DIR ALL in the body of a mail message for more information.
  3961.  
  3962. If you get the packages via WWW or FTP, they're in ZIP format which requires
  3963. the UNZIP (note: this is not Gnu gunzip!) tool to unpack.  You can get this
  3964. from:
  3965.  
  3966.     ftp://ftp.wku.edu/vms/unzip.exe        ! VAX
  3967.     ftp://ftp.wku.edu/vms/unzip.alpha_exe  ! Alpha
  3968.  
  3969. or you can request the FILESERV_TOOLS package from the e-mail server.
  3970.  
  3971. Another source of free software is the vmsnet.sources newsgroup (and the
  3972. corresponding vmsnet.sources.d discussion group).  See the monthly posting
  3973. "vmsnet.sources archives" for a list of sites which archive submissions
  3974. to vmsnet.sources.
  3975.  
  3976. CompuServe users should check out the libraries of the VAXFORUM forum.
  3977.  
  3978. Arne Vajh°j runs an OpenVMS WWW page, with software and other pointers, at:
  3979.   http://www.levitte.org/~ava/
  3980.  
  3981. Kermit is available at:
  3982.     http://www.columbia.edu/kermit/ or
  3983.     ftp://kermit.columbia.edu/
  3984.  
  3985. ZMODEM is available at:
  3986.     ftp://ftp.cs.pdx.edu/pub/zmodem
  3987. See the FILES file in that directory for further details.
  3988. Note that this freeware version of ZMODEM will interoperate only with 
  3989. ZMODEM software that is licensed from Omen Technology.
  3990. (Also on Freeware CD)
  3991.                 [Steve Lionel]
  3992.  
  3993. A good source of software for DEC boxes (and anything else pretty much)
  3994. is the DECUS library. online catalogs are available as well as some
  3995. software via ftp.decus.org; there's a gopher server 
  3996.   gopher://gopher.decus.org/
  3997. an FTP server:
  3998.   ftp://ftp.decus.org/
  3999. and a WWW server:
  4000.   http://www.decus.org/
  4001.  
  4002. Some DECUS library CD-ROMs are available online at:
  4003.     http://www.acornsw.com/www/acorn/cdrom-via-www.html or
  4004.     gopher://gopher.acornsw.com/
  4005.                 [munroe@dmc.com]
  4006.  
  4007. Phone for orders is 508 841 3502. Lots of good stuff from lots of good
  4008. folks, and copies on media (tapes, CDs) are cheap.
  4009.                 [Everhart@Arisia.gce.com]
  4010.  
  4011.    MPJZ's Hyper-Software-List for OpenVMS is Martin P.J. Zinser's list of 
  4012.    additional software.  
  4013.     http://axp616.gsi.de:8080/www/vms/sw.html
  4014.  
  4015.    Chris Higgins's VMS Software List II 
  4016.     http://csvax1.ucc.ie/www/vms_sw_list/sw_list.html
  4017.  
  4018.    DECUS SIG Tape collections are available on Mark Berryman's system, 
  4019.     ftp://mvb.saic.com 
  4020.  
  4021.    David Jones's DECthreads-based HTTP_SERVER World-Wide Web server for VMS. 
  4022.     http://kcgl1.eng.ohio-state.edu/www/doc/serverinfo.html
  4023.  
  4024.                         [goathunter@WKUVX1.WKU.EDU]
  4025.  
  4026. DECwindows Motif V1.2-3 includes NCSA Mosaic 2.4 built for UCX.  V1.2-4
  4027. will include Spyglass Enhanced Mosaic which supports many
  4028. "Netscape" enhancements.  
  4029.  
  4030. A port of Mosaic 2.7-4 which supports UCX,
  4031. Multinet and SOCKETSHR/NETLIB is available from:
  4032.   ftp://wvnvms.wvnet.edu/mosaic/
  4033.  
  4034. Lynx (a character-cell World-Wide-Web reader) is available from
  4035.   ftp://ftp2.cc.ukans.edu/pub/lynx
  4036.                         [Steve Lionel]
  4037.  
  4038. Netscape Navigator will be available as part of the OpenVMS Internet Product
  4039. Suite.  For further details, see:
  4040.   http://www.openvms.digital.com/openvms/products/ips/index.html
  4041.  
  4042. PGP (Phil Zimmerman's "Pretty Good Privacy") is available from the standard
  4043. distribution sites as listed in the PGP FAQ.   Information on compiling
  4044. PGP for OpenVMS can be found at http://zifi.genetics.utah.edu/
  4045.  
  4046. An archive of DECwindows and Xwindows software can be found at the following
  4047. sites:
  4048.  
  4049.   http://www2.cenaath.cena.dgac.fr/ftp/decwindows/
  4050.   ftp://axp.psl.ku.dk/decwindows
  4051.   ftp://ftp2.cnam.fr/decwindows
  4052.   ftp://ftp.et.tudelft.nl/decwindows
  4053.   ftp://ftp.ctrl-c.liu.se/decwindows
  4054.   http://axp616.gsi.de:8080/wwwar/cena/decwindows/cena.html 
  4055.  
  4056. (See also Freeware CD)
  4057.                         [Patrick Moreau]
  4058.  
  4059. ImageMagick is an X11 package for display and interactive manipulation of
  4060. images.  The package includes tools for image conversion, annotation,
  4061. compositing, animation, and creating montages.  ImageMagick can read and write
  4062. many of the more popular image formats (e.g. JPEG, TIFF, PNM, XPM, Photo CD,
  4063. etc.). 
  4064.   ftp://ftp.x.org/contrib/vms/ImageMagick/ImageMagick-3.3.zip
  4065. (Also on Freeware CD)
  4066.                         [cristy@dupont.com]
  4067.  
  4068. XV 3.10 is available from:
  4069.   ftp://ftp.cis.upenn.edu/pub/xv
  4070.   ftp://ftp.digital.com/pub/graphics/xv
  4071. (Also on Freeware CD)
  4072.  
  4073. GHOSTSCRIPT and GHOSTVIEW are available from:
  4074.   ftp://ftp.digital.com/pub/VMS/ghostview
  4075.  
  4076. Version 2.3 of GhostView-VMS is now available from:
  4077.   ftp://iphthf.physik.uni-mainz.de/pub/vms/
  4078.                        [plass@dipmza.physik.uni-mainz.de]
  4079.  
  4080. XPDF, a viewer for PDF (Adobe Acrobat) files, is available from:
  4081.   http://www.contrib.andrew.cmu.edu/usr/dn0o/xpdf/xpdf.html
  4082.  
  4083. The MPEG library version 1.1 is available for OpenVMS VAX and Alpha at
  4084.   ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.readme
  4085.   ftp://ftp.x.org/contrib/vms/mpeglib-11-vms.zip
  4086.                         [Patrick Moreau]
  4087.  
  4088. List of FTP Mirror Sites for the DECWINDOWS archive:
  4089. ===================================================
  4090.  
  4091. AXP.PSL.KU.DK             (Multinet)  Mirror of CENA DECW archive
  4092. FTP.ET.TUDELFT.NL         (MadGoat)   Mirror of CENA DECW archive
  4093. FTP2.CNAM.FR              (MadGoat)   Mirror of CENA DECW archive
  4094.  
  4095. ftp.x.org (in /contrib/vms)  not really a mirror, but I try to put all my
  4096. new ports at this site.
  4097.  
  4098. List of HTTP Mirror Sites for the DECWINDOWS archive:
  4099. ====================================================
  4100.  
  4101.   http://axp616.gsi.de:8080/wwwar/cena/decwindows/cena.html
  4102.  
  4103. Some X clients from the OpenVMS Freeware CDROM are located in
  4104. [.DECWINDOWS.CDFREEWARE] directory.
  4105.                         [Patrick Moreau]
  4106.  
  4107.  
  4108. I have written and installed on INFO.CS.PUB.RO an 'Archie' clone for VMS
  4109. software. Telnet to that machine, and login as VMSARCI.
  4110. It contains now listings for over 30 ftp servers with >14 GB of VMS software.
  4111. The most useful commands are LIST, which generates a list of scanned ftp
  4112. servers, and FIND <string>, whichs looks for a file containing "string"
  4113. in the name; the search modes are only "substring" [default] and "exact",
  4114. and regex search is not supported (so FIND EMACS will work, but FIND *EMACS*
  4115. or FIND *EMACS*.* will not). The search is case-insensitive.
  4116. Those of you that know other ftp servers with VMS software that I haven't
  4117. found, please let me know. (The program that build the databases can
  4118. recursively scan whole servers- as FTP.WKU.EDU, or just some directories-
  4119. as NIC.SWITCH.CH /pub/vms)
  4120. Sorry, this service is VERY SLOW [by Western standards], because it runs
  4121. on a quite-busy oldie-but-goodie VAXStation 3400 with 20Mb and a RF71, and
  4122. the Internet link is only 256 Kpbs (sometimes unavailable).
  4123.                         [stfp@roipb.cs.ipb.ro]
  4124.  
  4125. Perl 5 (object oriented, blah blah) is available for VMS. 
  4126. The primary development ftp site is:
  4127.  
  4128.     ftp://genetics.upenn.edu/perl5/
  4129.  
  4130. But this site is mirrored by more than 47 CPAN sites around the world. Each 
  4131. CPAN site is accesible via a cgi-bin script at the perl homesite:
  4132.  
  4133.     http://www.perl.com/CPAN/
  4134.  
  4135. (PERL can also be found on the OpenVMS Freeware CD)
  4136.  
  4137. Charles Lane maintains a web page on how to write cgi-bin scripts in perl 5 for 
  4138. VMS at:
  4139.  
  4140.     http://duphy4.physics.drexel.edu/duphy4/cgi_info.htmlx
  4141.  
  4142. and I maintain a web page on how to obtain and compile perl5 for VMS at:
  4143.  
  4144.     http://w4.lns.cornell.edu/~pvhp/perl/VMS.html
  4145.  
  4146.                                           [pvhp@lns62.lns.cornell.edu]
  4147. ------------------------------------------------------------
  4148. SOFT2.  Where can I find the UNIX <whatever> tool for OpenVMS?
  4149.  
  4150. POSIX:
  4151.   POSIX-compliant, Digital-supported versions of POSIX routines and
  4152.   utilities:
  4153.  
  4154.     lex, yacc, grep, tar, uuencode, uudecode, rcs, man, cpio, make,
  4155.     awk, ar, mail, etc., the POSIX shell, the POSIX C programming
  4156.     interface, etc.
  4157.  
  4158.     POSIX utilities can be used from within the POSIX shell, and
  4159.     via the DCL `POSIX/RUN POSIX$BIN:tool.' command.
  4160.  
  4161.     POSIX is a separately-installed package, and is licensed with
  4162.     OpenVMS V5.5 later.  The POSIX installation kit is included
  4163.     on the consolidated distribution CD-ROM kit, and installation
  4164.     kits are also available separately.
  4165.  
  4166. C: 
  4167.   Common C system and library routines are present in the DEC C run-time
  4168.   library, which is available for V5.5 and later, and is shipped in V6.1
  4169.   and later.  DEC C is the upgrade for VAX C, DEC C and VAX C can coexist
  4170.   on the same system OpenVMS VAX system, and both compilers can be enabled
  4171.   via the "C" license PAK.
  4172.  
  4173.     Also see SYS$EXAMPLES:, and (if either is installed) the DECW$EXAMPLES:
  4174.     and UCX$EXAMPLES: areas.
  4175.  
  4176. X Windows:
  4177.   Various Digital-supported X Windows utilities:
  4178.  
  4179.     xwd, xev, mosaic WWW browser, xrdb, bmtoa and atobm, xpr, ico, etc.
  4180.  
  4181.     In DECW$UTILS: in DECwindows Motif V1.2-3 and later.  Also see
  4182.     DECW$EXAMPLES: for example X and C programs.
  4183.  
  4184. Miscellaneous tools and examples:
  4185.   Various unsupported OpenVMS tools and code examples:
  4186.  
  4187.     DWAUTH (X Windows SYSUAF authorize-like tool), various versions    
  4188.     of grep, fgrep, yacc, vmstar, uuencode, gawk, etc.  html tools,
  4189.     the mx SMTP mail exchange package, X windows flight simulator,
  4190.     the mxrn X windows news reader, the OSU HTTPD WWW server, a WWW
  4191.     gopher browser, etc. are all on the FreeWare V2.0 CD-ROM.
  4192.  
  4193. IP tools:
  4194.   DEC TCP/IP (UCX) contains tools such as ping, uuencode, smtp, snmp,
  4195.   rcp, nfs, tnfs, etc.  OpenVMS V6.2 and UCX V3.3 and later can be used
  4196.   together in support of the /FTP, /RCP, /RLOGIN, /TELNET, and /TN3270
  4197.   qualifiers on various DCL commands.
  4198.  
  4199.     Also see the various C examples in UCX$EXAMPLES:
  4200.  
  4201.                     [Steve Hoffman]
  4202.  
  4203. vi clones
  4204.  
  4205.   Both vile and elvis (vi clones) run on OpenVms.
  4206.  
  4207.   The current version of vile is 7.1
  4208.   It's available at
  4209.     http://www.clark.net/pub/dickey/vile/vile.html
  4210.     ftp://ftp.clark.net/pub/dickey/vile
  4211.     ftp://id.wing.net/pub/pgf/vile
  4212.  
  4213.                     [Thomas Dickey]
  4214. GNU tools:
  4215.  
  4216.   Information on the GNU on VMS Project, which aims to port GNU software 
  4217.   to VMS, is available at:
  4218.  
  4219.     http://vms.gnu.ai.mit.edu/
  4220.     ftp://vms.gnu.ai.mit.edu/gnu-vms/
  4221.  
  4222.   Software info:
  4223.  
  4224.     http://vms.gnu.ai.mit.edu/software/
  4225.  
  4226.   Software archive:
  4227.  
  4228.     ftp://vms.gnu.ai.mit.edu/gnu-vms/software/
  4229.  
  4230. GCC:
  4231.  
  4232.   The Progis company in Germany has ported GCC (GNU C) to OpenVMS Alpha.  You
  4233.   can also find a recent OpenVMS VAX version there.
  4234.  
  4235.     http://www.progis.de/
  4236.  
  4237.   The latest (known to me) GCC version for VAX/VMS (binaries only) is 2.7.1
  4238.   from Pat Rankin's site. 
  4239.  
  4240.     ftp://ftp.caltech.edu/pub/rankin/ 
  4241.  
  4242.                     [otis@magna.com.au]
  4243. [End of Part 3/3]
  4244.