HDTenEightyP/NetNews huggingface dataset:
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: Help a student in distress....
Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
Organization: Digital Equipment Corporation, Nashua NH
Date: Thu, 7 Jan 1993 20:29:03 GMT


In article <20242.2b4c180e@ul.ie>, 9120092@ul.ie writes:
|>(1) How come DEC manuals have most of their examples in Fortran?
|>

They're not; most are in MACRO.  (There - does that make you feel better? :-))

The large number of FORTRAN examples relative to other high-level languages
comes from several sources:

	1.  FORTRAN was the first VMS HLL and is still the most widely
	    used.

	2.  There was a book created called "Programming in VMS using VAX
	    FORTRAN" which had many FORTRAN examples; some of these migrated
	    to the regular VMS documentation.

	3.  A particular FORTRAN developer (ahem) has been particularly
	    dilligent in writing such examples and making sure that those
	    written by others are correct.  (That same developer also wrote
	    just about all of the Ada examples in the VMS manuals.)  The
	    Pascal developers have also been active in example creation, but
	    those from other languages less so.

The "Introduction to VMS System Services" does have a single example in 
Ada, BASIC, COBOL, FORTRAN and Pascal; comparing these can give you a good
idea of how to call system services (and RTL routines) in these assorted
languages.  (This manual was updated for VMS V5.5; the V5.0 edition lacks
an Ada example and contains several errors in the others.)

The RTL manuals in particular tried to get a good cross-section of languages
used in their examples.  If you think you have a good example of a particular
routine (ideally it should be short and self-contained), send it in (use the
address on the Readers' Comment forms).


|>(3) Does anybody have any working examples of SMG's used in Cobol (cough
|>cough)?
|>    In particular SMG$CREATE_MENU. I would really appreciate this as the
|>    VMS ver 3 manuals that are available to me don't mention a thing
|>    about it. I know about it 'cause it's in the Ver 5.? help facility.

The SMG$ manual in chapter 7 has a complete COBOL example of using SMG$
routines.  I don't know if this was in the VMS Version 3 (?!) manuals you
have.  Time to buy some new manuals!
--

Steve Lionel                    lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062
Newsgroups: comp.os.vms
From: jsue@ncsa.uiuc.edu (Jeffrey L. Sue)
Subject: Re: local printing out of detached process
Originator: jsue@pluto.ncsa.uiuc.edu
Organization: The Dow Chemical Company
Date: Tue, 5 Jan 1993 13:13:02 GMT

In article <1993Jan5.103014.347@csghsg5a.bitnet> 92636828s@csghsg5a.bitnet writes:
>I'm trying to create a detached subprocess or process, which has to be
>attached to the terminal, because I want to run it a batch-file with
>the following content: $mc prt type *.txt
>Spawn/nowait anything.com doesn't help for although the subprocess runs
>asynchronous the "motherprocess" is stopped till completion of the subprocess.
>Is there a possibility to do it via run/detach ?
>Any kind of help will be appreciated.  
>-- 
>\_\_                 \_\_       ** The world's biggest Rush fan **
>  \_\_                 \_\_
>    \_\_                 \_\_           David-Michael Lincke
>      \_\_                 \_\_      Hochschule St. Gallen HSG
>        \_\_                 \_\_
>          \_\_\_\_\_\_\_\_\_   \_\_  email: 92636828@csghsg5a.bitnet
>					    92636828@alpha.unisg.ch	

Try $ HELP SPAWN
see /WAIT


