[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

2858.0. "script symbiont and concealed devices" by SUOSWS::HAMANN () Mon Jun 14 1993 12:01

    Hi,
    
    I am using ALL-IN-1 3.0 on VMS 5.5.
    
    I want to use the script symbiont to MERGE_LIST a document in batch.
    The data for the list file are provided by an application running in
    the subprocess of this batch job.
    
    The problems are with logical names.
    
    The application depends on the definition of concealed logical names,
    however there seems to be no way to access these from the script.
    
    1. Normally the definitions are executed in the LOGIN.COM of the user,
       however the script symbiont does no execute the LOGIN.COM of the 
       submitter.
    
    2. A definition from the Subprocess in the JOB logical name table does
       not help, because this table cannot be used from the script.
    
    3. A definition in the GROUP logical name table does not help because
       the script symbiont does not seem to look at it.
    
    4. A definition in the script using the "LOGICAL" function does not
       permit a CONCEALED attribute.
    
    Does anybody know a solution to this problem?
    
    Many thanks in advance
    
    Klaus
T.RTitleUserPersonal
Name
DateLines
2858.1May not be supportedTINNIE::SETHIAhhhh (-: an upside down smile from OZTue Jun 15 1993 04:1510
    Hi Klaus,
    
    Unless I am really mistaken CONCEALED and ROOTED logicals aren't supported
    by ALL-IN-1 IOS. 
    
    If I am wrong Andrew will no doubt beat me up :-) !!!
    
    Regards,
    
    Sunil
2858.2why not in batch?SUOSWS::HAMANNTue Jun 15 1993 16:376
    Hi Sunil,
    
    it does work interactively!
    
    Klaus
    
2858.3TINNIE::SETHIAhhhh (-: an upside down smile from OZWed Jun 16 1993 04:1211
    Hi Klaus,
    
    >-< why not in batch? >-
    
    I go back to my reply .1, however to be fair to you can you provide
    more details or give me a pointer to the code.  I am on lates this week
    so I maybe able to help you out but I make no promisses.
    
    Regards,
    
    Sunil
2858.4no problem, only work (and lost profit)SUOSWS::HAMANNWed Jun 16 1993 09:1535
    Hi Sunil,
    
    thank you for your effort, but I will have to change my application.
    
    To explain the essence of the problem look at a simplified example:
    
    I have to use a VMS-directory tree to store documents (don't ask, why
    I don't use the file cabinet! This is ported software needing a three
    level directory structure).
    
    The root of this directory structure is defined as a concealed device
    in the LOGIN.COM of the user like
    
       $ define/trans=concealed text$root $1$dua5:[project.text.]
    
    The subprocess passes the current directory and file 
    via the OAMAILBOX to an ALL-IN-1 script like
    
      OA get #directory = "MUMBLE"
      OA get #doc = "FOO"
    
    The script constructs a file spec like
    
      get #finaldoc = "text$root:[" #directory "]" #doc
    
    and uses it for the MERGE_LIST function.
    
    This does work interactively but cannot be made to work in the
    Script symbiont.
    
    The workaround will be to translate the logical in the subprocess
    and pass the expanded file spec to ALL-IN-1.
    
    Klaus
    
2858.5TINNIE::SETHIAhhhh (-: an upside down smile from OZWed Jun 16 1993 10:429
    Hi Klaus,
    
    This is not an application ported from PRIMOS ?  I had some problems
    when I managed a Telemarking system with the funny file access methods
    that are used.
    
    Regards,
    
    Sunil
2858.6No, OFFICE VISIONSUOSWS::HAMANNThu Jun 17 1993 08:291