diff --git a/jcl/SIMPLE2.jcl b/jcl/SIMPLE2.jcl new file mode 100644 index 0000000..fc97ba9 --- /dev/null +++ b/jcl/SIMPLE2.jcl @@ -0,0 +1,7 @@ +//SIMPLE2 JOB (GCC),'Simple Hello Example', +// NOTIFY=@05054,CLASS=A,MSGCLASS=A, +// MSGLEVEL=(1,1),REGION=4M,TIME=1440 +//* Compile Step - comments allowed in JCL! +//STEP1 EXEC GCCCG,INFILE='@05054.SRCLIB.C(SIMPLE2)' +// + diff --git a/src/SIMPLE2.c b/src/SIMPLE2.c new file mode 100644 index 0000000..931df07 --- /dev/null +++ b/src/SIMPLE2.c @@ -0,0 +1,13 @@ +// +// SIMPLE 2 SAMPLE +// +# include + +#ifndef HELLO_STRING +#define HELLO_STRING "Hello, World!" +#endif + +int main() { + printf("%s\n", HELLO_STRING); + return 0; +}