| What does a FAX address look like on your system? I ask this because
FAX addressing is a customisation, and hence I don't know what yours
will look like.
With this information, and your list, it would be a few minutes of DCL
lexicals and some file writes to create a distribution list. If you
have ALL-IN-1 V3.0, you could use the FN$mumble lexicals and TEXT_FILE
functions to do it all in a script.
Graham
|
| OK, here's a horrible hack, assuming you aren't going to be doing this
too often, and it's a personal distribution list...
Get the addresses in a file called names.lst, or edit code below
appropriately.
Go to EM DL C, and make a list called @TEMP for example. Just put one
address in it "I" will do.
GO back to EM, and select the document called "@TEMP" in the folder
called "DISTRIBUTION LISTS". Do SH (show header) to find its VMS file
name. It will be something like "[.MSG]ZUPXQ96XF.DIS". Edit this file
name into the command procedure below, and execute it.
Graham
PS No guarantees, no warranties, and that's a beer you owe me!
PPS No smart remarks from anyone else about how bad the code is!
$ Spaces = " "
$ open/write DL <**FILENAME HERE**>
$ open/read Names names.lst
$Loop:
$ read/end=Done Names Buff
$ First = f$edit( f$element( 0," ",Buff ),"TRIM" )
$ Last = f$edit( f$element( 1," ",Buff ),"TRIM" )
$ Fax = f$edit( f$element( 2," ",Buff ),"TRIM" )
$ write DL First," ",Last, -
f$extract( 0,36-f$length( First )-f$length( Last ),Spaces ), -
"( ",First," ",Last,"@1=US@2=MCI@*EMS\FAX@*MBX1\PHONE:",Fax, -
"@MRX_MCI@OGO )"
$ goto Loop
$Done:
$ close DL
$ close Names
$ exit
|