I have two files each contains 10 records. I would like to
copy both files into one output file but in alternate
sequence. for e.g. first record from file1 then record 2
from file2.....
Answer Posted / aks
Use df sort utility and use infile and outfile for writing
the record into output file.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain dfsort utility?
in ways data can be passed to a COBOL program from JCL?
What is multithreading in jcl?
what are the various stages of job processing?
How can return codes be tested before execution of a job step?
How do you access an uncatalogued dataset in a jcl?
What are the 4 fields in dd statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
In job processing, what happens in conversion stage?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Name what parameter directs the output of the job log dataset?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
how you will the direct the data to spool using sysout option?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Why include statement is used in a jcl?