From 0368ff81cc14a98198227e961756d0a57f975ac9 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 19 Oct 2025 16:00:02 +0100 Subject: [PATCH] fix change selector in workflow --- jcl/SIEVE07.jcl | 6 ++++++ src/SIEVE07.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 jcl/SIEVE07.jcl create mode 100644 src/SIEVE07.c diff --git a/jcl/SIEVE07.jcl b/jcl/SIEVE07.jcl new file mode 100644 index 0000000..691bfa0 --- /dev/null +++ b/jcl/SIEVE07.jcl @@ -0,0 +1,6 @@ +//SIEVE07 JOB (GCC),'Sieve 7 Example', +// NOTIFY=@05054,CLASS=A,MSGCLASS=H, +// MSGLEVEL=(1,1),REGION=4M,TIME=1440 +//* Compile Step +//STEP1 EXEC GCCCG,INFILE='@05054.SRCLIB.C(SIEVE07)' +// \ No newline at end of file diff --git a/src/SIEVE07.c b/src/SIEVE07.c new file mode 100644 index 0000000..fededb7 --- /dev/null +++ b/src/SIEVE07.c @@ -0,0 +1,47 @@ +#include + +#define LIMIT 10000 +#define PRIMES 1000 + + +int main() +{ + int i,j,numbers[LIMIT]; + int primes[PRIMES]; + + for (i=0;i