Namespace: OpenEdge.DataAdmin.Core
Class
DataFileInfo
Parent classes:
Inherits: Progress.Lang.Object

/* Copyright (c) 2011 by Progress Software Corporation.
/*
/* All rights reserved. No part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from Progress Software Corporation.
Purpose:Read the trail info of a .d
Author(s):hdaniels
Created:Thu Mar 29 16:39:15 EDT 2012
Notes:From prodict/dump/lodtrail.i




Method Summary
Options Name Purpose
extractNumericInfo (character)
FindPSC () /* If the bytecount at the end of the file is wrong, we will jump * back the maximum number of bytes in a trailer and start looking * from there. If we still don't find it then tough luck. * NOTE: Variable p holds the number of bytes to roll back. AS of * 7/21/94, the max size of a trailer (.d) is 204 bytes, if you add * anything to this trailer, you must change this number to reflect * the number of bytes you added. I'll use 256 to add a little padding. (gfs) */
GetPSC (int64) /* using the byte count, we scoot right down there and look for * the beginning of the trailer ("PSC"). If we don't find it, we * will go and look for it. */
CHARACTER ReadBits (int64) /* reads trailer given a starting position */
ReadTrailer (character)

Constructor Summary
Options Name Purpose
DataFileInfo ()

Property Summary
Options Name Purpose
CHARACTER CodePage
CHARACTER CodePageError
CHARACTER DateFormat
CHARACTER LogicalDatabaseName
CHARACTER lvar
CHARACTER MapType
CHARACTER NumericDecimalPoint
LOGICAL NumericFormatError
CHARACTER NumericSeparator
INT64 NumRecords
CHARACTER TableName
DATETIME TimeStamp
INTEGER YearOffset


Method Detail
Top

extractNumericInfo (character)

Parameters:
numformat CHARACTER
Top

FindPSC ()

/* If the bytecount at the end of the file is wrong, we will jump
Top

GetPSC (int64)

/* using the byte count, we scoot right down there and look for
Parameters:
piPos INT64
Top

CHARACTER ReadBits (int64)

/* reads trailer given a starting position
Parameters:
pi INT64
Returns CHARACTER
Top

ReadTrailer (character)

Parameters:
pcFile CHARACTER


Constructor Detail
Top

DataFileInfo ()



Property Detail
Top

CHARACTER CodePage

Returns CHARACTER
Top

CHARACTER CodePageError

Returns CHARACTER
Top

CHARACTER DateFormat

Returns CHARACTER
Top

CHARACTER LogicalDatabaseName

Returns CHARACTER
Top

CHARACTER lvar

Returns CHARACTER
Top

CHARACTER MapType

Returns CHARACTER
Top

CHARACTER NumericDecimalPoint

Returns CHARACTER
Top

LOGICAL NumericFormatError

Returns LOGICAL
Top

CHARACTER NumericSeparator

Returns CHARACTER
Top

INT64 NumRecords

Returns INT64
Top

CHARACTER TableName

Returns CHARACTER
Top

DATETIME TimeStamp

Returns DATETIME
Top

INTEGER YearOffset

Returns INTEGER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15