how would find total records in files using seqientional
Answer / guest
We can increment the count for each reading of record in a file.
Read file
count = count + 1
At end
display count
Is This Answer Correct ? | 13 Yes | 2 No |
what are the limitations of Inline Perform?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
9(2).99 how many bytes take? Why . consider as a byte?
what is the difference between Plan & package
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
Write the code implementing the perform … varying.
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
How many bytes do a s9 (7) comp-3 field occupy?
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
is it possible to rename 01 level?