JCL (job control language) is a language for describing jobs (units of work) to the MVS, OS/390, and VSE operating systems, which run on IBM's S/390 large server (mainframe) computers. These operating systems allocate their time and space resources among the total number of jobs that have been started in the computer. Jobs in turn break down into job steps. All the statements required to run a particular program constitute a job step. Jobs are background (sometimes called batch) units of work that run without requiring user interaction (for example, print jobs). In addition, the operating system manages interactive (foreground) user requests that initiate units of work. In general, foreground work is given priority over background work.
JCL Interviews are getting tough these days as the technology grows faster. To get through the JCL interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed JCL questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on JCL and various other technologies interview preparation.
1. A DD statement consists of 4 fields. Name them :-
Name, DD, parameter, comments
2. A DD statement has 2 types of parameters. Name them ?
Positional, Keyword
3. How can a job send a status message to a TSO user at the completion of a job ?
NOTIFY
4. How can the disposition of sysout datasets be set for an entire jobstream ?
SYSOUT parameter
5. How can unused space allocation be returned to the system when a dataset is closed ?
RLSE
6. How is the record format of an output dataset specified?
RECFM parameter
7. Many JCL statements contain specific values designed to direct & control the execution of the statement. What are these fields called ?
Parameters
8. What DD statement is used to supply the name of a dataset ?
Dsname
9. What is the format of comment statement ?
//*
10. What is the function of a DD statement ?
Identifies & describes a dataset