Mainframe Programming - 4 Flashcards
Which is the correct select statement?
EMPFILE SELECT ASSIGN TO EMPFILEO. SELECT ASSIGN EMPFILE TO EMPFILEO . SELECT EMPFILE TO EMPFILEO ASSIGN. SELECT EMPFILE ASSIGN TO EMPFILEO. EMPFILEO SELECT ASSIGN TO EMPFILE.
SELECT EMPFILE ASSIGN TO EMPFILEO.
In JCL what does the DD statement help define?
the File Record limit has been reached
The record we just loaded is equal to the previous record
The actual data set on the disk and file name
The data driver used to access our modules
The actual data set on the disk and file name
What file status is “RECORD NOT FOUND”?
File status 00 File status 10 File status 22 File status 23 File status 88
File status 23
What is the link between the COBOL program and the computer input-out devices the program uses?
Procedure Division Environment Division Working-Storage Section. Identification Division ZConfiguration Section.
Environment Division
Which of the following correctly describes the blocksize statement?
number of characters in a record
number of records in a block
number of blocks in a record
the number of characters in a variable
number of records in a block
Files are classified into types. Find the INCORRECT file type.
Flexible Organization
Sequential Organization
Index Sequential Organization
Relative Organization
Flexible Organization
The OPEN command opens 4 modes, which is the INCORRECT one here?
input output extend I-O control
control
Where is the FD of the file defined?
Identification Division Procedure division Working-Storage Section. Environment Division. File Section
File Section
Which file type is conceptually made up of two files, a data file an index file?
Flexible Organization
Sequential Organization
Index Sequential Organization
Relative Oranization
Index Sequential Organization
Which clause is used to check the end of the data on a READ statement?
at finish at end at done at stop at data
at end