mainframe Online Quiz - 146
Description: mainframe Online Quiz - 146 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: mainframe |
Which statement(s) is/are true for LRECL
Which parameter indicates when MVS is to free the resource(s) allocated to the DD statement.
How does SUM FIELDS = NONE work?
In the i/p file A contains the records in the following sequence: Arun 20 Naveen40 Priya 35 Naveen10 Priya 25 Arun 50 If the following SORT query runs on file A, how would the o/p file B look like: SORT FIELDS = (1,6,CH,A) SUM FILEDS = (7,2,PD)
In what scenario the sequence field contains the value of 'E' in Sort utility?
How does SUM FIELDS = NONE work?
In the i/p file A contains the records in the following sequence: Arun 20 Naveen40 Priya 35 Naveen10 Priya 25 Arun 50 If the following SORT query runs on file A, how would the o/p file B look like: SORT FIELDS = (1,6,CH,A) SUM FILEDS = (7,2,PD)
How should the SORT statement be used to copy only 10 records with the EMP name 'Anil' to the o/p file, where the Emp name is in the 1st 10 chars of the i/p file?
How do we resequence a file through the Sort statement where the file record length is 300 bytes and the sequence number is present in the 1st 5 bytes?
An i/p file PRODUCTS contains the records in the following sequence with the fields as SEQ #, PRODUCT NAME, PRODUCT CODE: 0001 LUX 1111 0002 PAMOLIVE 2222 0003 LUX INTERNATIONAL 1111 0004 CINTHOL 3333 Which if the following sort statements would COPY only the LUX products to the o/p file?
How to multiply the VAT factor .12 with the bought product costs (pos 25-30) in the PRODUCT file and copy to the FINAL file? The file length is 215.
How to copy the eliminated duplicate records into another file wherein the SORT happens on the 1st 3 characters of the file?
INREC adds, delectes or reformats fields after the records are sorted or merged.
How to remove the last record from the i/p file?
Find the i/p file records as below: Student A - Max = 100 Min = 60 Student B - Max = 60 Min = 50 Student C - Max = 80 Min = 75 How to format the file to the following o/p data? Student A - Maximum = 100 Minimum = 60 Student B - Maximum = 60 Minimum = 50 Student C - Maximum = 80 Minimum = 75
What is the statement to create 2 files from 1 particular i/p file on specific conditions?
What is the function of the STEPLIB DD statement?