[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

142.0. "focus 5.2 failure, fex would not execute" by NRMLZE::ESTES () Tue Oct 18 1988 10:55

							FOCUS_FAILURE.TXT

SUBJ: FOCUS 5.2 FAILS WHEN DEF DIR > 16 CHARACTERS

Thought I would share this one with everyone.  We have a batch stream
here (that has been running for some time) that uses Focus to create a 
snapshot of a application.  It uses a scratch default directory made 
up from the com stream name.

Recently the com stream name was changed to fit new standards and Focus
stopped working.  The fex would appear to execute but absolutely no
transactions were shown as accepted.  No matter what commands you place
in the fex, nothing would happen.

After a LOT of frustration and hair pulling I have found the problem
to be in the length of the name for the default subdirectory.  

If the default directory name is GREATER THAN 17 characters Focus
	does NOT RUN the fex and no error message appears.

If the default directory name is EQUAL 17 characters Focus
	does NOT RUN the fex and you get FOC302 error message.
	"ERROR WRITING FOCEXEC TEMPORARY FILE"
	NOTE: For a laugh look up the fix for this error, it doesn't
		help at all.

If the default directory name is less than or equal 16 characters Focus
	runs ok.

Naturally, when this stream got renamed the new name was greater than
17 characters... FOCUS IS WONDERFUL!

I fixed this by no longer using a scratch directory made up from 
the stream name.  I now use a Focus 5.2 qualifier /SUBDIR=DELETE which 
causes Focus to create a scratch file subdirectory made up from the PID of
the process. The =DELETE causes Focus to delete the subdirectory when 
exiting.

Regards,
Stu Estes



T.RTitleUserPersonal
Name
DateLines
142.1Limits are different for reports!NRMLZE::ESTESTue Oct 18 1988 12:0713
    As an update - the directory sizes seem to be different for Focus
    fex's for reports.
    
    If the subdirectory is greater than 13 characters, the report fex
    will fail.
    
    At 14 characters you get the FOC302 error
    
    At 15 or more characters, Focus does not execute the fex but gives
    	us no error message.
    
    Stu