Mainframe Programming: COBOL, JCL, and ECL
Test your knowledge of mainframe computing systems including COBOL programming, JCL job control, and ECL (Executive Control Language) for batch processing and file management.
Questions
All the divisions should be start from?
- 12-72
- 11-18
- Area B
- Area A
Which of the following errors are possible within a COBOL if statement?
- Infinite loop
- Logical Error
- Runtime Error
- All the above
What is the DISPOSITION of a dataset if the DISP field is not coded in the JCL?
- (NEW,CATLG,CATLG)
- (NEW,DELETE,DELETE)
- (NEW,CATLG,DELETE)
- (OLD,CATLG,UNCATLG)
What does TIME=1440 mean on a job card?
- CPU time is 1440
- Run time is 1440
- No CPU limit for the job
- Gives S322 abend after 1440 cpu time
TYPE=SCAN What does it do?
- Scans JCL for errors
- Invalid Syntax
- Scans for previous executing jobs
- Does nothing
There is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially, then which of the access mode would you specify?
- SEQUENTIAL
- RANDOM
- DYNAMIC
- ACCESS MODE has nothing to do with it
How many bytes does a S9(7) SIGN TRAILING SEPARATE field occupy ?
- 6
- 7
- 8
- 4
Which of the following addition statements is invalid?
- Add 1, 2, 3 To Field-1.
- Add 1 To Field-1, Field-2.
- Add Field-1, 3 Giving Field-2.
- Add Field-1 To Field-2 Giving 3.
If Data-A = 1 and Data-B = 2 and Data-C = 3, which of the following conditions is true?
- Data-A < Data-B And Data-C < Data-A
- Data-B > Data-C Or Data-A > Data-C
- Data-A < Data-B And Data-C
- Data-A < Data-B And Data-A > Data-C
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X will be ?
- Abends
- -10
- 10
- Syntax error
ECL stands for ?
- Embedded Control Langauge
- Executive Control Langauge
- Executive Coupled Langauge
- Entrance Control Langauge
ECL is useed for Batch processing.
- True
- False
@RUN must be the first line of ECL.
- True
- False
Can we add label field with @EOF.
- True
- False
@ZIP command open file in read only mode.
- True
- False
Demand session is used to run ECL code file.
- True
- False
UCS stands for ?
- Unified Computing System
- Universal Character Set
- Universal Compiling System
- Ultra Corba Simulator
What should be the last statement of ECL code file ?
- @STOP
- @BRKPT
- @FIN
- @STOP RUN
Transparent Control Statement starts with @@
- True
- False
When was Unisys founded ?
- 1986 as Unisys
- 1986 Ankara,Turkey
- Original founded in 1944, two competing parties since a split in 1986.
- 1986 New York