home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR16
/
DTSDDS.ZIP
/
DTSDDS.DOC
next >
Wrap
Text File
|
1993-07-26
|
5KB
|
98 lines
DTSDDS.DOC July 25, 1993
Samuel W. Bellamy III (76200,2531)
══════════════════════════════════════════════════════════════════════════
Hello all,
If you're reading this document then it is likely you have
experienced one of CDD 3.0 deficiencies in early batch releases,
the lack of a DICTIONARY print facility.
For those of us dealing with large data dictionaries, it is
impractical, if not impossible, to retain all of the DICTIONARY
properties to memory. Therefore, I have invested the time
to create a DDSList template to dump DICTIONARY properties
to file.
Now, since Clarion Software has announced the development of
a print facility, we have decided to NOT enter into a Third-
Party relationship in this or similar projects. However, if
you haven't already heard about Clarion Third-Party product
offerings from Diversified Technology Solutions, you should
soon.
Back to the solution at hand....let's look at the disclaimer,
function, and caveats regarding this utility.
DISCLAIMER
Diversified Technology Solutions nor its principals nor
employees vow to the validity and operation of this
program. Use this utility by your own free will AND at your
own risk.
Distributed as FREEWARE you are responsible to taking
necessary precautions to protect your investment,
particularly CLA and/or DCT files. This means MAKE A BACKUP.
This product does not provide any means of error checking
to preclude overwriting any previously developed CLAs of
similar naming convention. Therefore, if you create an APP
with a Module Name for the DCT listing with a similar name
to another CLA source file, GENERATOR will over-write the
original source.
FUNCTION
Perhaps the best method of describing the implementation of
this utility is to describe how we use it.
1. Install DTSDDS.TPL into the \CLARION3 directory.
2. After selecting the desired default directory from within the
Clarion environment, select the Application Generator <F4>.
3. Select the NEW button to create a new APP.
4. Enter the name of the APP. (Generally, we give it a name
somewhat representative of the DCT, but include DDS in the
name.)
5. Select \CLARION3\DTSDDS.TPL as the Template File.
6. Select the desired DCT for documenting.
7. Enter a FirstProcedure. (This APP will have a single procedure.
We generally call it DCTListing.)
8. Create the procedure as a DDSList. (NOTE: The TODO and
EXTERNAL procedure types are present in DTSDDS.TPL because
CDD 3.0 requires them for the APP preloading.)
9. Select the FILE button and select one of the FILEs. (This is
required because the Source Generator needs a starting point
in the DCT to determing file RELATIONSHIPs.)
10. Enter the Module Name for the output redirection.
11. Select the desired check box for Full or Brief DDS listing.
12. Select the OK button.
13. Press <ALT G> to Generate Source. (NOTE: Do NOT attempt to
compile this code as it is not valid Clarion code.)
14. Press <ALT F><S> to save the dictionary.
15. Press <F8> to load the Clarion Editor and load the
<AppName.CLA>. This <AppName.CLA> contains the DCT listing.
CAVEATS
1. As mentioned above, remember that the CDD source code generator
generates the code into the file specified in 'Module Name'.
Should you enter an existing name, the original file is
over-written.
2. Due to the manner in which code is generated via the template,
columnar output is NOT supported. The first template
symbol provides a selected column position. However, due to
the string concatenation, subsequent symbol values are
output in relative position to the end of the previous symbol
output. This yields a jagged output, particularly noticable
in the BRIEF listing.
Feel free to distribute this template freely and/or modify it as
desired.
Should you have any questions or comments regarding this template, feel
free to contact me via CompuServe (76200,2531) or the Clarion Software
Forum.
Finally, I'll be the first to state this is not a perfect or optimal
solution, but the price is right AND its only intended to be a
temporary solution.
cu, Sam