HP3000-L Archives

March 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Steve Dirickson (Volt)" <[log in to unmask]>
Reply To:
Steve Dirickson (Volt)
Date:
Tue, 20 Mar 2001 11:07:04 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
> 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.

ATOM RSS1 RSS2