-- 
-----
Jeff Sue   
 - All opinions are mine -       (and you can't have any, nya nya nya)
Newsgroups: comp.os.vms
From: mdchaney@fractal.ucs.indiana.edu (M Darrin Chaney)
Subject: Re: Help a student in distress....
Organization: Indiana University, Bloomington
Date: Thu, 7 Jan 1993 18:55:56 GMT

In article <20242.2b4c180e@ul.ie> 9120092@ul.ie writes:
>Call me a buthead but I've got a few rather simplistic questions to 
>pose to the great VMS minds out there.
>(1) How come DEC manuals have most of their examples in Fortran?

I guess that's considered the language of choice on VMS.  DEC has put more
effort into their Fortran compiler than any other (unless things have changed
drastically lately).  And, it's not a bad language.  More on this at the
bottom.

>(2) In DEC's RMS who does the FAB and the RAB work, is it much different
>    from the FAT in Messy Dos (TM) ?

Absolutely nothing to do with each other.  The FAT (MS-DOS) is per-disk
data structure that describes the logical layout of the file on the disk.

In RMS, the FAB and RAB simply keep information about the file that you are
accessing, such as file type, file name, and record type.  The DOS equivalent
is the File Control Block- FCB- which holds file name, record size, and other
information for access.  It is used by DOS interrupt (21h) services such as
21h, 22h, and 23h (which read, write, and get file size).  That's the new way
of dealing with files, as opposed to handles.  

>and more importantly as I require this information soon
>(3) Does anybody have any working examples of SMG's used in Cobol (cough cough)?
>    In particular SMG$CREATE_MENU. I would really appreciate this as the
>    VMS ver 3 manuals that are available to me don't mention a thing
>    about it. I know about it 'cause it's in the Ver 5.? help facility.

You're complaining about Fortran examples, but you want COBOL examples?  You're
redeemed only by the (cough cough) comment.

I have a VAX COBOL manual, and it doesn't have any SMG examples.  Chapter 17
is devoted to writing terminal applications, although nothing fancy.  You might
want to check it out.  Other than that, dig through the SMG manuals.  They
probably have a COBOL example for you, but I guarantee that it isn't easy to
call routines like that from COBOL.  The calls themselves are wordy.

--------------------------------------------------------------------------
Peter O'Brien              |  E-Mail:  in%"9120092@ul.ie"
Computer Systems           |
University of Limerick     |         "Listen now, understand later!"
Ireland.                   |  a U.L Maths Lecturer who shall remain anon.
--------------------------------------------------------------------------

Here, I'll help you with homework:

There once was a man from Nantucket,
...

	Darrin
-- 

mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu

"I want- I need- to live, to see it all..."
From: EMILIO%npd1.ufpe.br@UICVM.UIC.EDU ("Emilio B. Lucena")
Newsgroups: comp.os.vms
Subject: help wanted on getting out of this list
Date: 5 Jan 93 13:15:00 GMT
Organization: The Internet

Hi, there!

I've tried to get out of this mailing list using the normal procedure
(i.e. mail message to INFO-VAX-REQUEST@kl.sri.com with the command
 REMOVE emilio@npd.ufpe.br), without success.

I'd like to know if I am doing something wrong or if there is a real problem
regarding the administration of the list.

Thanks in advance!

Emilio
From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.os.vms
Subject: Re: Implimenting "TOMORROW +1: 0:0" from an .EXE
Date: 12 Jan 93 02:20:00 GMT
Reply-To: gavron@ACES.COM
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <1993Jan11.153438.28624@magnus.acs.ohio-state.edu>, pat@magnus.acs.ohio-state.edu (Patrick E Plaisted) writes...
#I have the need to set an AST timer queue entry to fire at, in DCL
#syntax, "TOMORROW +1:0:0".  I've looked through all the LIB$ routines,
#as well as $bintim and $asctim.  Is there a simple way to get a
#quadword time value set to this so I can stick it into $setimr?  
#My only thoughts on how to do this are:   
# 
#  1. calculate the number of hours to midnight.
#  2. calculate the number of minutes to midnight.
#  3. calculate the number of seconds to midnight.
#  4. use lib$cvt_to_internal_time to convert these values to
#     delta time quadwords.
#  5. use lib$add_times to add these values to a quadword containing the 
#     current time.
#  6. again using lib$add_times, add 1 hour to this value.
#  7. finally, call $setimr with the quadword.
# 
#I think this approach should work, but am I missing something really 
#obvious?  Is there an easier way to do this?

	1. Call SYS$GETTIM to get current time in ticks (10ns units)
	2. Add 144,000,000 to this number 
	   24 hrs x 60 min  x 60 sec  x 100000 ns    144,000,000 ns/day
	   	      -----     -----         ---- =
		       hr        min          sec
	3. Use SYS$ASCTIM to get this in ascii format in the form
	   DD-MMM-YYYY HH:MM:SS.hh

	4. Insert in the 13th position of the string "01:00:00.00"
	5. Call SYS$BINTIM

	(I may be off on the number in #2 but it looks right.  I'm
	 sure someone will rush to correct me if it isn't.)

#Thanks for all your help,
# 
#Pat
# 
#pat@magnus.acs.ohio-state.edu

	Ehud

--
Ehud Gavron        (EG76)     
gavron@vesta.sunquest.com
Don't SANFORIZE me!!
From: thompson@steer.sdsu.edu (thompson s)
Newsgroups: comp.os.vms
Subject: Non-privileged REPLY program?
Date: 8 Jan 93 23:16:03 GMT
Organization: SDSU Computing Services

Can anyone point me to a program that will allow individuals the ability
to send a single line message to another user (without having to get into MAIL
or PHONE).  We have a system that would benefit from allowing our clerical
staff to send a message to another user (Same Group, if this matters)
indicating that his/her scheduled appointment has arrived....

Thanks!

Scott Thompson
SDSU
SD, CA 
Newsgroups: comp.os.vms
From: brosen@BBN.COM (Bruce L. Rosen)
Newsgroups: comp.os.vms
Subject: Starting remote process over Decnet?
Date: 5 Jan 93 19:48:15 GMT
Reply-To: brosen@BBN.COM (Bruce L. Rosen)
Distribution: usa
Organization: Bolt Beranek and Newman Inc., Cambridge MA
NNTP-Posting-Host: bbn.com

Is there some system service that supports starting a process on a different,
but DECnet connected, VMS machine?  It would be something like a LIB$SPAWN,
but would take hostname, userid, and password, as necessary arguments.

What I'm looking for is a DECnet equivalent of the TCP/IP "rexec" system call.

Is there such a thing?

Thanks in advance.

Bruce Rosen (brosen@bbn.com)
BBN Software Products
From: bowers@ELSIE.UCDAVIS.EDU (Michael Bowers)
Newsgroups: comp.os.vms
Subject: Do I need Motif?
Date: 8 Jan 93 00:34:51 GMT
Organization: The Internet


Hi -

I've received a new version of a program from a vendor which is meant to
run on a workstation or X-terminal in order to display a window in which
various graphics are shown.  When I try to use the program in X-window mode
(it also has a non-X, no graphics mode so I suspect the program itself is
ok) I get a (vendor supplied) "Can't open Display" message, along with the
following:

	%NONAME-E-NOMSG, Message number 01AB8122
	%NONAME-E-NOMSG, Message number 011B803A


Neither of these messages are in any .EXE in SYS$MESSAGE that I can find
(using one of the nice message display .COM files).

So, 

	1)  What is the text/facility of these messages?

	2)  If not obvious from the message text, what might be the
	    problem?

