Help,
okay, i have a program which in somecase will call another external c++ program,
i just dont know how to do this.
Both of my program are in my CHRISM.LOADLIB (my user)
reading the zos manuals, system() should do the job. there are two different ways i can format the system() command
sprintf(line,"PGM=PROGRAM2,PARM='%s'",Passed);
rc = system(line);
sprintf(line,"PROGRAM2 %s",Passed);
rc = system(line);
do i need to put something in the JCL, or do i need to do a program linkage
extern "REFERENCE" {
void PROGRAM2(char *);
}
Any help would be good.
Many thxs