Allmf
Allmf
JCL stands for Job Control Language. It is a set of control statements which provides
the specifications necessary to process a job. It is a interface between programs & MVS
operating system.
2) procedure
The JCL Procedures are set of statements inside a JCL grouped together to perform a
particular function
Reusability is the form of procedure. Any jcl code in dataset reuse the same jcl
3) control intervel,
Area where records srored.one control will have a multiple records and control
information.
More than one record where logical records stored control intervel
control area-
4) alternative index
An alternate index is a file that allows access to a VSAM dataset by a key other than
5) msgclass ,
MSGCLASS is used to specify the format of the output. This means that
MSGCLASS defines the output device to which the system messages and JCL related
msg level
MSGLEVEL to inform the JCL about the messages that we need to print and to
,class
JCL CLASS Parameter is a Keyword Parameter and CLASS Parameter defines an input
CLASS in of a schedule JOB. It is used to tell the operating system about the nature of
the job which we are submitting.
6) access mode
Sequential Access
Random Access
Dynamic Access
7) organization in cobol
8) steplib
executed within a Job Step. The STEPLIB statement is specified after the EXEC statement
Joblib
executed in a JCL. The JOBLIB statement is specified after the JOB statement and before
the EXEC statement. This can be used only for the in stream procedures and programs
JOBLIB tells z/OS to search the private libraries for each step in the job. STEPLIB
tells z/OS to search the private libraries only for one step.
include
Use the INCLUDE statement to: Identify the name of the member of a partitioned data
set (PDS) or partitioned data set extended (PDSE) that contains a set of JCL statements
Extend mode is used to append records in a sequential file. In this mode, records are
inserted at the end. If file access mode is Random or Dynamic, then extend mode cannot
be used
Open
Read
Write
Rewrite
Delete
Start
Close
Statements-
Imperative statement
Conditional statement
3)positional parameter
Parameters help the JES to decide about the priority of the Job, the class to which,
the job will belong, maximum CPU time that can be allocated to the job, accounting
information of the jobs and much more. The Parameters defined in the 'JOB card' are
4)disposition(normal&abnormal disposition)
(without any ABEND), then we have to code that what needs to be done with
dataset. The allowed values are – KEEP, DELETE, CATLG, and UNCATLG
INREC: Specifies how records are reformatted before they are sorted, copied, or
OUTREC: Specifies how records are reformatted after they are sorted, copied, or
The status code was 35. An OPEN statement with the INPUT, I-O, or EXTEND
phrase was attempted on a nonoptional file that was unavailable. This usually means
the DD name you specified in your COBOL program does not match the DD name specified
in the JCL.
8)what is vsam?
9)index component
Index Component contains the index part. Index records are present in Index
component. Using index component VSAM is able to retrieve records from the
data component.
Data Component contains the data part. Actual data records are present in
Data component.
The parameters DSNAME and DATAC can be coded with different values while
calling the procedure and these are called as symbolic parameters. The varying input to
the JCL such as file names, datacards, PARM values, etc., are passed as symbolic
parameters to procedures.
Return Code gives you the status of executed step while Abend Code gives you the reason for
JES is the component of the operating system that provides supplementary job
JCL TYPRUN=SCAN
This is used to scan the JCL for any syntax error without actually allocating any resources
JCL TYPRUN=HOLD
JCL is the command language of the Mainframe. It identifies the program to be executed,
the inputs that are required and location of the input/output and informs the Operating
System through Job control statements. In short, you use JCL to execute your COBOL
program
Type of procedures
Instream Procedure
When the procedure is coded within the same JCL member, it is called an Instream
Procedure. It should start with a PROC statement and end with a PEND statement.it issues
n number of job
Catalog procedure.
Procedure included from another place called as catalog procedure. A procedure that
Type of statementsInclude
Proc
Pend
Exec
Jcllib
Dd
jcllib
What is notify-
used to inform a TSO user when this job terminates either normally or
abnormally.
Dynamic access supports both sequential and random access in the same program. With
dynamic access, one file definition is used to perform both sequential and random
processing like accessing some records in sequential order and other records by their keys.
1. What is JCL?
MEMBERS
DATA FILES
parameter in JCL.?
STATEMENT.
statement?
CATALOGED PROCEDURE.
mean?
LEVEL TOO.
SYNTAX – CLASS=JOB-CLASS
ARE 2 PROCEDURES
//PROC-NAME PROC
//STATEMENT
//PEND
STATEMENT DEFINED.
18. If you have seven jobs to do, but you want to hold one at the
19. Explain how you will check the syntax of JCL without running it.
TYPERUN=SCAN OR JSCAN
20. What do you mean by abends in JCL? Write different JCL abend
codes.
statement?
23. What is the use of symbol // in JCL? (/*- END OF THE STREAM
DATA)
27. A JCL has 4 steps and job abends in step2. How to restart the job
from step2?
GDG
CHRONOLOGICAL ORDER
IDCAMS UTILITY
3. A GDG was created with EMPTY option with the limit of 5. If the
EMPTY/NOEMPTY
SCRATCH/NOSCRATCH
VSAM
3. What is AIX?
ITS COMPONENTS.
4. What is Control Area?
INTERVALS.
STORAGE
6. What is Offset?
KEY GIVES INFO ABOUT THE PRIME KEY FIELD OF A KEYSEQUENCED DATA SET’S DATA RECORDS
STEP 3- SAVE AND SUBMIT THE JCL TO LOAD DATA INTO THE
VSAM FILE
IDCAMS(not exactly)
COBOL
IDENTIFICATION DIVISION
ENVIRONMENT DIVISION
DATA DIVISION
PROCEDURE DIVISION
3. What is COBOL?
CODING SECTION
NUMERIC OR NOT.
+ AND -
PARAGRAPH?
PARAGRAPH TO BE PERFORMED.
DECIMAL POINT.
ITEMS
ENVIRONMENT DIVISION.
SEQUENTIAL ACCESS
RANDOM ACCESS
DYNAMIC ACCESS
18 READ Read part record error: EOF before EOR or file open in wrong mode (Micro
Focus only).
19 REWRITE Rewrite error: open mode or access mode wrong (Micro Focus only).
MESSAGES
DB2
1. What is a Database?
TO MANAGE IT.
2. What is DB2?
EFFECIENTLY.
LANG)
LANG)
6. Explain some tasks that come under DCL. (DATA CONTROL LANG)
CONTROL LANGUAGE)
LAST COMMIT
LENGTH
136
coded?
AREA B
19. Write the query to delete all the rows from a table.
3 BYTES
4 BYTES
MODULE.
24.When you will face SQLCODE -922?
database?
REVOKE STATEMENT
ONE
255 BYTES
//CUSTIN DD DSN=CUST.FL.EXT.IN01,DISP=SHR
//CUSTOUT DD DSN=CUST.FL.EXT.RPT01,UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=40,BLKSIZE=0)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=A
//
coding should be between 1-72. if your code exceeds, then continue in next line. type cols in
command line and press enter to check the number of columns.
job statement:
//
name (job name) : can be upto 8 bytes/characters. it should always start with alphabet.
numbers/special character($,#,@) can be at the end.
operation: JOB
operands/parameters:
Accounting information: Accpunt ID to which resource usage charges are charged. (accounting
information), (*)--> charge will be applied to user's mainframe ID.
MSGCLASS: A-->Z, 0-->9. --> every msg class is mapped to a device where job messages are routed.
PRTY: 0-15, 15: highest priority. Decides the priority for a particular class of job.
MSGLEVEL (x,y) : X: 0-->2, Y: 1/2 --> MSGLEVEL (1,1): is most preferred or used. specifies what
information to be displayed in the job logs.
TIME: decides till what time you job will run. time=Value (minutes), TIME=1440/MAX/NOLIMIT-->
Your job will conitune to run without any time limit untill it completes execution by it's own.
if value of the time parameter is exceeded while the job is running/executing, then job
fails/abends with s322 error.
NOTIFY:
NOTIFY=&SYSUID --> display the execution message on screen of the RACFID(mainframeID) who
submitted the job. This is more preferred.
REGION=OM: preferred and most comonly used. MAinframe OS allocated the available
memory/virtual storage space to the job.
TYPRUN: (very rarely used): used to check syntax error before executing job.
EXEC statement: execute program (user written cobol/cobol-db2 or IBM utility program) or
catalogued procedure.
//
name : name of your choice, should not be more than 8 characters. Must begin with alphabet. name
should be unique in a jcl.
//STEP01 EXEC CUSTR001 * in some version of MF, PGM= / PROC= can be skipped.
PARM = <values you want to pass to your program>. --> this is used when you want to pass some
value from your JCL to your program.
REGION = <value> / OM
TIME = <value>
operators: =, !=, >, < (equal to, not equal to/NE, GT, LT)
COND (<Return code> <operator> <Stepname>) --> this is used to execute or skip a particular step of
a job.
if the condition mentioned under COND is true then that particular Step
will not execute.
COND=ONLY --> the step will execute only if the previous step fails.
COND=EVEN --> step will execute irrespective of the previous step failed or not
//CUSTIN DD DSN=CUST.FL.EXT.IN01,DISP=SHR
//CUSTOUT DD DSN=CUST.FL.EXT.RPT01,UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=40,BLKSIZE=0)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=A
//*
//STEP02 EXEC PGM=CUSTR002, COND (04 = STEP01) --> STEP 02 will not execute if
the RC of STEP 01 is 04.
//CUSTIN DD DSN=CUST.FL.EXT.IN01,DISP=SHR
//CUSTOUT DD DSN=CUST.FL.EXT.RPT01,UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=40,BLKSIZE=0)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=A
//*
//STEP03 EXEC PGM=CUSTR003 , cond= only --> STEP03 will run only if STEP 02
failed (RC=>008)
//CUSTIN DD DSN=CUST.FL.EXT.IN01,DISP=SHR
//CUSTOUT DD DSN=CUST.FL.EXT.RPT01,UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=40,BLKSIZE=0)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=A
//
DD statement: Is where you will pass the actual/physical files in the JCL which will be used by
programs.
In the cobol program, you will use the logical file name / DD name.
//
DD name (logical file name). This DD name should be passed to the cobol program.
DD
DSN= --> DataSet name. Here you will pass your physical/actual dataset/file.
Physical dataset name.--> length of dataset shoulnot be more that 44 characters. and one word
should not be more than 8 characters.
based on usage of the dataset: we classified the dataset as Input dataset and output dataset.
Parameters.
DISP = (<current status>, <status at successfull execution of step>, <Status at abend of step>)
IF Dataset is output dataset, DISP = (<current status>, <status at successfull execution of step>,
<Status at abend of step>)
OLD --> dataset is present in the system but you job can use it only with excluseive access. (not
preferred to use) --> I/P dataset
NEW --> dataset is not present in mainframe and your jcl will have to create a new dataset. --> O/P
dataset
MOD --> MF will check if the dataset is present. if Dataset is not present, then job will create a new
dataset.
and if the dataset is present, then you job will modify the existing dataset.--> O/P dataset
//CUSTOUT DD DSN=CUST.FL.EXT.RPT01,
// DISP=(NEW,CATLG,DELETE),
CATLG (catalog) --> retain the dataset which is created and add an entry in the catalog.
UNCATLG (uncatalog) --> delete the dataset and remove the entry from catalog.
DELETE --> Delete the datset, but the catalog entry remains.
PASS --> this is used for a specific type of dataset which is 'temporary dataset' Dataset is
passed between subsequent steps in the jcl.
KEEP --> very rarely used. Retain the dataset and keep on volume.
CATLG (catalog) --> retain the dataset which is created and add an entry in the catalog.
UNCATLG (uncatalog) --> delete the dataset and remove the entry from catalog.
DELETE --> Delete the datset, but the catalog entry remains.
KEEP --> very rarely used. Retain the dataset and keep on volume.
UNIT= TAPE / number (tape device number) --> Dataset will be writtn on tape.
3. SPACE --> allocate space to your dataset.
SPACE=(CYL,(5,2),RLSE),
CYL/TRK/BLKSIZE -> Space allocated to you dataset in terms of CYlinder, TRacks, Blocksize (for
partionend dataset)
(primary,Secondary,Dir) --> primary space allocated, Secondary space allocated, DIR--> for number of
members in the directory of partitioned dataset.
RLSE: Releases the extra space which is allocated to dataset but not used by the dataset.
SPACE = (CYL, 1) --> only primary space is allocated. if the space allocated is not sufficient, jcl/job will
abend with SD37.
SPACE = (CYL, (2,1)) --> if primary space is finished, datase will use secindary space. if secondary
space is also finished, then job will fail with SE37.
(RECFM=FB,LRECL=40,BLKSIZE=0,DSORG=PS)
DSORG: the type of dataset. PS: Sequential dataset (Physical Sequential), PO: Partitioned Dataset
(PS), DA:DIrect access. (no longer used)
BUFFNO: used to allocate buffer space. used to improve the performance of a Seq dataset. BUFFNO =
<number upto 255>
VOLUME: Serial number (numeric/alphanumneric) of a device where your dataset is stored. VOL=
<Serial number>
CUST.FL.EXT.RPT01
1234567890123456789012345678901234567890
mounika 22 15/05/90 19 40 19
SPECIFIC DD names:
SYSPRINT & SYSOUT: --> used to display any message that you pass from your cobol program to JCL
using DISPLAY keyword.
//SYSOUT DD SYSOUT=*
STEPLIB: used when your JCL executes a cobol program. The dataset which is passed in STepblib is
called load library.
JOBLIB: the use of steplib and job lib is same. STEPLIB is preferred over joblib.
STEPLIB: Specific to a STep. MAinframe searches for the load module of the program for a particular
step only. Written after each EXEC statement.
JOBLIB: For the entire JOB. Mainframe searches for the load module of all the programs in the job.
Written after JOB card/statement.
SYSIN : When SYSIN DD name is coded in a JCL, then that JCL is called as INSTREAM JCL. Instream is as
that jcl where you pass instructions/values inside the JCL only. more commonly used to execute IBM
utility programs.
e.g SYSIN DD *
dd statments ==>
dsn,disp,dcb,space,unit
job,exec,dd,jcllib,pend,proc,if,else,then,cntrl.encntrl,null
keyword parameter=>class,msgclass,msglevel,notify,typerun,restart,cond,even
JOBLIB tells z/OS to search the private libraries for each step in the job.
STEPLIB tells z/OS to search the private libraries only for one step
msgclass=> used to specify the format of the output (system messages and jcl related messages
4 Divisions.
IDENTIFICATION DIVISION.
CONFIGURATION SECTION.
FILE CONTROL.
<FIle declaration>
DATA DIVISION.
FILE SECTION.
WORKING-STORAGE SECTION.
Define VARIABLES. //* VAriables are used to store values during processing
of cobol program.
PROCEDURE DIVISION.
STOP-RUN/GOBACK.
Arimethamatic Verb.
Calculations.
COMPUTE: Perform Add (+) Substract (-) Multiply (*) Divide (/) Exponentation (**)
COMPUTE VAR1 + VAR2 --> Addition
MULTIPLY WS-EXP BY WS-RATE GIVING WS-SALARY ONSIZE ERROR DISPLAY " LIMIT exceed"
WS-SALARY: 00000
LIMIT exceed
DISPLAY: Display value, Value of variable. The value will be displayed in Spool of the job.
DISPLAY WS-EXP
END-IF.
EVALUATE - WHEN
ACCEPT DATE : take the system date. ACCEPT WS-VAR-DATE FROM DATE
ACCEPT TIME: Take the system time. ACCEPT WS-VAR-TIME FROM TIME
JCL:
????
Used to store the result in a separate variable mentioned after GIVING Verb.
MULTIPLY WS-EXP BY WS-RATE GIVING WS-SALARY //* Value/Result of the multiplication WS-
SALARY
IS NUMERIC clause is used to check if any item is numeric or not. It returns TRUE when the item
against which it is used contains only numbers (0 to 9). The item can be positive or negative.
Level 66 is used for RENAMES clause and Level 88 is used for condition names.
SEARCH is a serial search, whereas SEARCH ALL is a binary search. A table must be in sorted
Performing a SECTION will cause all the paragraphs that are a part of the section to be performed.
PARAGRAPH?
Scope terminator is used to mark the end of a verb. Example: IF and END-IF.
File opening modes in COBOL include: INPUT, OUTPUT, I-O, and EXTEND.
CONTINUE transfers the control to the next statement after the scope terminator. NEXT
SENTENCE transfers the control to the statement after the first period is encountered.
01 is of the record level. We repeat the fields within a record, not the record itself. So an Occurs
To write into a file, the file has to be opened in either OUTPUT or EXTEND mode.
What is the mode in which you will OPEN a file for writing?
The parameters passed in a Call By Content are protected from modification by the called program.
The linkage section is a part of a called program that 'links' or maps to data items in the calling
What will happen if you code GO BACK instead of STOP RUN in a stand
alone COBOL program?
In static call, the called program is a standalone program, it is an executable program. During
runtime, we can call it in our called program. As about dynamic call, the called program is not an
Redefines clause is used to allow the same storage allocation to be referenced by different data
names.
The Purpose of Pointer phrase is to specify the leftmost position within the receiving field where the
Compare the item to be searched with the item at the centre. If it matches fine; else repeat the
process with the left half or the right half depending on where the item lies.
Evaluate is like a case statement and can be used to replace nested Ifs. No break is required as the
COMP-1 is single precision floating point that uses 4 bytes. COMP-2 is double precision floating
Accept Verb is used to get data such as date, time, and day from the operating system or directly
from the user. If a program is accepting data from the user, then it needs to be passed through the
JCL.
Compute statement is used to write arithmetic expressions in COBOL. This is a replacement for
Supply the DD cards in JCL just as you would for files referred to in the main program.
program?
If TEST BEFORE is specified, the condition is tested at the beginning of each repeated execution of
the specified PERFORM range. If TEST AFTER is specified, the condition is tested at the end of
each repeated execution of the PERFORM range. The range is executed at least once in TEST
AFTER.
What is the difference between Perform With Test After and Perform With
Test Before?
Local-Storage is allocated each time a program is called and will be deallocated when the program
stops via an EXIT PROGRAM, GOBACK, or STOP RUN. It is defined in the DATA DIVISION after
PIC 9.99 is a four position field that actually contains a decimal point whereas PIC 9v99 is a three
Before REWRITE is performed, the record must be opened and read from the file. Therefore, the file
A literal is a data item that consists value by itself. It cannot be referred by a name. They are
A Stop run ends the unit of work and returns control to the operating system whereas GOBACK
returns control to calling program. So if we code GO BACK instead of Stop Run, it will go in infinite
loop.
What will happen if you code GO BACK instead of STOP RUN in a stand
To write into a file, the file has to be opened in either OUTPUT or EXTEND mode.
What is the mode in which you will OPEN a file for writing?
FILE-CONTROL paragraph appears in the Input-Ouput Section in the Environment Division which
Length of PIC 9.999 is 5 as '.' takes 1 byte. So total 1 byte for '.' and 4 bytes for 9.
Rewrite verb is used to update the records. File should be opened in I-O mode for rewrite
operations. It can be used only after a successful Read operation. Rewrite verb overwrites the last
record read.
.00123 edited value will be taken. P is assumed decimal scaling position which is used to specify the
location of an assumed decimal point when the point is not within the number that appears in the
data item. .PIC PP999 means that numeric data item is of 3 characters and there are 5 positions
If 123 value is moved to a PP999 PIC clause, then what is edited value
taken?
In array declaration, we can specify occurs clause on Elementary item as well as on Group item
also.
Where can we specify OCCURS clause?
9(7) will take 7 bytes and 1 byte for SIGN TRAILING SEPARATE, so total 8 bytes it will take.
How many bytes does a S9(7) SIGN TRAILING SEPARATE field occupy?
What is Next?
Further, you can go through the examples which you have practised with the subject and make sure
you are able to speak confidently on them. If you are fresher, then the interviewer does not expect
you to answer very complex questions, rather you have to make your basics very strong.
It really doesn't matter much if you could not answer a few questions, but it matters how you
answered, the ones that you did. So just be confident during your interview. We at tutorialspoint
wish
divisions=>
identification divisions
procedure division
Dear readers, these DB2 Interview Questions have been designed specially to get you acquainted
with the nature of questions you may encounter during your interview for the subject of DB2. As per
my experience good interviewers hardly plan to ask any particular question during your interview,
normally questions start with some basic concept of the subject and later they continue based on
Locking services are provided by Locking services component which is known as Internal Resource
Lock Manager (IRLM) and manages concurrency issues and dead locks.
Database services component is responsible for execution of SQL statements and it manages buffer
pool also.
Locking can be applied on either of these − Page, table and table space.
Check the value of SQLERRD to know how many rows got updated after an update statement.
Which field in SQLCA shows the number of updated rows after update
statement?
DB2 optimizer is used to select the access paths & to process the SQL queries.
access paths?
This statement is incorrect as cursors are used to handle multiple row selections at a time.
Cursors are used to handle single row selections at a time. They are data
structure which hold all the results of a query. State whether true or false?
Host variables cannot be group items but they may be grouped together in
false?
This statement is incorrect. Synonyms get dropped automatically when we drop the table but alias of
When a table is dropped all the alias get dropped automatically. State
When a program abends in middle of some transaction then DB2 performs a auto rollback.
If a transaction takes an Update lock on some data, then other transactions can only get only
If a transaction takes a Shared lock on some data, then other transactions can get either a Shared
Which utility is used to load data into a table from a sequential file?
Which utility reclaims space from pages when some rows were deleted?
Runstats utility updated the catalog tables with the statistical information.
Repeatable Read ensures highest data integrity as it holds page and lock the rows until a COMMIT
point.
A transaction gets an Exclusive lock when it is about to write at that time no other lock can be
applied on it.
If a transaction has an exclusive lock on some data, then what are the other
DBRM is the input to the bind process which is produced in the pre-compile step.
SELECT COUNT(*) FROM TAB query is used to count the number of rows in a table.
How you will count the number of rows from a table TAB?
When we use ALTER statement for adding a new column then it will be added at the end of the
table.
We can declare a cursor either i Working Storage Section or in Procedure Division also.
SQLCODE -818 is a timestamp mismatch of load module and bind timestamp built from DBRM.
If a user is not authorized to access DB2 objects, he will face SQLCODE -922.
When you will try to insert or update a record with duplicate key then you will face SQLCODE =
-803.
Application plan consists of one or more DBRM & application package which is kept in buffer pool
We will bind only that package which contains the modified DBRM. No need to bind all the
packages.
Bind step converts all the SQL statements into executable form in COBOL-DB2 program.
What happens in BIND step in a DB2 program?
A negative SQL code indicates a failure while a positive one indicates an exception.
Primary keys are optional and we can define them in CRETAE TABLE & ALTER TABLE statements.
DELETE * FROM table-name is the syntax to delete all the rows from a table.
What is Next ?
Further you can go through your past assignments you have done with the subject and make sure
you are able to speak confidently on them. If you are fresher then interviewer does not expect you
will answer very complex questions, rather you have to make your basics concepts very strong.
Second it really doesn't matter much if you could not answer few questions but it matters that
whatever you answered, you must have answered with confidence. So just feel confident during
your interview. We at tutorialspoint wish you best luck to have a good interviewer and all the very
Suppose a table A has an Alias named AL1. Which of the query is correct to
Entry sequenced datasets (ESDS), Key sequenced datasets (KSDS), Relative record dataset
A control interval is the unit of information that VSAM transfers between virtual and auxiliary
storage.
Records are stored in the order in which they are included in the file.
A cluster is the combination of the index, sequence set and data portions of the dataset. The
operating system gives program access to the cluster, that is to all parts of the dataset
simultaneously.
What is a cluster?
The catalog contains the names of all datasets, VSAM and non-VSAM. It is used to access these
datasets.
An alternate index is a file that allows access to a VSAM dataset by a key other than the primary
one.
A path is a file that allows you to access a file by alternate index. The path provides an association
between the AIX and the base cluster.
What is a path?
Free space is reserved within the data component of a KSDS to accommodate insertion of new
records.
Primary key values must be unique and alternate key values need not be unique.
File Status provide information about each I/O operation for the file.
What is the purpose of the FILE STATUS clause in the SELECT statement?
What are the three levels of definition for the VSAM DEFINE?
Run VERIFY.
Unique Clusters consists of a separate data space which is utilized completely by the cluster
created within it. Unique clusters are created out of unallocated space on direct access storage.
A sub-allocated VSAM file shares the VSAM space with other sub-allocated files. It specifies that file
should be sub-allocated within existing VSAM space. Sub-allocation is used for easier management
UPGRADE specifies that the alternate index should be modified if the base cluster is modified and
NOUPGRADE specifies that the alternate indexes should be left alone if the base cluster is
modified.
First step is Define Alternate Index. Second is Define Path and third step is Building Index.
ALTER command is used to change most of the VSAM dataset attributes that were specified while
errors
803 duplicate