Skip to content

Instantly share code, notes, and snippets.

@lae0901
lae0901 / gist:beb6886215b389354a430bd8536b25e0
Created February 27, 2019 11:04
Segmentation fault error when running _PGMCALL to call ILE program from C code running in PASE
// steve8c.c - use _PGMCALL to call ILE program, no parameters.
// to compile:
// gcc -o steve8c steve8c.c
#include <stdio.h>
#include <as400_protos.h>
int main(int argc, char *argv[])
{