Compile, link then execute

I have been using compile/go JCL to run my COBOL MVS programs, since that was the JCL I found used for other things. Since I mentioned in a video that the execution speed of a JOB was not a true indication of speed, because in addition to the execution, the program was compiled every time. I figured it was time I looked into doing it the long way. If you worked at a company you wouldn’t recompile a “production” program every time you wanted to run it! Programmers testing their programs, may want to recompile until it’s working properly! In looking at this, because I am very rusty…I had questions about where various files were stored. Well as far as I can tell they just need to be stored in a PDS, I thought perhaps the object needed to be stored in a special library, but apparently not. I just created a normal PDS and pointed the linkage editor to it. Then told a different JOB, where it was, using a JOBLIB card like…”//JOBLIB DD DSNAME=WHB.STUFF.PDS,DISP=SHR”. I guess I could have used a STEPLIB also!