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 |
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array
A table has two indexes defined. Which one will be used by the SEARCH?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
What is the default value of DISP for temp datasets
What is amode(31)
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
What is binary search?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
What is SDSF?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?