It was suggested by the vendor that maybe I needed Motif; that these might
be Motif error messages (they weren't sure!!).  I'm running VMS 5.4-2 on a
4000-300, with two  VT1300/SPX terminals (using DECwindows of course).  

If I do need Motif (and why this is so I don't really know, at least as I
understand the differences between Motif wm and the DECwindows wm), is
there anything they can do to provide an image which will run with
DECwindows (short of doing the compile/link on a different system).

Thanks for any insight...

	Mike

/sig
From: byron@YOGI.HSC.UCALGARY.CA (Byron Draudson)
Newsgroups: comp.os.vms
Subject: RE: Decw$paint rude behaviour
Date: 12 Jan 93 18:51:05 GMT
Distribution: world
Organization: The Internet

Regarding my earlier post about problems I was having
with Decw$paint - one of the replies that I received
follows:

>From: murphy@burfle.dco.dec.com
>
>Paint Error: BadAlloc - insufficient resources
>Paint Error: BadDrawable - parameter not a Pixmap or 
>Window
>Given the combination of these two errors, I'd guess 
>that your NCD is running out of pixmap memory. 
>"Insufficient resources" error from the call
>to create the pixmap, and the second error when you 
>try to use the (nonexistent) pixmap that it failed to
>create.
>
>Probably the only easy fix is to put more memory in
>the X terminal - it's clearly fragmenting it's pixmap
>space and isn't able to consolidate the available memory.
>	-Rick

Thanks Rick.  The "fragmented pixmap space" problem seems
to be resolvable by one of the following two solutions:

1.  Buy more memory for the NCD X terminal

and/or

2.  Reboot the X terminal

Rebooting the terminal causes Decw$paint to behave as
it should.

Thanks again for all your help!

:byron
From: david@ittpub.nl (David P. Morgan)
Newsgroups: comp.os.vms
Subject: Re: Is there a Vaxy GIF v PCX -> JPG converter out there ??
Date: 7 Jan 93 19:24:11 WET+0100
Organization: ITT Publitec R+D BV, Amsterdam

In article <1993Jan7.065847.8307@lugb.latrobe.edu.au>, HCHA8904593X@LUST.LATROBE.EDU.AU (PERRETT, ANDREW) writes:
> If you know of one and where I can find it (preferebly compiled) please email
> thanks

XV does what you want. And it's practically everywhere (DECUS collections,
vmsnet.sources archives etc.)

