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 SDSF?
What are literals?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
What is the difference between working storage copybook and linkage section copybook?
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
Name the divisions in a COBOL program ?
plz,could any one tell me? what about EBCDIC in cobol?briefly?
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a