IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Check the syntax errors in JCL with out coding TYPRUN=SCAN


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Thu Dec 02, 2004 2:06 pm
Reply with quote

Hi

How to check the syntax errors in JCL with out having TYPRUN=SCAN in JCL. Kindly let me know the alternate way.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Thu Dec 02, 2004 2:35 pm
Reply with quote

Hi Rick,

There is a tool called JCL PREP. Check if your shop has it. Once this is installed,before submitting any JCL if you give PREP on the command line it will show all the existing errors. If there are no errors you will get JCLPREP CC 0.Then you can submit.
Back to top
View user's profile Send private message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Thu Dec 02, 2004 7:41 pm
Reply with quote

Thanks for your info.
Back to top
View user's profile Send private message
The_Connoisseur

New User


Joined: 15 Nov 2004
Posts: 3
Location: india,delhi

PostPosted: Thu Dec 09, 2004 11:10 am
Reply with quote

there is a faclity called jem, it depends if yu have that.just type jem on the comand prompt after opening the member where your job is.
let me know the results
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Thu Dec 09, 2004 2:00 pm
Reply with quote

Hope JEM is also kind of tool like JCPREP.
Back to top
View user's profile Send private message
Aditya Bhardwaj
Warnings : 1

New User


Joined: 02 Nov 2004
Posts: 18
Location: Noida, India

PostPosted: Thu Dec 09, 2004 4:46 pm
Reply with quote

yeah it is much similar, what it does, is when u type jem in the command prompt before submitting the same, it will check for all the syntax with the available resources/ existing files, and give away the related result. This saves much of the time n money, in case u have this installed.
Back to top
View user's profile Send private message
vinaykommera

New User


Joined: 15 Feb 2005
Posts: 1
Location: hyderabad

PostPosted: Thu Mar 17, 2005 6:02 pm
Reply with quote

you can check for JCL Syntax Errors by writing EJCK NOLIST or !JCK on the command line.It displays the error.

Vinay
98496 12280
Back to top
View user's profile Send private message
Arun Joseph

New User


Joined: 30 Mar 2005
Posts: 13
Location: India

PostPosted: Fri Apr 01, 2005 1:51 pm
Reply with quote

Hi,
Try giving !JCK in the command line after opening the JCL. JCK stands for JCL Check..
It will expand the parameters. And show the errors.. and return code also..
Back to top
View user's profile Send private message
sarma Kappagantu

New User


Joined: 17 Mar 2005
Posts: 22
Location: Bangalore

PostPosted: Wed Apr 20, 2005 6:38 pm
Reply with quote

This seems to be a tool from CA. Some clients may not have this tool. There is a tool that came in IBM Developerwroks recently. This is written in REXX. Validate your JCL with valJCL: www-106.ibm.com/developerworks/eserver/articles/valjcl.html

Regards,
Sarma.
Back to top
View user's profile Send private message
ykishore

New User


Joined: 12 Aug 2005
Posts: 53
Location: USA

PostPosted: Thu Aug 18, 2005 3:49 pm
Reply with quote

HI

There is a Utility called JSCAN...which does the same.but just confirm whether u have it or not?? type JSCAN on commad and u will get all the errors that ur JCL has..
Back to top
View user's profile Send private message
surendar

New User


Joined: 07 Mar 2005
Posts: 4

PostPosted: Wed Sep 21, 2005 11:47 am
Reply with quote

if u give JEM on the command line,u will get the jcl errors
or u can use "JSCAN" if it is installed ,this is a utility,but it expands all the catalouged precedures as well as assigns proper values in place of overriding parameters and symbolic parameters .
But IN JEM CATALOUGED procedures are not expanded.
let me know if u have any queries
Back to top
View user's profile Send private message
R.UDAYAKUMARAN

New User


Joined: 20 Sep 2005
Posts: 1
Location: MYSORE

PostPosted: Wed Sep 21, 2005 12:20 pm
Reply with quote

hai,

u r use the tso/ispf command JSCAN in the command promt of the jcl.

udayakumaran.r
Back to top
View user's profile Send private message
p.m.s.Reddy
Warnings : 1

New User


Joined: 20 Sep 2005
Posts: 11
Location: chennai

PostPosted: Wed Sep 21, 2005 12:40 pm
Reply with quote

Hi,

In our shop we will use simply jj at command line and press enter at bottom line it will show the errors.Thats it.I tried with jscan it is also working fine.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Thu Jul 05, 2007 9:51 am
Reply with quote

Hi All,
I was also in similar dilemma of checking the JCL sysntax.

I have fiollowing things with me after the search in diff websites.
Here are couple of options to check the syntax. All are installation Dependent. And the !jck is used frequntly I guess.

1. JEM
2. !jj
3. Prep
4. ejck
5. !jck
Back to top
View user's profile Send private message
Rajesh Melwani

New User


Joined: 10 Jan 2007
Posts: 3
Location: Mumbai

PostPosted: Thu Jul 05, 2007 11:30 am
Reply with quote

Hi,

One of the options like Jem, JJ, JSCAN, JCLCK etc is available with every shop. So its better to check with team members to find out which option, your shop is currently using.

Generally Jem is common name given to macro for checking JCL syntax.

Hope it helps. !!!!

:-)
Rajesh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
Search our Forums:

Back to Top