I'm having a potentially simple, albeit boneheaded syntax problem that has me
stumped. I wrote what I think is a simple program to generate a listing of
network connections that we bill for here, and at the very beginning of the
file I'm getting syntax errors. I must be doing forgetting something elementary
as this happens near the beginning of the first pass of the compile.
If I am doing something simple and stupid, I have to plead being a relative
newcomer to 4GLs of any flavor, so no tongues of fire, please.
I've included the piece of the program where I'm running into trouble:
================================================================================
main
define
install record like inst_all.*
port_map record like prt_jck.*
|_______________________^
|
| A grammatical error has been found on line 14, character 25.
| The construct is not understandable in its context.
| See error number -4373.
(It almost looks as though I need a comma or some other delimiter to separate
the record definitions. Am I right?)
declare
i_curs cursor for
select * from install
p_curs cursor for
select * from port_map================================================================================
The reason I've included the declare statements is that if it is a mindless
type of error, then I suspect I'll run into the same problem with those.
Any advice or constructive comment would be greatly appreciated. E-mail's
okay - no need to tie up bandwidth.
Walt
--
Walter R. Trachim |"And remember, my sentimental friend: the
UNH Telecom and Network Services | heart is not judged by how much you love,
Durham, NH 03824 | but by how much you are loved by others."
Walt_Trachim@unh.edu | --The Wizard of Oz