Mainframe: COBOL, JCL and DPS

Test your knowledge of mainframe computing including COBOL programming, JCL job control statements, and DPS 2200 form processing system

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is not a valid Perform statement?

  1. Perform Para-1
  2. Perform Para-1 Thru Para-2
  3. Perform Section-2 Section
  4. Perform Para-1 20 times
Question 2 Multiple Choice (Single Answer)

How can you reference an element of a 3 dimensional table?

  1. Indexes
  2. Subscripts
  3. Search
  4. Search-all
Question 3 Multiple Choice (Single Answer)

IF NOT AGE LESS THAN 30 AND 40 GOTO PARA-AGE-MIDDLES. The controls will go to the paragraph named PARA-AGE-MIDDLES

  1. if AGE is greater than or equal to 30
  2. if AGE is greater than or equal to 40
  3. if AGE is less than or equal to 30
  4. if AGE is greater than or equal to 30 but less than 40
Question 4 Multiple Choice (Single Answer)

What does DPS stand for?

  1. Display Programming System
  2. Data Presentation System
  3. Display Processing System
  4. Data Processing System
Question 5 Multiple Choice (Single Answer)

Identify the components of DPS 2200?

  1. Form Language Definition Processor
  2. Form Design
  3. D$DEF Routines
  4. Interaction to application programs
Question 6 Multiple Choice (Single Answer)

What is the purpose of DPS 2200?

  1. It helps to run a batch program.
  2. It is used to write the application programs.
  3. It helps to access the database.
  4. It helps to create the forms and its run-time system communicates with application program.
Question 7 Multiple Choice (Single Answer)

On which environment does DPS 2200 run-time routines operate?

  1. Application Environment
  2. Demand Session
  3. Program Session
  4. Command Session
Question 8 Multiple Choice (Single Answer)

What is the function of a DD statement ?

  1. Identifies & describes a dataset
  2. Delimits a DO loop
  3. Marks the start of a declarative section
  4. Delimits the start of an inline include section
Question 9 Multiple Choice (Single Answer)

What does FLMU stands for?

  1. Form Language Manipulation Utility
  2. Form Language Method utility
  3. Front-end Language Manipulation Utility
  4. Front-end Language Method Utility.
Question 10 Multiple Choice (Single Answer)

What statement assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step ?

  1. DD
  2. EXEC
  3. JOB
  4. PROC
Question 11 True/False

Can JUSTIFIED be used for all data types?

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

Form processing in DPS, the form is stored in a storage area. This storage area is called:

  1. Form Library
  2. Work Space
  3. Info Buffer
  4. Scratch Area
Question 13 Multiple Choice (Single Answer)

In which mode must you open a file to update the records in the file?

  1. Input
  2. Output
  3. Extended
  4. I-O
Question 14 Multiple Choice (Single Answer)

Read the functionality below and identify the function in DPS: "This command clears your workspace, but does not affect the form library."

  1. DEL
  2. ERA
  3. SAV
  4. REP
Question 15 Multiple Choice (Single Answer)

What is the PIC representation for +123.876?

  1. PIC S9(3).999
  2. PIC 9(3).999
  3. PIC S9(3)V999
  4. PIC 9(3)V999
Question 16 Multiple Choice (Single Answer)

Which option is used to create the form layout ?

  1. A
  2. Z
  3. L
  4. W
Question 17 Multiple Choice (Single Answer)

“SELECT FILE-1 ASSIGN TO INFILE”, in this statement what is the logical and physical file name?

  1. Logical- FILE-1, Physical- INFILE
  2. Logical- INFILE, Physical- FILE-1
  3. Logical- None, Physical-ASSIGN
  4. None of them
Question 18 Multiple Choice (Single Answer)

Identify which of the following is not a library commands?

  1. MOD
  2. NEW
  3. REP
  4. OLD
Question 19 Multiple Choice (Single Answer)

Linkage section is present in which division?

  1. Identification
  2. Procedure
  3. Data
  4. Environment
Question 20 Multiple Choice (Single Answer)

the functionality below and identify the function in DPS: “Saves a changed form in an area of storage where a copy currently exists”.

  1. SAV
  2. MOD
  3. REP
  4. OLD