LIANT RM/COBOL and accessing C Routines
From: Bill J. (NO~~~SPAM)
Date: 02/13/04
- Next message: Bob Wolfe: "Re: Need new textbook"
- Previous message: JerryMouse: "Re: New-Hampshire and voting machines!"
- Next in thread: Frederico Fonseca: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Frederico Fonseca: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Tom Morrison: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Robert Heady: "Re: LIANT RM/COBOL and accessing C Routines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Feb 2004 15:29:48 GMT
Does anyone have a brief example of how to access a C routine from an
RM/COBOL program...in Micro Focus I can do this:
set dllPPtr to entry 'C:\PVSW\Bin\w3btrv7.dll'.
MOVE ZEROS TO FILL.
*OPEN THE FILE
MOVE 0 to OPCODE.
MOVE "C:\PVSW\samples\sample.btr" to KBUF.
MOVE 26 to KEYLENGTH.
CALL "BTRCALLID" USING
BY VALUE OPCODE
BY REFERENCE POSBLOCK
BY REFERENCE DBUF
BY REFERENCE DBLENGTH
BY REFERENCE KBUF
BY VALUE KEYLENGTH
BY VALUE KEYNO
BY REFERENCE CLIENTID
RETURNING BTR-STATUS
Is there an equivalent in RM?COBOL?
Thanks,
Bill Jacaruso
Solutions Manager
Pervasive Software
- Next message: Bob Wolfe: "Re: Need new textbook"
- Previous message: JerryMouse: "Re: New-Hampshire and voting machines!"
- Next in thread: Frederico Fonseca: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Frederico Fonseca: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Tom Morrison: "Re: LIANT RM/COBOL and accessing C Routines"
- Reply: Robert Heady: "Re: LIANT RM/COBOL and accessing C Routines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|