View previous topic :: View next topic
|
Author |
Message |
sreenivasg
New User
Joined: 13 Jul 2006 Posts: 2 Location: hyderabad
|
|
|
|
hi,
this is sreenivas,
i am getting the problem of jcl syntax errors
how can we find them
is there any method to find them, pls answer my problem |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
Scroll to the bottom of the job. Look for error messages. They usually tell what the error is and which numeric JCL is being affected.
Code: |
12.35.47 JOB24032 ---- THURSDAY, 13 JUL 2006 ----
12.35.47 JOB24032 IRR010I USERID XX1234 IS ASSIGNED TO THIS JOB.
12.35.47 JOB24032 IEFC452I XX1234E - JOB NOT RUN - JCL ERROR 214
------ JES2 JOB STATISTICS ------
19 CARDS READ
30 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
1 SYSOUT SPOOL KBYTES
0.00 MINUTES EXECUTION TIME
1 //XX1234 JOB (4275,3096),'99 ANALYST',CLASS=I,MSGCLASS=R,
// NOTIFY=XX1234
2 //DELUSER EXEC PGM=IKJEFT01
3 //SYSTSPRT DD SYSOUT=*,DCB=BLKSIZE=133,
4 //SYSTSIN DD *,DLM=AA
/*
STMT NO. MESSAGE
3 IEFC621I EXPECTED CONTINUATION NOT RECEIVED
|
The error is 3 IEFC621I EXPECTED CONTINUATION NOT RECEIVED
It affects JCL card # 3.
3 //SYSTSPRT DD SYSOUT=*,DCB=BLKSIZE=133,
The problem is there is an extra comma on the end of the statement. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Hi,
May be this can help you a bit. Whenever you have a JCL before submitting try to give JEM. Tbis will figure out the maximum return code for your JCL.
It will also show you the places where you will face the errors.
U can also check the SYSMSG, give f not in the command line and you will find the step which is not executed, and the possible reason for not executing the step.
Regards,
Diwakar.
Nobody is perfect. I am Nobody |
|
Back to top |
|
|
azshukla
New User
Joined: 31 May 2006 Posts: 9 Location: Pune
|
|
|
|
Try giving !JCK on the command line... |
|
Back to top |
|
|
stly Warnings : 1 New User
Joined: 25 Jul 2005 Posts: 93
|
|
|
|
method-1: give JEM in the command line of the JCL
method2-subit the jcl n look for the errors in the SDSF(JESYSMSG)
correct me if i m wrong |
|
Back to top |
|
|
raak
Active User
Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
hi there,
u can also give a JSCAN on the command line. then scroll to the bottom of the job to see the errors listed out... |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
hi,
I tried !JCK and !JSCAN. But i could not excute the commands.
Please do elaborate the place where these commands need to be executed.
Diwakar.
Nobody is Perfect. I am Nobody. |
|
Back to top |
|
|
vijayakumar.yellala
New User
Joined: 19 Apr 2006 Posts: 63 Location: Chennai
|
|
|
|
Hello,
Edit the Jcl and give the !jck command at Command promt
for JSCAN, it has to write in JCL, in the job card TYPRUN=JSCAN has to specify......
Regards,
Vijay |
|
Back to top |
|
|
azshukla
New User
Joined: 31 May 2006 Posts: 9 Location: Pune
|
|
|
|
!jck will work only in the edit window.. and only checks for the syntex errors.. or you can look for them in the spool also... if you can't use it might be your JES doesn't support it. try giving JEM then |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
All of these mentioned are 3rd party products (not offered by IBM). Try contacting your system people and ask if your shop uses any JCL check 3rd party product.
If not go w/the HAWG's suggestion. |
|
Back to top |
|
|
Srilaxmi.Challa
New User
Joined: 19 Oct 2006 Posts: 6
|
|
|
|
I think u can use PREP at the command line
pls correct me if im wrong. |
|
Back to top |
|
|
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
One more way to JCL check, is via CA7
|
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
i think best way is submit the job and check the jesmsg....as told by cpuhawg, as PREP, JEM and JCk are vendor specific... |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
In the jobcard; TYPRUN=SCAN and submit |
|
Back to top |
|
|
|