Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 33
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
References
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

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
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: 367
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

Moderator


Joined: 10 Mar 2005
Posts: 478
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

Moderator


Joined: 10 Mar 2005
Posts: 478
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1