hi iam learning mainframes,can anybody tell me how to check
JCL errors.(after submiting the JCL we have check in spool
or is there any other method)
Answers were Sorted based on User's Feedback
Answer / sukku
TO check JCL errors generally we go with spool only..That
is th eonly way and there is no other way...
But if want to check ur JCl's syntax errors ,you can do
with TYPE RUN=SCAN parameter..If u use this ,the job
doesnot sumbits to the operating sytem and more over it
gives the error messages...
Ideally speaking it is the best practice to check JcL erros
before sumitting the job...
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / jignesh patel
there is one short command exist to check the JCL error
without submitting the job. Just type '!JCK' or 'JJ' to
check the JCL error. it would inform you about syntax or
logical error.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / sri
ya u can check the syntax error by giving JJ in the commond
line. the error step will be highlighted. u can go to 1 st
error by giving JJFE1. for 2 nd error JJFE2....
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / jay
IF YOU WANT TO CHECK JCL ERROR BEFORE SUBMITTING THE JOB
U CAN GIVE JSCAN OR
IN THE JOB CARD
YOU HAVE TO PROVIED TYPRUN=SCAN
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / kalaiarasan
we can check errors only in spool otherwise use tools like
JSCAN,JJDIRECT,JEM,EJCK .but these all working based on your
installation
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / hari
Please use TYPE RUN=SCAN or HOLD
SCAN - It checks for the JCL error
HOLD it checks for JCL error and waits till the user
interacts to it.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / suma
you can give NOTIFY parameter. it will notifying the status
to the user about the status of the job. once you got the
message, check in the SPOOL about the status of the job.
Otherwise you can check in SAR.
Thanks,
SS
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / harish
u can go sool.and u will check jcl errors.without
submitting job.u can check jcl errors using with jscan/jem
| Is This Answer Correct ? | 1 Yes | 3 No |
In job processing, what happens in execution stage?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?
How to view the hexa decimal value thru file aid if copy book is not present for that particular data
Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?
What is default if we don't specify RD parameter at all ?
What is one line to pass PARM from JCL to COBOL?
What are steplib and joblib?
a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully
I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )
how can we override data definitions in jcl. can any one give detailed example
Explain about LMPUT-
How can a jobs execution priority be modified?