[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| 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 | 
2629.0. "FILECAB GET_ATTRIBUTES and SUBMIT_SCRIPT" by BERN02::MUELLERS (Stefan A Mueller 761-4864) Wed Apr 28 1993 17:06
    I am using the FILECAB GET_ATTRIBUTES function within a script
    ATT_SUB.SCP which I want to submit onto the script symbiont. It does not 
    return the requested attributes. At the other hand, if I call the "same" 
    script ATT.SCP interactively, it returns the correct result. Could anybody check the scripts below an tell me
    what I am doing wrong. Thanks.
    
    Stefan
    
    ---------------------------------------------------------------------------
    ! ATT_SUB.SCP
    get #drawer=OA$SMB_PARAMETER_1
    get #document=OA$SMB_PARAMETER_2
    filecab get_attributes (DRAWER=#drawer,DOCUMENT=#document,#title=TITLE) 
    examine (symbol="#title",out="symbol.log")
    ___________________________________________________________________________
    
    Calling ATT_SUB.SCP interactive with 
    
    <submit (script="att_sub",P1=oa$curdwr,P2=OA$curdoc)	
    
    returns the following output in SYMBOL.LOG
    
    Local Symbols:
    -------------
    
    #TITLE
    
    
    ---------------------------------------------------------------------------
    ! ATT.SCP
    get #drawer=OA$CURDWR
    get #document=OA$CURDOC
    filecab get_attributes (DRAWER=#drawer,DOCUMENT=#document,#title=TITLE) 
    examine (symbol="#title",out="symbol.log")
    ___________________________________________________________________________
    
    Calling ATT.SCP interactive with 
    
    <do ATT 
    
    returns the following output in SYMBOL.LOG
    
    Local Symbols:
    -------------
    
    #TITLE                          �bungen
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 2629.1 | FILECAB functions and the ScripT Symbiont | AIMTEC::WICKS_A | on the Streets of San Francisco | Wed Apr 28 1993 17:10 | 1 | 
|  |     seen note 2548?
 | 
| 2629.2 | Thanks | BERN02::MUELLERS | Stefan A Mueller 761-4864 | Thu Apr 29 1993 07:08 | 1 | 
|  |     no........thanks for the pointer!
 |