By using _________ statement, data can be sorted in a file between headers and trailers.
DATASORT
SUBSET
both a and b
None of the above
How to remove the last record from the i/p file?
SUBSET FROM(IN1) TO(OUT1) INPUT REMOVE LAST = 1
SUBSET FROM(IN1) TO(OUT1) INPUT REMOVE LAST(1)
SUBSET FROM(IN1) TO(OUT1) INPUT REMOVE TRAILER
All of the above
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
OPTION COPY INREC FINDREP=(INOUT=(C'Max',C'Maximum',C'Min',C'Minimum')
OPTION COPY INREC FINDREP=(C'Max',C'Maximum',C'Min',C'Minimum')
Both a and b
What is the statement to create 2 files from 1 particular i/p file on specific conditions?
OUTREC
INREC
OUTFIL
Which of the following will enhance the efficiency of the jcl?
INCLUDE COND = (10,3,CH,EQ,C'YES') SORT FIELDS = (1,5,CH,A)
SORT FIELDS = (1,5,CH,A) INCLUDE COND = (10,3,CH,EQ,C'YES')
Order doesn't matter
INCLUDE COND = (10,3,CH,EQ,C'YES') SORT FIELDS = COPY
What is the function of the STEPLIB DD statement?
Identify a library to be searched for programs named in the EXEC statement
Identify a library containing executable job steps
Override the system step library within a job stream
How can return codes be tested before execution of a job step?
Through the RC keyword
Through the CODE keyword
Through the COND keyword
Through the RETURNCD keyword
What is concatenating?
Overriding or adding procedures
Logically connecting input datasets
Overriding a called PROC dsname
How can values be passed from the job stream to an executable program?
Through the PARM keyword
Through the VALUE parameter
Through the PGM parameter
Must tape dataset definitions include VOL=SER specifications?
Yes
No
Only for uncataloged datasets
Only for cataloged datasets