FAQs(91 to 105)

91)How many types of libraries are there in JCL ?

A) Libraries are of three types.1.Sytem Libraries: SUCH AS SYS1.LINKLIB2.Private Libraries: SPECIFIED IN A JOBLIB OR STEPLIB DD STATEMENTS.3.Temporary Libraries: CREATED IN A PREVIOUS STEP OF THE JOB.

92)What u mean by include statement in JCL ?

A) An include statement identifies a member of a pds or pdse that contains. This set of JCL statements is called an include group. The system replaces the include statement with the statements in the include group.

93)The maximum number of in-stream procedure you can code in any JCL is ?

A) Fifteen(15).

94)What you mean by skeleton JCl?

A) Jcl which changes during run time i.e. the values for the jcl such as pgm name , dd name will change .ie same jcl can be used for various job, equivalent to dynamic sql...

95)How do you submit a JCL under CICS environment ?

A) Edit the JCL in Extra partition TDQ and submit the same using some system command (not sure) under CICS subsystem. This is what i think, please clarify....

96)What is JCL ?

A) JCL is Job Control Language and is used for Batch processing. The startup procedures of OS and standard products like CICS etc are written in JCL. It is interface between operating system(MVS) & application program. when 2 related programs are combined together on control statements is called job control language

97)What is the max blocksize for a Tape file?

A) It is 32,760.Based on that we can calculate efficient number of Records in a Block

98)What are the basic JCL Statements for a Job?

A) JOB : Identifies a job and supplies accounting info

EXEC : Identifies a job step by indicating the name of the program to be executed.

DD : Identifies a data set to be allocated for the job step

Delimiter(/*) : Marks the end of an in-stream dataset

Null(//) : Marks the end of a job

Comments(//*) : Provides Comments

PROC : Marks the beginning of a procedure

PEND : Marks the end of a procedure

OUTPUT : Supplies options for SYSOUT processing.

99)What does the statements: typrun=scan and typrun=hold do in a JCL statement

A) typrun=scan checks the JCL for errors, typrun=hold holds the job until further notice.

100)Which is the most widely used batch performance monitor for DB2?


101)What is QSAM error usually when it is occurs?

A) Usually it is occurs at the time of job submission.

102)What is the purpose of include statement in a JCL?

A) It is used as an alternative for STEPLIB. When we specify the dataset name in include ,it will search in all the datasets specified in the include dataset.

103)What does S0C4 error mean?

A) This error is faced when we execute the COBOL program. The main reason for this error is that a variable is defined with less characters and we are trying to move data which is larger than the actual storage space.

104)In which table PLAN is registered in ?


105)What is GDG?

A) GDG - group of dataset that are logically or chronologically related, referred by name and a relative generation number - an integer which identifies the generation of a dataset and is coded in parentheses after dataset name. Absolute GDG name - GxxxxVyy, where xxxx-absolute gen. number, yy-version number. Can be sequential, direct, partitioned. (VSAM - no). Must always be cataloged. Advantage - all datasets have the same name and system keeps track of adding new and retaining previous generations and deleting oldest successive generation. To create a GDG we create a GDG index in the system catalog with IDCAMS utility and then a model (prototype, DSCB) on the same volume to supply DCB information. Empty - when limit is reached all members are removed from the index, otherwise-only oldest. Scratch-removed members are uncataloged & deleted, otherwise - removed & uncataloged, but remain in the system (not members of GDG any more). GDG number is updated at the end of the job. If number is not specified all generations will be processed from the beginning