Mainframe: COBOL, JCL and DPS
Test your knowledge of mainframe computing including COBOL programming, JCL job control statements, and DPS 2200 form processing system
Questions
Which of the following is not a valid Perform statement?
- Perform Para-1
- Perform Para-1 Thru Para-2
- Perform Section-2 Section
- Perform Para-1 20 times
How can you reference an element of a 3 dimensional table?
- Indexes
- Subscripts
- Search
- Search-all
IF NOT AGE LESS THAN 30 AND 40 GOTO PARA-AGE-MIDDLES. The controls will go to the paragraph named PARA-AGE-MIDDLES
- if AGE is greater than or equal to 30
- if AGE is greater than or equal to 40
- if AGE is less than or equal to 30
- if AGE is greater than or equal to 30 but less than 40
What does DPS stand for?
- Display Programming System
- Data Presentation System
- Display Processing System
- Data Processing System
Identify the components of DPS 2200?
- Form Language Definition Processor
- Form Design
- D$DEF Routines
- Interaction to application programs
What is the purpose of DPS 2200?
- It helps to run a batch program.
- It is used to write the application programs.
- It helps to access the database.
- It helps to create the forms and its run-time system communicates with application program.
On which environment does DPS 2200 run-time routines operate?
- Application Environment
- Demand Session
- Program Session
- Command Session
What is the function of a DD statement ?
- Identifies & describes a dataset
- Delimits a DO loop
- Marks the start of a declarative section
- Delimits the start of an inline include section
What does FLMU stands for?
- Form Language Manipulation Utility
- Form Language Method utility
- Front-end Language Manipulation Utility
- Front-end Language Method Utility.
What statement assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step ?
- DD
- EXEC
- JOB
- PROC
Can JUSTIFIED be used for all data types?
- True
- False
Form processing in DPS, the form is stored in a storage area. This storage area is called:
- Form Library
- Work Space
- Info Buffer
- Scratch Area
In which mode must you open a file to update the records in the file?
- Input
- Output
- Extended
- I-O
Read the functionality below and identify the function in DPS: "This command clears your workspace, but does not affect the form library."
- DEL
- ERA
- SAV
- REP
What is the PIC representation for +123.876?
- PIC S9(3).999
- PIC 9(3).999
- PIC S9(3)V999
- PIC 9(3)V999
Which option is used to create the form layout ?
- A
- Z
- L
- W
“SELECT FILE-1 ASSIGN TO INFILE”, in this statement what is the logical and physical file name?
- Logical- FILE-1, Physical- INFILE
- Logical- INFILE, Physical- FILE-1
- Logical- None, Physical-ASSIGN
- None of them
Identify which of the following is not a library commands?
- MOD
- NEW
- REP
- OLD
Linkage section is present in which division?
- Identification
- Procedure
- Data
- Environment
the functionality below and identify the function in DPS: “Saves a changed form in an area of storage where a copy currently exists”.
- SAV
- MOD
- REP
- OLD