This COBOL-JCL Quiz assesses knowledge of COBOL programming and JCL operations. It includes questions on file handling, condition checking, and data manipulation in COBOL, along with JCL integration, suitable for learners aiming to enhance their programming skills in these specific technologies.
YES
NO
Rate this question:
it is used for individual data item in working-storage section.
It is used for items with rename clause.
It is used for a data item which redefines another data item.
It is used for a condition name which can have either a true or false.
Rate this question:
If AGE is greater than or equal to 40.
If AGE is greater than or equal to 30.
If AGE is greater than or equal to 30 but less than 40.
If AGE is less than or equal to 30.
Rate this question:
IF A NOT = 1 OR 2 OR 3 MOVE A TO B.
IF NOT A = 1 AND 2 AND 3 MOVE A TO B.
IF A NOT = 1 AND 2 AND 3 MOVE A TO B.
IF A NOT = 1 OR A NOT = 2 OR A NOT = 3 MOVE A TO B.
Rate this question:
22
16
12
14
Rate this question:
Date-compiled paragraph, identification division
Object-computer paragraph, configuration section and environment division
File-control paragraph, I-O Section and environment division
I-O control paragraph, I-O Section and environment division.
Rate this question:
SUBTRACT A FROM B GIVING D E F.
SUBTARCT A FROM D, B FROM E, C FROM F.
SUBTARCT A B C FROM D E GIVING F G.
SUBTRACT A B C FROM D E F.
Rate this question:
Subscripting enables us to write a more compact code in the procedure division.
Subscripting enables us to refer to any element of a table by the same data name with the facility of identifying the particular element through the values of subscript.
Subscripting reduces the number of entries to be included in the data division.
Subscripting enables us to use loops in the procedure division.
Rate this question:
It is correct.
It is not correct because first-name and middle name contain the same PIC Clauses
Not correct because the PIC Clause is missing for the first three data items.
Not correct because the level number 03 is missing
Rate this question:
6
7
8
4
Rate this question:
01 to 77
01 to 49 and 77
All odd numbers from 01 to 49
01 to 49
All of Above
Rate this question:
The AT END path is followed if any record becomes shorter than the record Definition.
The statement is correct since IN-REC is the record name of the IN-FILE
The statement is incorrect since AT END should be followed by GO TO statement
The AT END path is taken if all the records have been read and the current read encounters the end of file.
Rate this question:
A has the PICTURE CLAUSE 9(4) V99.
A has the PIC CLAUSE ZZZ9.9
The Giving Option is missing
A is declared in the file section and not in the working storage section
Rate this question:
MOVE ‘AB’ TO A.
MOVE SPACES TO A.
MOVE ZEROS TO A.
MOVE SPACE TO FILLER.
Rate this question:
78922
89223
78900
89223
6 bytes
10 bytes
12 bytes
5 bytes
Rate this question:
15, 0, 0, 5
15, 5, 3, 0
3, 5, 3, 0
15, 5, 0, 5
Rate this question:
RENAME is used to regroup elementary items in a group.
Renamed elementary items must be contiguous memory
A Special level number 66 is used with RENAME clause
RENAME clause can regroup a 01, 77, 88 or 66 entry.
True
FALSE
None of above
Rate this question:
DONE is a data-name whose value gets defined in an exception handling section
DONE is a condition-name
DONE is a data-name whose value gets decremented at each exit of the paragraph
DONE is a data-name whose value gets decremented at each entry of the paragraph.
Rate this question:
REC-1 is always written
REC-2 is always written
Action depends on the computer system on which the program runs
Compiler error results
Rate this question:
B
A
C
D
COND = (12,LE)
COND = (12,NE)
COND = (12,GE)
COND = (12,EQ)
Rate this question:
Through the PARM keyword
Through the VALUE parameter
Through the PGM parameter
All of the above
Rate this question:
JOBLOG
MSGCLASS
MSGLEVEL
SYSLOG
Rate this question:
JOBLIB
STEPLIB
JCL ERROR " Object module present in both library "
Both the statements will be executed in sequence
Rate this question:
OMIT COND
INREC COND
EXLCUDE COND
INCLUDE COND
Rate this question:
Means execute this step even if any of the previous steps, terminated abnormally.
Means execute this step even if any of the previous steps, terminated normally.
In all situation step will execute.
Step will bypass.
Rate this question:
Quiz Review Timeline (Updated): Sep 1, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.