Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!beta!unm-la!unmvax!nmtsun!hydrovax From: hydrovax@nmtsun.nmt.edu (M. Warner Losh) Newsgroups: comp.os.vms Subject: ACCDEF vs ACRDEF Keywords: Help Message-ID: <1266@nmtsun.nmt.edu> Date: 27 Jan 88 04:39:52 GMT Organization: NMT Hydrology program Lines: 40 Greetings, time for a new discussion on this group. I'm sure this one gets talked about every so often. If so, would some kind sole send me summaries of the previous discussions so we can use the bandwidth to discuss more pressing issues. I am in the process of writing an accounting utility that reads ACCOUNTING records from an accounting file that was written by VMS Version 4.4. I have found the supplemental information in the accounting utility documentation very useful. However, I'm a bit fuzzy on a few points. First, since I'm writing this utility in 'C', I'd like to be able to use the pre-defined structures that DEC gives you as part of the distribution. However, I find that there is no ACRDEF.H, which is the name that SHOULD be there, according to the appendix in the accounting utility manual. There is a ACCDEF.H that looks a little bit like the correct data structures, but not quite. Upon close inspection, I found that the data structures had the same fields (sort of), but they were in a different order, in addition to some other basic differences. Second, I found $ACRDEF in the SYS$LIBRARY:STARLET.MLB (I think, or maybe it was LIB.) Does anybody have a way of converting this into 'C' structure definitions? I have asked this question before on the SDL discussion, but haven't gotten an answer yet. Finally, I get to my question : What is ACCDEF used for, and why did I get this module with my 'C' compiler (version 2.2 on VMS 4.4) instead of ACRDEF. Is there some accounting file reading facility that I have overlooked in my search through the Orange binders? Or do I have to hack out my own ACRDEF.H file, so I can read the raw data. -- bitnet: lush@nmt.csnet M. Warner Losh csnet: warner%hydrovax@nmtsun uucp: ...{cmcl2, ihnp4}!lanl!unmvax!nmtsun!warner%hydrovax ...{cmcl2, ihnp4}!lanl!unmvax!nmtsun!hydrovax Warning: Hydrovax is both a machine, and an account, so be careful.