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 is IMPACT analysis?
What is the difference between perform … with test after and perform … with test before?
Write a program that uses move corresponding.
How can you pass values from COBOL program to non-COBOL programs?
how to change picture class of copy book variable inside program?
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
What is a scope terminator give example?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?