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 redefines? where it can be effectively use for the purpose of memory utilization? give an example?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
wht is the difference between goto and perform stmts
without performing any operations on a file how can i know whether it contains data or not
What is difference between COBOL and VS COBOL II?.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
when COMP-3 is preferrable?
Describe the cobol database components?
What is a scope terminator give example?
S9(5)V9(2) occupies how many bytes memory ?