Hi,
my suggestion to tiny developers is to modify htglobas.c, function =
copytrip, include 4 lines.
if (pt1 !=3D NULL) {
if ((i =3D pt2 - pt1) >=3D 0) {
// lines to include
if(*pt1 =3D=3D '$') { // walter garrote: get the environment =
variable
pt1 =3D getenv(pt1 + 1);
i =3D strlen(pt1);
}
// end
strncpy(sout, pt1, i+1);
sout[i+1] =3D '\0';
}
}
with these you can specify in htcobolrc environment variable, like that
COPYBOOK_PATH: $GPFONTES
walter garrote
|