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
 

 

How to just scan a JCL for any sytanx errors.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 32
Location: Chennai

PostPosted: Wed May 18, 2005 12:20 pm    Post subject: How to just scan a JCL for any sytanx errors.
Reply with quote

Hi,

Can anybody help me out in this. I had this in an interview.

How to scan a JCL for syntax errors & without submitting the JOB and without using TYPRUN=SCAN.

Thanks in advance.

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

aishwarya_singh

New User


Joined: 06 Apr 2005
Posts: 21

PostPosted: Wed May 18, 2005 12:24 pm    Post subject: Re: How to just scan a JCL for any sytanx errors.
Reply with quote

Hi Ajay,

You can type JSCN or JEM command on the command line after typing the jcl in the member.It will show you all the syntax errors.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed May 18, 2005 12:29 pm    Post subject: Re: How to just scan a JCL for any sytanx errors.
Reply with quote

http://www.ibmmainframes.com/viewtopic.php?t=1728&highlight=scan+jcl+error

Regards,

Priyesh.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Wed May 18, 2005 12:34 pm    Post subject: Re: How to just scan a JCL for any sytanx errors.
Reply with quote

Hi,
Use JCLPREP. Open the JCL in the PDS and write prep in the command line and press enter. It will show you all the syntax error.
Back to top
View user's profile Send private message
mfsuresh

New User


Joined: 03 Nov 2004
Posts: 5

PostPosted: Wed May 18, 2005 4:11 pm    Post subject: syntax errors
Reply with quote

hi ajay ,
u can also use typerun=scan in job.
same time u can use also line commands like, jem,prep,!jck(depends on ur setup)
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed May 18, 2005 4:43 pm    Post subject:
Reply with quote

If you have not JEM, JSCAN etc. Submit the job within the jobcard: //jobname job .....,TYPRUN=SCAN
and look the sysout in SDSF.
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Wed May 18, 2005 7:43 pm    Post subject:
Reply with quote

hi ajay,
In TSO go for option 26: Jobscan, next option 1 - Validate JCL. then provide Path of JCL and PROC for scan and type F in the command prompt to start scanning the JCL for errors.

_________
GM
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed May 18, 2005 7:58 pm    Post subject:
Reply with quote

I think that option 26 is customized...
i.e. In my environment it does not exist.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS TS 5.3 migr after DFHCSDUP UPGRA... Kyle Carroll CICS 6 Wed Aug 31, 2016 10:58 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Scan for Calls to DB2 kctechpro2 IBM Tools 10 Fri Sep 04, 2015 11:31 pm
No new posts Using Wildcard for PDS names with PDS... PokerGuru CA Products 1 Fri May 22, 2015 2:30 pm
No new posts table scan can cause deadlock over RID? dejunzhu DB2 10 Fri Jul 04, 2014 8:36 am


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