[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

31.0. "COMMUCATION WITH VMS" by PRSIS4::ALETON () Thu Feb 04 1988 12:42

    
    
    
    	Hello,
    
    
    	Developping some applications with Focus I have some
    	questions about communication with VMS symbols . . . .
        
    	Is it possible to read an external sequential file which records
    	 are containing  characters (DCL symbols)and after to separate 
    	the records in substring ?  
    	I have tried by this way it is not working :
    
    	FILEDEV EXTFILE DISK DISKNAME:[DIRECTORY]FILENAME.DAT
    	-RUN
    	-READ EXTFILE, &C, &D
    	.
        .
    	-SET &E = SUBSTR(6,&C,2,5,4,&E)
                                                                   
    	How is it to use logical names in FOCUS and especially with the 
    	following command : ON TABLE HOLD AS logical_name .The maximun length
    	for the filename is only 8 characters ,it is a problem .
    

    	Regards
    
    	Philippe
                
T.RTitleUserPersonal
Name
DateLines
31.1Is this the problem?MEMV01::VOSSThu Apr 14 1988 15:182
    Sure. But you need to change the following:
    -SET &E=SUBSTR(6,&C,2,5,4,'A4');  for Dialogue Manager