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
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to remove 2 duplicate records and copy only one using job control language?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Difference between array and sub-script ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the use of intialize verb?
What is the difference between goback, stop run and exit program in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Are you comfortable in cobol or jcl?
how to convert the recors form vsam file to db2 table tru file aid
Why occurs cannot be used in 01 level in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are the various section in data division and briefly explain them.
What rules are to be followed while using the corresponding options?