Cl Programming MCQ Quiz!

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Anurodha
A
Anurodha
Community Contributor
Quizzes Created: 3 | Total Attempts: 3,767
| Attempts: 131 | Questions: 9
Please wait...
Question 1 / 9
0 %
0/100
Score 0/100
1. What command is used to change the data area in CL?

Explanation

The correct answer is CHGDTAARA. This command is used to change the data area in CL.

Submit
Please wait...
About This Quiz
Cl Programming MCQ Quiz! - Quiz

Do you know what CI programming stands for? CI stands for continuous integration. It is the practice of combining all developers employed copies to shared mainline several times a day. When anticipating change, a developer brings a copy of the existing code base on which to work. As other developers... see moresubmit changed code to the source code repository, this copy gradually ceases to reflect the repository code. This quiz will explain more about CI programming. see less

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Command to read a file in CL is

Explanation

The correct answer is RCVF. RCVF stands for Read from File and is a command used in CL (Control Language) to read a file. It is used to retrieve records from a file and process them further. The other options mentioned (READF, RDF, READ, None of the above) are not valid CL commands for reading a file.

Submit
3. Which of the following statement is true in CL?

Explanation

In CL, the statement that is true is "PGM is mandatory if parameter is passed to/Received from CL." This means that if a parameter is being passed to or received from the CL program, the PGM keyword must be used. The other statements are not true because PGM and ENDPGM are not always mandatory in CL, and only ENDPGM being mandatory is also not true. Therefore, the correct answer is that PGM is mandatory if a parameter is passed to or received from CL.

Submit
4. Which statement is true?

Explanation

Both a Journal Receiver and a Journal are required to journal a file. Journaling is a process of recording changes made to a file, and it involves capturing both the before and after images of the modified records. The Journal Receiver is where the journal entries are stored, while the Journal keeps track of the changes made to the file. Without both of these components, journaling cannot be successfully implemented.

Submit
5. Following operations can be done on a file in CL

Explanation

The given options list the different operations that can be performed on a file in CL (Command Line). The correct answer is "Read Operation" because it is the only operation mentioned that allows the user to access and retrieve data from the file without making any changes or modifications to it. The other options, "Update Operation" and "Write Operation," involve making changes or adding new data to the file.

Submit
6. Commando modify a variable in CL is

Explanation

None of the options provided (MODVAR, VARCHG, CHGVR, CVAR) is the correct command to modify a variable in CL (Control Language). The correct command to modify a variable in CL is CHGVAR.

Submit
7. Command to send the emails from a CL program

Explanation

The correct answer is SNDDST. SNDDST is a command in CL (Control Language) that is used to send emails. It stands for "Send Distribution". This command allows users to send messages, reports, or documents as email attachments to one or more recipients. It is commonly used in IBM i (formerly known as AS/400) systems for sending emails from CL programs.

Submit
8. Which of the following statement is false?

Explanation

The given answer states that "Global MONMSG monitors all the errors of the CL program" is false. This means that the statement is not true. In reality, the Global MONMSG does monitor all the errors of the CL program. Therefore, the given answer is incorrect.

Submit
9. Commands to start and end the commitment definitions in the program are

Explanation

The correct commands to start and end the commitment definitions in the program are STRCMTDEF and ENDCMTDEF.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 6, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 06, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • May 11, 2009
    Quiz Created by
    Anurodha
Cancel
  • All
    All (9)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What command is used to change the data area in CL?
Command to read a file in CL is
Which of the following statement is true in CL?
Which statement is true?
Following operations can be done on a file in CL
Commando modify a variable in CL is
Command to send the emails from a CL program
Which of the following statement is false?
Commands to start and end the commitment definitions in the program...
Alert!

Advertisement