i have 10,000 records in one input file.i want to sort 1 to
5000 records in one outputfile and remaining records sort in
another output file write the syntax for this?
Answer Posted / v khurana
One more bethod is there, i.e. by using SPLIT1R
OUTFIL FNAMES=(FILE1,FILE2), SPLIT1R=5000
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is the function of //jcllib statement?
what is the use of IEBGENER utility?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Explain the function of //cntl statement?
Mention the types of job control statements?
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?
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
What are the rules employed while naming the steps in a job?
what is the difference between JES3 and JES2?
How do you create a temporary dataset?
which utility is used to run a cobol-db2 program?
Explain the function of a dd statement?
What is one line to pass PARM from JCL to COBOL?