--------------------------------------------------------------------------------
David P. Morgan                        Internet: david@ittpub.nl        |ucannot
ITT Publitec R+D BV                    UUCP:     ...!sun4nl!ittpub!david|readdis
Amsterdam                              PSI:      020412905761212::DAVID |onavt52
From: sbrant@npal.rn.com
Newsgroups: comp.os.vms
Subject: SUBMIT help please.
Date: 10 Jan 93 22:49:54 EDT
Organization: PalNet -- Indianapolis, Indiana

Hello:
	
		I know I have seen this here before, and I can not seem to
		find the info wherever I have placed it, so I could find it
		when I needed it.  ( you know how it goes!)

		Anyway,  I have an EXE program that runs with no problem.
		The program does not require any input from a user. It is simply
		a special file processing program.  

		When I start the .com file with the following commands, all works
		well.

		$ define/exec sys$input sys$command
		$ run/error=nla0:/output=nla0: dua1:[data.sweep]scanit

		Now the problem arises.  I want to SUBMIT this com procedure
		so we can schedule the execution of the .exe program.

		Submitting the com program causes a failure. Nothing works.

		If I remember correctly, I think I need to use the loginout
		program to do this, but as I said, I can not find the info
		on how to do this.

		Would someone please help?


        Thanks loads.
		regards;


                                                     Steven B. Brant
________________________________________________________________________
       -->> sbrant@npal.rn.com <<--[ or ] -->> nstar!towers!npal!sbrant <<--
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: RMS RAB & FAB for VAXC file
Date: 8 Jan 1993 10:15:41 GMT
Organization: HST Wide Field/Planetary Camera
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <C0Bwu6.F59@wm.estec.esa.nl>, guy@wmsg02.wm.estec.esa.nl (Guy Brooker) writes:
>Coming back from my Christmas I have read a long discussion about VAX C
>buffer flushing. Many people say that it is easy to get the RAB/FABs from
>a VAX C FILE *
>
>OK so how do you do it ???

Sorry, that was a mistake on my part.  I was confusing two RTLs.  From the
FORTRAN RTL, you can get the RAB from the LUN via the (undocumented, last time
I checked) routine FOR$RAB.  There's no such routine (at least under VMS v5.4-2
in the VAXC RTL), though Ehud had indicated that a perusal of the listings will
allow you to figure out how to find it.  Unfortunately, I don't have the
listings, and the contact for the CSLG here won't mount them except upon
specific request (not enough CD-ROM drives for both the docs and the listings
:-().
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
From: SYSTEM_JB@UNODE2.NSWC.NAVY.MIL ("SYSTEM SUPPORT")
Newsgroups: comp.os.vms
Subject: Booting of VAX 3800
Date: 6 Jan 93 14:46:00 GMT
Distribution: world
Organization: The Internet

>When I boot VAX3800 VMS5.3-1 which recovered for power supply failured,
>message
>
>	Error opening primary input file SYS$INPUT
>	Error in device name or inappropriate device type for operation
>
>What is it? How Should I take care of it?

This happens when your VAX can't see or mount your system disk.  Try resetting
the system disk by spinning down and back up.  We have this problem when we
switch our system disks to boot at different VMS versions (we are using
Berkshire RA90 type disks).   O-) 

------------------------------------------------------------------------------

  "Why does Ted Kennedey have a blow up doll for a girl friend??  She floats."


Jon Baker
Naval Surface Warfare Center
Code N23A
Dahlgren, VA 22448
703-663-8705
MILNET ADDRESS:  system_jb@unode1.nswc.navy.mil
From: lakia@ipact.com
Newsgroups: comp.os.vms
Subject: Re: Help a student in distress....
Date: 8 Jan 93 08:05:24 CDT
Organization: IPACT, Valparaiso IN

