1.
To change all the blanks before alphabets to zero the command used is
Correct Answer
C. C all p’ @’ ‘0’
Explanation
The correct answer is "c all p' @' '0'". This command is used to change all the blanks before alphabets to zero. The "c all" command is used to change all occurrences, the "p'" command is used to specify the pattern to be replaced, and the "@' '0'" command is used to replace the blank spaces with zeros.
2.
To create a partitioned dataset with maximum 5 members
Correct Answer
A. Directory blocks=1,dataset name type=pds
Explanation
To create a partitioned dataset with a maximum of 5 members, the "directory blocks=1, dataset name type=pds" option should be chosen. This option specifies that the directory blocks for the dataset will be set to 1, which means that the dataset can have up to 5 members. The "dataset name type=pds" indicates that the dataset will be a partitioned dataset. This combination of settings allows for the creation of a partitioned dataset with a maximum of 5 members.
3.
Methods to create a member in pds
Correct Answer
D. All of the above
Explanation
The correct answer is "all of the above". This means that all of the mentioned methods (datasetname(member name) with line cmd e, s member name, cre member name) can be used to create a member in pds. Each of these methods may have slight differences in syntax or usage, but they all achieve the same result of creating a member in the pds dataset.
4.
Create a pds with unlimited no of directory blocks
Correct Answer
C. Datasetname type:library
Explanation
The correct answer is "datasetname type:library". This is because a library dataset allows for an unlimited number of directory blocks. A PDS (Partitioned Data Set) has a fixed number of directory blocks, while a PDSE (Program-Managed Data Set Extended) also has a fixed number of directory blocks but provides additional features such as program management and concurrent access. Therefore, the option "datasetname type:library" is the only one that satisfies the requirement of having unlimited directory blocks.
5.
Using line command m we can cut the lines and paste it in another place
Correct Answer
A. True
Explanation
The statement is explaining that by using the line command "m" in a text editor or similar program, it is possible to cut lines of text and paste them in a different location. This functionality is commonly found in many text editors and allows for easy rearrangement or reorganization of text. Therefore, the given answer of "True" is correct.
6.
When inserting a new line,it have to take default char what option we have to give
Correct Answer
A. Mask any char
Explanation
When inserting a new line, the option to "mask any char" means that a default character will be used to fill the empty space created by the new line. This default character can be chosen by the user and will be displayed in place of the new line. This option is useful when the exact content of the new line is not known or when it is not important to display the specific content of the new line.
7.
The dataset exceeded with no of members..it shows ‘no space in directory’.To create a member
Correct Answer
B. Delete,compress and then use it
Explanation
When the dataset exceeds the maximum number of members allowed, it displays a "no space in directory" message. To create a new member, the existing members need to be deleted and compressed. Therefore, the correct answer is to delete, compress, and then use the dataset.
8.
We can split the window with maximum ______ no of screens
Correct Answer
C. 6
Explanation
The given question is asking for the maximum number of screens that can be used to split a window. The correct answer is 6, which means that it is possible to split the window into 6 screens.
9.
To logoff from the mainframe window
Correct Answer
C. Both a and b
Explanation
Both options a and b are correct for logging off from the mainframe window. Option a suggests giving the X option in the primary ISPF main menu, which is a valid method for logging off. Option b suggests purging the job under execution in the spool area, which is another valid way to log off. Therefore, both options a and b can be used independently to log off from the mainframe window.
10.
To find the word Abdul kalam
Correct Answer
B. F ‘Abdul kalam’
Explanation
The correct answer is F 'Abdul Kalam'. This is because the question asks for the correct way to find the word "Abdul Kalam", and option F specifically mentions the word in the correct format. Option A only mentions the name without any formatting, and option B includes an additional letter before the name. Therefore, option F is the correct answer.
11.
To see the short information about the dataset ,the line command i is used
Correct Answer
B. False
Explanation
The line command "i" is not used to see short information about the dataset. Therefore, the correct answer is False.
12.
Dataset can be displayed in
Correct Answer
D. All the above
Explanation
The dataset can be displayed in view mode, which allows users to only view the data without making any changes. It can also be displayed in edit mode, which enables users to make edits and modifications to the dataset. Additionally, it can be displayed in browse mode, which allows users to navigate through the dataset and explore its contents. Therefore, the correct answer is "all the above" as all three modes (view, edit, and browse) are available for displaying the dataset.
13.
When we display the members in dataset,default it is sorted based on
Correct Answer
B. Member name
Explanation
The members in the dataset are displayed in default order based on their member name. This means that when the dataset is displayed, it will be sorted alphabetically or numerically based on the names of the members. The size or data of the members does not affect the default sorting order.