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


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

755


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1960


What is the difference between comp and comp-3?

704


What the difference is between continue and next sentence?

663


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1945






What is rmode(24)

681


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


In COBOL, what is the different between index and subscript?

761


What is perform what is varying?

711


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


What are the pertinent COBOL commands?

2626


Write a program that uses move corresponding.

673


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

700


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2733