How to find How Many Lines in Sysin DD * Parameter Thru
Cobol Coding?
If any one knows the Answer Please Reply .....Thanks From
Shree
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shiva
sys inn dd*...is used to pass data from jcl to cobol...
so in shorter way... how many accept stmts u code in cobol
that many relative values only it will consider frm
jcl...beyond tat it will neglect....
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / sruthi
We can say how many lines in sysin dd * parameter by seeing
ACCEPT stmt in cobol pgm.
| Is This Answer Correct ? | 2 Yes | 5 No |
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
what is soc7 abend?how u can trace it?
What is cobol?
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
What is the difference between PIC 9.99 and 9v99?
In which area will you utilize 88 level items in cobol?
How can you get the ksds file records into your cobol program?
what is Pic 9v99 Indicates?
how to pass 100 to s9(4) how r they inserted ?
how would find total records in files using seqientional