i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??
Answer Posted / lachchu
Can you please write C code for the same ?
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
how to do automated restart when a job abends?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What dd statement is used to supply the name of a dataset?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what happens in execution stage in job processing?
Explain dfsort utility?
a dd statement has 2 types of parameters. Name them?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what JCL Procedures?
How to alter the parameters for the existing gdg?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What is the use of disp parameter?
Is there any command to check wether the ps file is in sorted order?