[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

267.0. "Problem to read a file" by UNTADH::TEICHREBER () Wed Sep 13 1989 09:42

	    	    Problem to read a File
		    ======================

1. File-Description :

    SUFFIX=ISAM
    SEGNAME=ROOT,$
     GROUP=    ALAR_DCV1   ,ALIAS=KEY ,USAGE=A8,ACTUAL=A8,$
     FIELDNAME=ALAR_LOG_NO ,ALIAS=KEY1,USAGE=A14,ACTUAL=A14,$
     FIELDNAME=ALAR_TYPE_CD,          ,USAGE=A1,ACTUAL=A1,$
     FIELDNAME=ALAR_CNTR   ,          ,USAGE=A4,ACTUAL=A4,$
    
    DEFINE ALAR_ISSUEDT/A20 = CVTSTIME(0, ALAR_DCV1, ALAR_ISSUEDT);$
    DEFINE ALAR_LOGEDIT/A17 = EDIT(ALAR_LOG_NO, '99999-99-9999-999');$

2. One record of this File looks like this

    �rp�o�00231001591UNTL
    :
    :
    
3. Problem-Description

    If we try to read this file in FOCUS with the commands

	TABLE FILE ALARM
	PRINT ALAR_LOG_NO

    the report on the screen looks

	PAGE 1

	ALAR_LOG_NO
	-----------
	 rp�o�002310
	 :
	 :

Who may tell me what's wrong ?

Thanks for help

Peter
T.RTitleUserPersonal
Name
DateLines
267.1It looks like??MILPND::MADDENWed Sep 27 1989 09:452
    It looks like you are describing all the data as alpha, when there are
    other formats in the record.