[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3793.0. "VAXMAIL_CHECK not working" by BIS1::DESTRIJCKER (Back again to the home town) Fri Jan 21 1994 13:27

    Hi all,
    
    Could anybody explain why the MAIL command VAXMAIL_CHECK put in a
    script and called when invoking ALL-IN-1 does not import my VMSmail?
    
    Yet, when I call the script from within ALL-IN-1 with a "<DO fred.scp"
    it works. It doesn't give me any errors either. 
    
    Thanks,
    
    Wivine.
T.RTitleUserPersonal
Name
DateLines
3793.1SCRIPT script?IOSG::PYEGraham - ALL-IN-1 Sorcerer&#039;s ApprenticeFri Jan 21 1994 19:197
    If it's called with ALLIN1/SCRIPT=mumble, doesn't that make it a SCRIPT
    script? What happens when you <SCRIPT it?
    
    Alternatively, perhaps it hasn't initialised Mail, or something (User
    name?) that it needs.
    
    Graham
3793.2No differenceBIS1::DESTRIJCKERBack again to the home townTue Jan 25 1994 07:5513
    Graham,
    
    It doesn't really matter to me what it is called, except if that means
    something special, different?
    
    but  <do mumble.scp   works.
    
    Adding MAIL INIT doesn't make any difference unless I got the syntax
    wrong.
    
    I'm lost!
    
    Wivine.
3793.3why don't we have a /DO=?IOSG::BILSBOROUGHSWBFSTue Jan 25 1994 08:4329
    
    I think what Graham is trying to say is...
    
    There are two types of script in ALL-IN-1.  DO scripts and script
    scripts.  DO scripts are like DCL and script scripts are like fake user
    input.
    
    <DO will run your do script fine
    
    When you execute your procedure via ALLIN1/SCRIPT= 
    then it wants to run a script script not a do script so you can't use
    this qualifier to run your do script for you.  
    
    The standard way to do this is to write a little com file which goes
    into ALL-IN-1 for you.
    
    e.g.
    
    $ALLIN1/NOINIT
    OA$INI_INIT
    DO <location>:script
    EXIT
    $EXIT
    
    Or something like that.
    
    Is this what your after?
    
    Mike
3793.4Nothing specialBIS1::DESTRIJCKERBack again to the home townTue Jan 25 1994 12:029
    
    Not really. I just want to import users vmsmail automatically when they
    fire up ALL-IN-1. You see, we don't want to customise ALL-IN-1. So I
    thought, I know let's execute a script when ALL-IN-1 is invoked.
    
    But, unfortunately it doesn't work. I will have to think of something
    else.
    
    Wivine.
3793.5alternativesIOSG::BILSBOROUGHSWBFSTue Jan 25 1994 13:0412
    
    Why don't you set VMS mail to forward mail to the users ALL-IN-1
    account?
    
    The alternative as graham suggested to me is in the script script
    have
    
    .fx do xxx
    
    And that should work.
    
    Mike
3793.6Initial Menu?IOSG::PYEGraham - ALL-IN-1 Sorcerer&#039;s ApprenticeTue Jan 25 1994 17:475
    A further alternative is to set up their initial menu in the profile so
    it does:
    		EM V
    
    Graham
3793.7This is how I did itIOSG::HULINIan Hulin, IOSG: REO, DTN 830-6141Tue May 10 1994 10:4524
    Wivine,


    Use OAINI.SCP and .FUNCTION directives.  It should also work in a script
    invoked $ALLIN1/SCRIPT=FRED which as Graham said invokes a **SCRIPT** mode
    script.

!+
!       OAINI.SCP to import all VMS Mail
!-
    !
    !   Import all VMSmail
    !
    .FUNCTION MAIL VAXMAIL_CHECK \FORCE
    .FX MAIL DEFAULT
    {CR}
    .EXIT

    Cheers,

    Ian

P.S.     Hello again to everyone, for a little while anyway