if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answers were Sorted based on User's Feedback
Answer / bhaskar reddy
//sysin dd*
sort fields=copy
stopaft=100
/*
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / rv rocks
using iceman utility we can copy the 1st 100 records .
//sysin dd *
option copy, stopaft=100
/*
Is This Answer Correct ? | 2 Yes | 0 No |
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
how will u pass dadta to cobol+db2 program...?
perform I from 0 by 1 until I=5?How maney times it will executes
Mention the guidelines to write a structured cobol program?
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
consider two data items 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 different forms of EVALUATE statement?
In an EVALUATE statement, can I give a complex condition on a when clause?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
Difference between next and continue clause
What is the difference between NEXT SENTENCE and CONTINUE?
can we use the two 01 level in file discription ?