Page 1 of 1

Can we run JEM and JSCAN in Batch?

Posted: Thu Jun 10, 2021 6:04 pm
by Shruti Yadav
Hi,

Is there a possibility to run JEM or JSCAN in batch? If yes, how can we do that?

When I usually would want to scan a given job for errors , I use JEM or JSCAN on the job. How can one scan a job for errors in the batch mode?

Re: Can we run JEM and JSCAN in Batch?

Posted: Wed Jul 21, 2021 3:03 pm
by Shruti Yadav
Hi,

Could someone please guide on it?

Re: Can we run JEM and JSCAN in Batch?

Posted: Wed Jul 21, 2021 7:17 pm
by Robert Sample
Since you are talking about vendor products, your FIRST source of information should be the vendor (manuals, web sites, or whatever). Have you contacted the vendor to ask your question? If not, you should do that. Answers on a forum like this are dependent upon people having the knowledge, interest, and time to respond -- and there is probably limited knowledge of those products on this forum.

Re: Can we run JEM and JSCAN in Batch?

Posted: Thu Jul 22, 2021 1:39 pm
by Anuj Dhawan
You might want to run your JCL with TYPRUN=SCAN?

Re: Can we run JEM and JSCAN in Batch?

Posted: Wed Jul 28, 2021 9:03 am
by Shruti Yadav
Thanks for TYPRUN=SCAN, that is helpful. But it's not very much equal to JEM or JSCAN.

Re: Can we run JEM and JSCAN in Batch?

Posted: Fri Jul 30, 2021 10:22 pm
by Anuj Dhawan
If you've the tool installed at your shop, try this:

Code: Select all

//JOBSCAN JOB (@),
// 'JOB/SCAN RUN',CLASS=A
//STEP01 EXEC JS6PROC,PRM=S
//SYSIN DD *
INPUT SELECTION
DSN=DSSI.PROD.CNTL
SELECT=PJGL0070
RUN OPTIONS
CATALOG ACCESS=NO
REPORT OPTIONS
STRUCTURED JCL LISTING=PRINT

Re: Can we run JEM and JSCAN in Batch?

Posted: Fri Jul 30, 2021 10:23 pm
by Anuj Dhawan
This document can further help you: https://support.asg.com/OP/JJS/8_0/PDF/ ... tation.pdf. Look for "Validating JCL in Batch".

Re: Can we run JEM and JSCAN in Batch?

Posted: Sun Aug 01, 2021 11:38 am
by Shruti Yadav
Thank you so much Anuj. This has help helped immensely.