Can we run JEM and JSCAN in Batch?

JES2/3, JCL, utilities.
Post Reply
Shruti Yadav
Registered Member
Posts: 17
Joined: Mon Oct 20, 2014 12:33 pm

Can we run JEM and JSCAN in Batch?

Post 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?
Shruti Yadav
Registered Member
Posts: 17
Joined: Mon Oct 20, 2014 12:33 pm

Re: Can we run JEM and JSCAN in Batch?

Post by Shruti Yadav »

Hi,

Could someone please guide on it?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we run JEM and JSCAN in Batch?

Post 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.
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Can we run JEM and JSCAN in Batch?

Post by Anuj Dhawan »

You might want to run your JCL with TYPRUN=SCAN?
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Shruti Yadav
Registered Member
Posts: 17
Joined: Mon Oct 20, 2014 12:33 pm

Re: Can we run JEM and JSCAN in Batch?

Post by Shruti Yadav »

Thanks for TYPRUN=SCAN, that is helpful. But it's not very much equal to JEM or JSCAN.
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Can we run JEM and JSCAN in Batch?

Post 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
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Can we run JEM and JSCAN in Batch?

Post 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".
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Shruti Yadav
Registered Member
Posts: 17
Joined: Mon Oct 20, 2014 12:33 pm

Re: Can we run JEM and JSCAN in Batch?

Post by Shruti Yadav »

Thank you so much Anuj. This has help helped immensely.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”