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 |
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
What does the INITIALIZE verb do?
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
in cobol perform stmt whether it first checks the condition or not
Can anybody give me example of subscript and index
how can we find total no of records in a file ....is there any utility......?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
When is inspect verb is used in cobol?
I want ALL ERROR codes in VSAM
3 Answers American Express, TCS,
What are the different forms of EVALUATE statement?
what is the difference between Plan & package?
How we copy a program from production region to development region.What is the process & syntax ?