How to find How Many Lines in Sysin DD * Parameter Thru
Cobol Coding?
If any one knows the Answer Please Reply .....Thanks From
Shree
Answer Posted / guest1
you need to put it in a loo. In sysin dd* u need to pass a
value that will terminate loop. (Here say /1*)
in your cobol coding performthe loop till it reaches '/1*'.
For every accept, increment the counter variable by 1. Once
the loop is terminated, display the count.
Hope that this could help you.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Explain what you understand by passing by value.
What is the LINKAGE SECTION used in COBOL?
What kind of error is trapped by on size error option?
example for sub strings ? and refernce modifications whit output pls
Explain how you can characterize tables in cobol?
) how do u code after getting data?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are various search techniques in cobol? Explain.
Difference between array and sub-script ?
How are the next sentence and continue different from each other?
What is the difference between Global and External Variables?
What is the difference between perform … with test after and perform … with test before?
What is a report item?