HP3000-L Archives

April 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Heimo Kouvo <[log in to unmask]>
Reply To:
[log in to unmask][log in to unmask], 11 Apr 1997 12:02:00 -0600371_ISO-8859-1 We are trying to put a file FROM a DEC VAX to our HP3000.
The problem we are having is that we cannot get the file to accept
buildparms. The file defaults to 80 bytes on the HP.

We have tried:

put dmba.lis "testfile;rec=-977,,f,ascii"

and variations of this. The resulting file on the HPstill defaults to 80
bytes. [...]43_11Apr199712:02:[log in to unmask]
Date:
Sun, 6 Apr 1997 23:25:41 +0300
Content-Type:
text/plain
Parts/Attachments:
text/plain (80 lines)
Some time ago John Nesbitt wrote in this newsgroup:
>
> I am trying to get better control over the operation of our unattended
> 957SX (MPEix C.50.00).
>
> One of the things I would like to do is send email from batch jobs
> across the Bank's ethernet lan to the person responsible for the job
> (eg. to say that a job completed successfully, or the tape drive is
> unavailable, or whatever).
>
> Has anyone done this and, if so, could you give me a pointer to
> available products?


Our company had a similar need of monitoring execution of some critical
jobs and mailing automatically any alert messages (or whatever) to our
operating and administrative staff.
Since there wasn't this sort of utility available for 3k, I wrote a tiny
SMTP client program and called it 'SendMail/3000'.
(sorry for the name; it is somewhat misleading if you compare the
program
with the unix sendmail command)

<plug alert>

Here is what my SendMail does:

        - posts outgoing text messages from 3k to your mail system
          through any SMTP compliant mail server
          (have tested M$ Exchange Server, several unix systems,
          Linux and some public SMTP services made available by our
          Internet provider)

        - runs either interactively (input prompted from keyboard)
          or inside a job (using MPE variables for all input)

        - performs character conversion from HP Roman8 to ISO-8859-1
          (a.k.a Windows Ansi), which is known by most PC-based
          mail systems

        - can handle several recipient names; send easily to multiple
          email users

        - before sending, searches through the message body for
          special string constructs (such as ~date~, ~clock~ or
          ~!mpe_variable~) and replaces them with appropriate value

And what it can't do:

        - can't receive incoming mail (remember, it is only a SEND client)

        - does't support aliases or distribution lists locally; that is,
          you have to include every recipient name separately in the
          'To:' list.
          However, if the target mail system allows, you can refer to a
          distribution list that is defined at the target site.

        - can't put any attachments in the message; the message body is
          the only part of the message and it holds all the text

        - can't send anything else but plain text; it creates a message
          header that defines the contents to be plain text

        - on MPE/iX 4.5 systems, can't use node name when referring to
          the SMTP mail server; must use the IP address instead
          (I could not get the DNS query gethostbyname working on older
          systems, but MPE/iX 5.X is ok)

<end plug alert>

This small program is written in Pascal, and I am willing to contribute
it to anyone who is interested enough to give it a try.

Source file is included, of course, and support will be limited on the
YGTS-FIBY basis (You Got The Source, Fix It By Yourself).

For more information, contact me by email:

[log in to unmask]

ATOM RSS1 RSS2