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 |
i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0
Explain about LMCLOSE�close a data set
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
whats the diff bw the evaluate also and and?
wht r different types of sorts ?
Explain dd statement in jcl?
What is the purpose of dd dummy statement?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
What is the purpose of include statement in a JCL?
In SPACE,what is directory,RLSE