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

How to just scan a JCL for any sytanx errors.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Wed May 18, 2005 12:29 pm
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts How to resolve SYNCH15! & SYNCH16... Compuware & Other Tools 0
No new posts Z/OSMF workflows open errors IBM Tools 3
No new posts Pipeline scan problem CICS 1
Search our Forums:

Back to Top