JCL syntax check

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
sonakasi
Member
Posts: 20
Joined: Wed Nov 09, 2011 9:09 am
Location: India

JCL syntax check

Post by sonakasi » Wed Dec 28, 2011 5:06 pm

Hi All,

Interview question in Attra, How do you check the syntax of JCL without submitting the job.

Ans : TYPERUN = SCAN

Please clarify.
SONA KASI

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Dec 28, 2011 9:49 pm

What is there to clarify?

Place

Code: Select all

//         TYPRUN=SCAN, 
in the JOB statement and look at the informational messages generated.

Note the misspelling in the original post. . .
Have a good one

sonakasi
Member
Posts: 20
Joined: Wed Nov 09, 2011 9:09 am
Location: India

Post by sonakasi » Thu Dec 29, 2011 1:12 pm

Thank you very much...but is there some command called 'JSCAN' to perform the same ???
I have answer to the interviewer as 'TYPRUN=SCAN'
SONA KASI

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Dec 29, 2011 3:30 pm

the typrun=scan only works when a job is submitted.
otherwise, you need a third party product, like jscan,
to perform JCL syntax checking without SUBMITting the job.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

sonakasi
Member
Posts: 20
Joined: Wed Nov 09, 2011 9:09 am
Location: India

Post by sonakasi » Thu Dec 29, 2011 4:10 pm

Thank you very much :D
SONA KASI

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others