In article <20242.2b4c180e@ul.ie>, 9120092@ul.ie writes:
> Call me a buthead but I've got a few rather simplistic questions to 
> pose to the great VMS minds out there.
> (1) How come DEC manuals have most of their examples in Fortran?

	That is from history.  The old RSX11M were the first
users to migrate to the VAX platform.  The most used language on
the PDP from Digital was Macro and FORTRAN (C was developed on 
a PDP but by ATT).  Besides, I like FORTRAN.
> 
> (2) In DEC's RMS who does the FAB and the RAB work, is it much different
>     from the FAT in Messy Dos (TM) ?

	The FABs and RABs are storage areas for RMS and your
program  to keep pointers, counters, and to communicate with each other.
> 
> and more importantly as I require this information soon
> (3) Does anybody have any working examples of SMG's used in Cobol (cough cough)?
>     In particular SMG$CREATE_MENU. I would really appreciate this as the
>     VMS ver 3 manuals that are available to me don't mention a thing
>     about it. I know about it 'cause it's in the Ver 5.? help facility.
> 
	COBOL....ECCCCCCH
> Any help will be appreciated greatly.

Earl Lakia			Email:  LAKIA@IPACT.COM
IPACT Inc.			Voice:  219-464-7212
260 South Campbell		FAX:    219-462-5387
Valparaiso, IN   46383
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: RE: SYSDUMP.DMP File Question...
Date: 9 Jan 1993 22:53:12 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <009664BF.0BC52900.27241@swdev.si.com>, tillman@swdev.si.com ("Brian Tillman, Smiths Industries, VAX Support, x8425") writes:
>Richard B. Gilbert (dragon@nscvax.princeton.edu) writes:
>
>>	It is also possible to write a dump to your primary paging file
>>(which must reside on the system disk).
>
>While I think that Richard means that *if* you want to use your page file as a 
>dump file as well, *then* the page file must be on the system disk, I want to 
>clarify this statement.

No, what he means is that your primary paging file must reside on your system
disk.  The primary paging file is the one that gets used automatically when the
system boots.  It must reside in the [SYSEXE] subdirectory of your system root
and must be named PAGEFILE.SYS  That's the *ONLY* page file that VMS looks for
early and automatically, and that's the *ONLY* page file described by the
phrase "primary paging file."  Please note that in recent versions of VMS you
do not have to have a primary paging file.

>Unless you do want to use your page file as a dump file as well, VMS V5.x does 
>not require any page file on the system disk.  The concept of primary/secondary 
>page files was eliminated when VMS was altered to allow up to four page files 
>(none of which need to be on the system disk).

No, the concept was most definitely *NOT* eliminated;  VMS still makes such a
distinction.

>VMS startup will proceed just file without a page file.

True.  However, secondary page files lack some of the features associated with
the primary page file (the ability to be used as a dump file, for example).
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
From: leonard@telcom.arizona.edu (Aaron Leonard)
Newsgroups: comp.os.vms
Subject: Re: Does anybody know about Excelan interfaces?
Date: 7 Jan 93 17:04:24 GMT
Reply-To: Leonard@Arizona.EDU
Distribution: world,local
Organization: University of Arizona Telecommunications

In article <1993Jan7.152639.993@arb-phys.uni-dortmund.de>, wb@arb-phys.uni-dortmund.de 
(Wilhelm B. Kloke) writes:

| In article <1993Jan6.073759.27243@arb-phys.uni-dortmund.de> I wrote:
| >interface EXCELAN EXOS 203. I could not find any information about this
| Thank all, who replied by mail to this questions. Now I know:
| It is an Ethernet interface.
| This interface is now worthless in a uVAX on VMS and Ultrix, as it is not
| supported any more. The last supported VMS-Version seems to be 5.4.

Not quite true.  The device is supported by MultiNet TCP/IP software
under at least VMS V5.5-2 if not V6.  Using MultiNet, you'd also be able
to get DECnet to your VAX by using DECnet-over-IP (we've done this
here for systems with only an EXOS board.) (Sales@TGV.COM for 
more info.)

| Perhaps it can be used in a PDP11 under RT11 or RSX11M. Does anybody
| know about such software?

You might try TCPware from Process Software.  (Sales@Process.COM.)

Aaron