#include <cstdio>#include <cstdlib>#include <cstring>#include "TestIsCobolDoc.h"extern "C" {#include "iscobolc.h"#define MAX_MSG_LEN 1024 static char *jvmopts[2] = { "-Djava.class.path=C:\\Program Files (x86)\\Veryant\\isCOBOL\\lib\\iscobol.jar;C:\\Users\\dlubin\\Documents\\Visual Studio 2008\\Projects\\CallCOBOL\\debug",fprintf(stderr,"Error calling isCobolInit\n");errmsg[MAX_MSG_LEN] = '\0';cobargv[0] = (char *)&error_val;cobargv[1] = _strdup("DB Service ");cobargv[2] = _strdup("Username ");cobargv[3] = _strdup("Password ");fprintf(stderr, "Error calling isCobolCall\n");fprintf(stderr,"errmsg = %s\n", errmsg); fprintf(stderr, "COBOL returned return-code = %ld, error-val = %d\n", crc, error_val);fprintf(stderr, "Exit = %ld\n", isCobolTidy());
id division.program-id. testprog.data division.linkage section.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |