Monday, 2 February 2015

IBM JCL Interview Questions and Answers (Part5)

41. What are the differences between JES2 & JES3 ?
JES3 allocates Data Sets for all the steps before the job is scheduled. In JES2, allocation of Data Sets Required by a step are done only just before the step executes. JOB /EXEC/DD ALL PARAMETERS JOBLIB/STEPLIB PROCEDURES, PARAMETERS PASSING CONDITION VARIABLES ABEND CODES.

42. What are the kinds of job control statements?
The JOB, EXEC and DD statement

43. What is the meaning of keyword in JCL?What is its opposite?
A keyword in a JCL statement may appear in different places and is recognized by its name, eg MSGCLASS in the JOB statement The opposite is positional words, where their meaning is based on their position in the statement, eg in the DISP keyword the =(NEW,CATLG,DELETE) meaning are based on first, second and third position.

44. Describe the JOB statement, its meaning, syntax and significant keywords.?
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 .

45. Describe the EXEC statement, its meaning, syntax and keywords.?
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.

46. Describe the DD statement, its meaning, syntax and keywords.?
The DD statement links the external Data Set 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=Data Set name Other keywords after DSN are DISP, DCB, SPACE, etc .

47. What is a PROC?What is the difference between an instream and a catalogued PROC?
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 partitioned Data Set.

48. What is the difference between a symbolic and an override in executing a PROC?
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

49. What is RESTART? How is it invoked?
A RESTART is a JOB statement keyword It is used to restart the job at a specified s step rather than at the beginning

50. What is a GDG? How is it referenced?How is it defined? What is a MODELDSCB?
GDG stands for generation data group It is a Data Set with versions that can be referenced absolutely or relatively It is defined by an IDCAMS define generation datagroup execution.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5

No comments:

Post a Comment