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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

369.0. "CARD FILER DATA FILE FORMAT" by CADSYS::GALLAGHER (Jim Gallagher DTN 225-4075) Thu Mar 09 1989 12:09


	The following question was asked but never quite answered in the
	previous DECwindows conference.

	What is the file/record layout for the card filer data file?

	It was suggested that we look in the MSDOS windows user guide but I have
	not been able to find any useful information about this in any of the
	MS-DOS documentation.

	I assume that like most people I need access to my note cards from
	terminals other than my work station. Currently this is impossible
	unless one does a DUMP/OUTPUT= of the data file and rummages through it
	that way. Judging by the response in the previous conference that are a
	number of use that are willing to code, some sort of ASCII read-only
	version of the card filer, if we could figure out how to read the data
	file.

	Any info on how to read the card filer, record description and/or code
	would be much appreciated.


				Thanks Jim

T.RTitleUserPersonal
Name
DateLines
369.1Cardfiler FormatORCAS::HORMANCraig Horman | WEA SWASFri Mar 10 1989 16:1124
   
    I just received a copy of the CARDFILER io code. I too plan on
    writing a utility - when I can scrounge some spare time - to display
    CARDFILER files on ANSI terminals, and to convert a non-CARDFILER
    format file to CARDFILER format.                
                                                    
    Please note:                                    
                                                    
    o The CARDFILER format will soon change to support compound strings
      (although it is likely the new version will read this older format).
                                                           
    o The OOTB team (of which I am NOT a part) will not support datafiles
      created or modified by utilities/hacks written around the io code.
                                                    
    Send mail to ORCAS::HORMAN if you'd like a copy.
                  
    If anyone writes a CARDFILER utility, please mention it here. I hope
    to find enough time in the next few weeks, but it's impossible to
    predict my schedule. I know many people have expressed an interest
    in the utilities mentioned above.                   
           
    Craig
    

369.2Another user ...42143::PITTSuspend all hackers ... by the neck!Tue Aug 08 1989 13:3716
I would like to use the cardfiler as the user interface to a database - it is
an almost ideal application for this, since it is currently held on real cards!
Thinking a bit towards the future, however, I can see myself needing to write
programs to process the card data in arbitrary ways.  This is really the same
issue as is being discussed in .0 and .1.

Are there any plans to provide callable CardFiler interface routines?  Doing
so would increase the potential user-base considerably, I suspect.  It would
also stop people like the author of .-1 from having to write (extremely useful)
unsupported utilities to access the data.

If this hasn't specifically been asked for, as a future product requirement, 
then consider this to be one such request.

T

369.3No plans at this timeVIA::FINNEGANAll of the best intentions are less than one good act.Fri Aug 18 1989 14:007
There are no plans for having an external calling interface for the cardfiler.

If you want to write up a proposal including what type of calls you want then I
will add it to the V3.0 wish list.

Neal

369.4Here's a first pass - anyone else got any comments?42143::PITTSuspend all hackers ... by the neck!Tue Aug 22 1989 08:4618
In response to .-1, here's a go at what I might want to do:

Essentially, I wish to have line-wise access to my data from a program.  So, I
would envisage calls such as
	CARDFILER$OPEN_FILE(Filename)
	CARDFILER$OPEN_CARD(Indexvalue)
	CARDFILER$GET_CARD_DATA(LineBuffer)
	CARDFILER$PUT_CARD_DATA(LineBuffer)
	CARDFILER$FIND_CARD(SearchString)
	CARDFILER$CREATE_CARD(Indexvalue)
	CARDFILER$OPEN_NEXT_CARD()

I think that would let me do anything I wanted from a relatively simple program.
Is this sufficient for a request for the next version?  I guess some of the
argument lists might need to be extended a bit ...

T

369.5Load ASCII format file?TLE::MEIERVAX Ada - Quality is the only way to win!Fri Dec 29 1989 17:3715
    I might suggest as both a feature I'd like to see, and a possible way
    to implement a way to load the cardfiler with data...Have it read in a
    standard ASCII file, probably formatted in just the way it prints it
    out. Like
    
    <cardindex1>
     <line1>
     <line2>
     ...
    <cardindex2>
     <line1>
     <line2>
    .
    .
    .
369.6VIA::FINNEGANAll of the best intentions are less than one good act.Thu Jan 25 1990 10:357
This has been on the wish list for some time.  Dave PHOBOS::WICKERT has written
a load program based on the I/O information that I gave him.

While I cannot support such a program, it may be useful for people who want to
convert existing data files.

Neal