Subject: | |
From: | |
Reply To: | Steve Dirickson (Volt) |
Date: | Tue, 20 Mar 2001 11:07:04 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> Has anyone used the VPLUS intrinsics with their C program.
>
> We have a COBOL based application and there is some thought
> of developing some new functionality in C.
Using VPLUS from C is a pain because of all the low-level diddling you
have to do in the COMAREA, though you may already have that low-level
stuff in your COBOL code. There used to be a library called "Hi-Li" that
provided a higher-level interface to VPLUS; it let you compress a
sequence like
VOPENFORMF/VOPENTERM/VSHOWFORM/VPUTWINDOW/VEDITFIELDS/VREADFIELDS into a
couple of function calls. Like most HP stuff, it talked about using it
from COBOL, FORTRAN, Pascal, etc. but not from C. But I can't see any
reason (Walter?) why it wouldn't work from C. If it still exists, that
is. And (of course) there's Transact, which would compress the sequence
above into *one* source statement.
|
|
|