Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Where to find the JCL Syntax errors

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
sreenivasg

New User


Joined: 13 Jul 2006
Posts: 2
Location: hyderabad

PostPosted: Thu Jul 13, 2006 10:00 pm    Post subject: Where to find the JCL Syntax errors
Reply with quote

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
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Jul 13, 2006 10:15 pm    Post subject: Re: jcl syntax errors
Reply with quote

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
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Sun Jul 16, 2006 2:37 pm    Post subject:
Reply with quote

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
View user's profile Send private message
azshukla

New User


Joined: 31 May 2006
Posts: 9
Location: Pune

PostPosted: Thu Aug 10, 2006 1:54 pm    Post subject:
Reply with quote

Try giving !JCK on the command line...
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Tue Aug 22, 2006 3:30 pm    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

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
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Tue Sep 19, 2006 3:04 pm    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

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
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Sep 21, 2006 10:49 am    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

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
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Thu Sep 21, 2006 11:32 am    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

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
View user's profile Send private message
azshukla

New User


Joined: 31 May 2006
Posts: 9
Location: Pune

PostPosted: Thu Sep 21, 2006 4:05 pm    Post subject:
Reply with quote

!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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Sep 24, 2006 10:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Srilaxmi.Challa

New User


Joined: 19 Oct 2006
Posts: 6

PostPosted: Thu Oct 19, 2006 10:42 pm    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

I think u can use PREP at the command line


pls correct me if im wrong.
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Fri Oct 20, 2006 12:32 am    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

One more way to JCL check, is via CA7

Code:

LJCK,JOB=JOBNAME

Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Oct 23, 2006 10:43 am    Post subject:
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 23, 2006 2:56 pm    Post subject: Re: Where to find the JCL Syntax errors
Reply with quote

In the jobcard; TYPRUN=SCAN and submit
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us