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

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

482.0. "FOCUS/SUBDIR = DELETE Problem" by KIRKTN::SACAMPBELL (Too Fast to Live, Too Young to Die !!) Tue Nov 19 1991 11:50

  When invoking FOCUS/SUBDIR=DELETE I get the error -

		ERROR - CANNOT CREATE TEMP DIRECTORY

  I checked the protections on the directories and also did a CREATE/SUBDIR
on the directory that focus should have been creating under and found no 
problems.

  The only thing I can think of is the length of the directory string and that
Focus has hit it's limit (yet, another one).
The directory is :

	DISK$DECLOTEXT:[CMTPROD.LOTEXT_DAILY_REPORTS.LOTEXT_FREQUENT.proc-id]

  I only seem to get the problem on this directory.

	And another thing while I'm in here :

		Some of my applications that run using /SUBDIR=DELETE create 
	the .DOC file in the temporary directory which then is deleted when 
	leaving Focus, and the DOC file is lost. This neveer happened with
	V5.2.3 but now happens with V6.1.0.


  All comments accepted.

		Stuart.


	BTW. Don't ask me to read page such-and-such of the V6.0 User's Guide
'cause they haven't arrived yet. I've still got Release 5.2 versions.
T.RTitleUserPersonal
Name
DateLines
482.1FOCEXTRACTEVTDD1::CARRIEREJean-Claude CarriereWed Nov 20 1991 03:2222
Dear Stuart,

	Well, I cannot say much about your first problem, except I don't
	recall any limit in FOCUS for this, aside from VMS directory/filename
	length limit.
	One thing I may suggest would be to create a concealed logical name

$assign/trans=conceal DISK$DECLOTEXT:[CMTPROD.LOTEXT_DAILY_REPORTS.] disk$appl
and then work from disk$appl:[LOTEXT_FREQUENT]


	However regarding the .DOC file, there is s SET FOCEXTRACT command
	(TEMPORARY or DEFAULT) which let's you specify where you want your
	extract file to be saved. In the case where you use /SUBDIR=DELETE
	you should SET FOCEXTRACT=DEFAULT whenever you want to keep the file.
	Note : SET FOCEXTRACT=TEMPORARY is the default

	(To shed some light on the subject, this behavior was introduce
	after multo discussions at IBI ... to accomodate the ALLIN1 interface
	and allow a more flexible access to folders.)

Jean-Claude
482.2HAMSTR::BAMFORTHWed Nov 20 1991 12:4314
    
    To avoid having to frequently reset FOCEXTRACT in a multi-step process, 
    
    include the following only in the request whose output you want
    directed to the default directory. 
    
    ON TABLE SET FOCEXTRACT DEFAULT  
    
    
    Note: This in only in effect for this "step", preceding/subsequent
          steps get directed to your temporary directory (if you used 
          FOCUS/SUBDIR=DELETE ) 
    
    jb
482.3If I could only read the manuals cover-to-coverKAHALA::FOREMANNothings Impossible, you just run out of timeThu Nov 21 1991 10:0420
    re : .2 ON TABLE SET FOCEXTRACT DEFAULT
    
    I was mildly aggravated by the change putting format DOC files in
    the temporary directory.  Not knowing about the above I've been
    simply doing VMS copies from the Temporary directory to my
    storage directories.  Most of the work done in my FOCUS sessions
    is "temporary" so I didn't want to discontinue using the SUBDIR=DELETE
    feature.  I'm unclear how to use the feature mentioned above.  Is
    this documented in the manuals ?  If not would this statement be
    placed prior to the TABLE FILE request that creates my DOC file
    and then become inactive after another TABLE FILE request is
    issued ? *OR*
    Is this an additional ON TABLE line added to the body of my
    TABLE FILE request ?
    
    Thanx for your input - this seems like a cleaner way to save what
    you want in a SUBDIR=DELETE session.
    
    Sharon
    
482.4Dynamic SET usage.HAMSTR::BAMFORTHThu Nov 21 1991 12:0343
    
    Sharon,
    
    This type of dynamic variable setting is mentioned in the V6.0+
    features.  Rather than statically setting parameters, you can 
    dynamically set them for the current table request, while the
    default values will apply on prior/subsequent requests. 
    
    An example:   
    
    GIVEN: FOCUS ENTERED VIA FOCUS/SUBDIR=DELETE 
    
    
    TABLEF FILE MASSIVEDB 
      PRINT A B C 
      IF YR EQ '91' 
      IF MO IS-FROM 10 TO 12  
    ON TABLE HOLD AS EXTR92Q4 
    END
    -RUN
    
    TABLE FILE EXTR92Q4  
    " "
    " EXAMPLE" 
    " "
    SUM B  
        C  
    BY  A   
    
    ON TABLE SET LINES 62,PANEL 500,FOCEXTRACT DEFAULT 
    ON TABLE HOLD AS YOURRPT FORMAT DOC 
    END
    -RUN 
    
    
    The only file retained (on your default DIR) in the above case would be
    the YOURRPT.DOC  
    
    jb 
    
    
    
    
482.5Handy itemKAHALA::FOREMANNothings Impossible, you just run out of timeThu Nov 21 1991 13:598
    Thanx for the clarification.  I did find it in my 6.1 manuals ( Vol I,
    Page 2.147 if anyone's interested ).  Amazing how quickly you can find
    things when you already have the answer ;-)
    
    This is a handy bit of functionality - this notesfile is so
    enlightening.
    
    Thanx again