Mainframe Technologies: JCL, COBOL, VSAM and DB2
mainframe Online Quiz - 22
Questions
What is the use of SUM FIELDS=NONE in SORT statement
- (A) Have only Duplicate records from input to output
- (B) Remove Duplicates records and write as single instance in output
- (C) Have only non Duplicate records from input to output
- (D) None of the above
Which of the following is correct
- A. Plan – Package – collection – DBRM
- B. Plan-Package – DBRM – collection
- C. Plan – collection – package – DBRM
- D. None
Which of the following is true about Level numbers?
- (A) Level numbers can start from 0 to 99 and there are no Special Level numbers
- (B) Level numbers can start from 0 to 99 and 66, 77 and 88 are Special Level number
- (C) Level numbers can start from 0 to 49 and there are no Special Level numbers
- (D) Level numbers can start from 0 to 49 and 66, 77 and 88 are Special Level numbers.
In a Proc, if a particular Step is set to execute only on below COND parameter. (4,LT,STEP330),(4,LT,STEP340) What does it mean?
- (A) Only Execute if Step330 and 340 throws <= 4
- (B) Only Execute if Step330 or 340 throws <= 4
- (C) Only Execute if Step330 and 340 throws = 0
- (D) Only Execute if Step330 or 340 throws = 0
What is the parameter of REGION to be given to pick maximum space declared
- (A) REGION=0K OR 0M
- (B) REGION=OK or OM
- (C) REGION=0M
- (D) REGION=OM
What is the DISP parameter given to append records with existing?
- (A) SHR
- (B) OLD
- (C) NEW
- (D) MOD
Which of the below lines of PARA-A has COBOL rules missed. PARA-A. IF A=B (Line No.1) NEXT SENTENCE (Line No.2) ELSE (Line No.3) IF C=D (Line No.4) Move 20 to C (Line No.5) Move A B to C (Line No.6) Move B to C D (Line No.7) End-If (Line No.8) Move A to B (Line No.9) Move C to D (Line No.10) PARA-EXIT. EXIT.
- (A) END-IF was missed for a IF
- (B) Dot was missed in last line of PARA-A(line no.10)
- (C) Line No. 7
- (D) Line No. 6
What is the difference between COMP and COMP-3?
- (A) COMP is a Binary storage format while COMP-3 is Packed decimal format
- (B) COMP is a Packed decimal format while COMP-3 is Binary storage format
- (C) Both COMP and Comp-3 are Binary storage format
- (D) Both COMP and COMP-3 are Packed decimal format.
Which of the below JCL statement(s) not allowed in Proc.
- (A) Job Delimiter /*
- (B) Joblib
- (C) Exec
- (D) None
In the IEBGENER utility, what is the maximum number of datasets can be used in SYSUT1.
- (A) 16
- (B) 24
- (C) 32
- (D) 48
While running a JCL, what at is the abend thrown for time out?
- (A) S322
- (B) SB37
- (C) S122
- (D) SOC7
What is the syntax to Restart from a particular step in a Proc, but subsequent steps not to be executed. No NULL should be placed in Proc.
- (A) RESTART= STEPNO
- (B) RESTART=PROCNAME.STEPNO
- (C) RESTART= STEPNO, COND=(0,LE)
- (D) RESTART=PROCNAME.STEPNO,COND=(0,LE)
Which of the following is true about a VSAM file?
- (A) Should have a Key of any length and anywhere
- (B) Value of Records in Key should be in sorted order
- (C) VSAM file cannot have a Total Length as Key
- (D) Key should start only at first byte.
Suppose if the Variables A and B are declared as S9(7) and 9(7). Which of the below statement(s) violate COBOL rules.
- (A) Compute A = A / 10
- (B) Multiply B by 100
- (C) Move 80 to B C
- (D) Move 10 to A B.
Suppose if a Dataset is created with RECFM=FBA, and then if the same is browsed, what is the Total length observed.
- (A) Total length declared
- (B) Total Length declared – 1
- (C) Total Length declared + 1
- (D) None of the above
A KSDS VSAM has both data and index components. Is this statement
- (A) True
- (B) False.
- NA
- Na
Can a file declared in Cobol program be ran in Jcl without having it.
- (A) Yes
- (B) No
- NA
- Na
How do you check syntax of JCL without running it?
- (A) JSCAN
- (B) TYPERUN=SCAN on Job card
- (C) TYPERUN=JEM on Job card
- (D) (a) or (b)
VERIFY can be used for Empty datasets. Is this statement
- (A) True
- (B) False.
- NA
- Na
Can a field X(10) be redefined with S9(12).
- (A) Yes
- (B) No
- NA
- Na