JCL Compiling and Execution Interview Questions and Answers
JCL Compiling and Execution Interview Questions and Answers
HOME
JCLCompilingandExecutionInterviewQuestionsandAnswers
INTERVIEW QUESTIONS
BIG DATA
Search...
DOWNLOAD
TOOLS
About Us
No Comment
Contact Us
PROJECT MANAGEMENT
Microsoft Project Manager Intervie
Answers
do with it?
Answer :The compiler outputs the source
code into the object deck in a form to be read
BIG DATA
INTERVIEW QUESTIONS
Ab Initio
AS-400
Big Data
Business Objects
Business Intelligence
C#.NET
C Interview
CICS
COBOL
DataStage
DW Concepts
DB2
HR Interview
What are some of the common linkage editor options and what do they mean?
Answer :Some of the commonly used linkage editor options are
1. LIST Lists the linkage editor control statements and is usually specified. Omit the
parameter if no linking is declared.
INDUSTRY NEWS
2. MAP Produces a storage map showing the length and relative locations of all control
sections. Default is NOMAP.
INTERVIEW TIPS
3. XREF Includes MAP plus a cross-reference table of the load module (MAP and XREF are
mutually exclusive)
4. NOCALL - Cancels the automatic library call mechanism. NOCALL is used for creating
subroutine libraries so that the load module contains a single subroutine. CALL is the
default.
5. LET Marks load modules as executable even if minor errors are found. NOLET is the
Hyperion
default.
IDMS
IMS
JCL
7. AMODE Specifies whether the program uses 24 or 31- bit addressing. AMODE ANY
Informatica
specifies both 24 and 31 bit addressing. AMODE 24 requires the program to run below the
MapReduce
16-meg line. The default is established by the compiler and is usually AMODE 24.
Mainframe
8. RMODE Indicates where the program can reside in virtual storage. RMODE ANY allows
Maximo
the program to reside above the 16-meg line and requires AMODE 31 or AMODE ANY.
Mobile Developers
RMODE 24 requires the program to reside below the 16-meg line. The default is established
.NET Interview
MVS
OBIEE Interview
PeopleSoft
Peoplesoft HRMS
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
1/6
3/27/2015
JCLCompilingandExecutionInterviewQuestionsandAnswers
Project Manager
Answer :An unresolved external reference often causes the message MODULE HAS BEEN
SAP ABAP
MARKED NOT EXECUTABLE. Although the module is not executable, one may be able to
Siebel
recover by link-editing the control section causing the problem and replacing it in the load
VSAM
module.
Why would the linkage editor add a member to a load library under the name TEMPNAME?
FRESHERS INTERVIEW
Answer :The linkage editor will add a member to the load library under the name of
TEMPNAME when a member of the same name already exist on the library and the
Computer Science
disposition on the SYSLMOD statement was coded as DISP = MOD. This indicates a problem
and need s to be resolved.
TOOLS
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
2/6
3/27/2015
JCLCompilingandExecutionInterviewQuestionsandAnswers
processing is specified.
What is the parameter MEMBER used for an utility IEBGENER?
Answer :The parameter MEMBER for the utility IEBGENR is used when the output is to be
partitioned. One member statement must be included for each member to be created by
IEBGENER. ALL RECORD statements following a MEMBER statement pertain to the number
named in that MEMBER statement.
What is the parameter RECORD used for on utility IEBGENER?
Answer :The parameter RECORD for the utility IEBGENER is used to define a record group
and to supply editing information. A record group consists of records that are to be
processed identically.
Which utility uses the REPRO command and what function does it perform?
Answer :The utility IDCAMS uses the REPRO command. The REPRO command copies
sequential datasets. It performs much the same function as IEBGENER.
How does one verify that a utility has ended normally?
Answer :To verify if a utility has ended normally, one must check the JCL for a return code
of zero. Various utilities generate return codes of 0004, 0008, 0012 and higher, in
increments of 4, when problems or unusual conditions have been encountered.
When a utility ends with a nonzero return code, what must be done to resolve the problem?
Answer :When a utility ends with a nonzero return code, it is necessary to determine what
caused the error. One may start by checking for error message generated by the utility and
look them upon on a utility messages manual. Also, the JCL statements and / or control
statements should be checked to make sure they were properly coded. Once the error has
been identified, it should be fixed and the job resubmitted.
What are the kinds of job control statements?
Answer :The JOB, EXEC and DD statement.
What is the meaning of keyword in JCL? What is its opposite?
Answer :A keyword in a JCL statement may appear in different places and is recognized by
its name, e.g. MSGCLASS in the JOB statement. The opposite is positional words, where
their meaning is based on their position in the statement, e.g. in the DISP keyword the =
(NEW, CATLG, DELETE) meanings are based on first, second and third position.
Describe the JOB statement, its meaning, syntax and significant keywords.
Answer :The JOB statement is the first in a JCL stream. Its format is // jobname, keyword
JOB, accounting information in brackets and keywords, MSGCLASS, MSGLEVEL, NOTIFIY,
CLASS, etc.
Describe the EXEC statement, its meaning, syntax and keywords.
Answer :The EXEC statement identifies the program to be executed via a PGM=program
name keyword. Its format is //jobname EXEC PGM=program name. The PARM= keyword can
be used to pass external values to the executing program.
Describe the DD statement, its meaning, syntax and keywords.
Answer :The DD statement links the external dataset name (DSN) to the DDNAME coded
within the executing program. It links the file names within the program code to the file
names know to the MVS operating system.
The syntax is // DDname DD DSN=dataset name. Other keywords after DSN are DISP, DCB,
SPACE, etc.
What is a PROC? What is the difference between an instream and a catalogued PROC?
Answer :PROC stands for procedure. It is 'canned' JCL invoked by a PROC statement. An
instream PROC is presented within the JCL; a catalogued PROC is referenced from a proclib
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
3/6
3/27/2015
JCLCompilingandExecutionInterviewQuestionsandAnswers
partitioned dataset.
What is the difference between a symbolic and an override in executing a PROC?
Answer :A symbolic is a PROC placeholder; the value for the symbolic is supplied when the
PROC is invoked, eg. &symbol=value. An override replaces the PROC's statement with
another one; it substitutes for the entire statement.
What is RESTART? How is it invoked?
Answer :RESTART is a JOB statement keyword. It is used to restart the job at a specified
step rather than at the beginning.
What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?
Answer :GDG stands for generation data group. It is a dataset with versions that can be
referenced absolutely or relatively. It is defined by an IDCAMS define generation datagroup
execution.
Explain concatenating datasets.
Answer :Datasets can be grouped in a DD statement one after another, eg. in a JOBLIB
statement where the load module can exist in one of many datasets.
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer :DISP=OLD denotes exclusive control of the dataset; DISP=SHR means there is no
exclusivity.
What is MOD and when would you use it?
Answer :DISP=MOD is used when the dataset can be extended, ie, you can add records at
the end of an existing dataset.
What are the keywords associated with DCB? How can you specify DCB information? What
is the OS precedence for obtaining that DCB information, ie. where does the system look for
it first?
Answer :The keywords associated with the DCB parameter are LRECL, RECFM, BLKSIZE and
DSORG.
The DCB information can be supplied in the DD statement. The sysem looks for DCB
information in the program code first.
How do you designate a comment in JCL?
Answer :The comment statement is //* followed by the comments.
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
Answer :COND specifies the conditions for executing the subsequent job step. The value
after the COND= is compared to the return codes of the preceding steps and if the
comparison is true, the step is bypassed.
What is the improvement to COND= in the latest version of MVS?
Answer :MVS now allows for an IF bracketed by an END IF around any job step to replace
the COND= syntax. Again, if the IF statement is true, the step is bypassed.
What is the purpose of the PARM keyword in the EXEC statement?
Answer :The value after the PARM= specifies control information to be passed to the
executing program of the job step.
What is the purpose and meaning of the REGION keyword and what JCL statement is it
associated with?
Answer :REGION specifies the maximum CPU memory allocated for a particular job or job
step. If REGION is in the JOB card, it relates to the entire job; if in the EXEC statement, it
relates to the job step.
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
4/6
3/27/2015
JCLCompilingandExecutionInterviewQuestionsandAnswers
What is the purpose and meaning of the TIME keyword and what JCL statement is it
associated with?
Answer :TIME specifies the maximum CPU time allocated for a particular job or job step. If
TIME is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the
job step.
What is the meaning of data definition name (ddname) and dataset name (dsname) in the
DD statement?
Answer :Data definition name is the eight character designation after the // of the DD
statement. It matches the internal name specified in the steps executing program. In
COBOL that's the name specified after the ASSIGN in the SELECT ASSIGN statement.
Dataset name is the operating system (MVS) name for the file.
How is the keyword DUMMY used in JCL?
Answer :For an output file DUMMY specifies that the output is to be discarded. For input it
specifies that the file is empty.
What does the keyword DCB mean and what are some of the keywords associated with it?
Answer :DCB stands for data control block; it is a keyword for the DD statement used to
describe datasets. Keywords associated with it are BLKSIZE, DEN, LRECL and RECFM.
What is the difference between BLKSIZE and LRECL?
Answer :BLKSIZE specifies the number of bytes.
RELATED POSTS
Posted Under
JCL-Interview-Questions
NO COMMENTS :
Enteryourcomment...
Commentas:
Publish
GoogleAccount
Preview
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
5/6
3/27/2015
JCLCompilingandExecutionInterviewQuestionsandAnswers
Aired | The content is copyrighted and may not be reproduced on other websites. | Copyright 2009-2015 | All Rights Reserved 2015
Contact Us | About Us | Privacy Policy and Disclaimer
http://www.aired.in/2009/09/jclcompilingandexecutioninterview.html
6/6