Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer..

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

How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer..

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

How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer..

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

Post New Answer

More COBOL Interview Questions

I want to declare a field with data type Double in my COBOL program. how shall i do that ?

5 Answers  


what is soc7 abend?how u can trace it?

4 Answers   Accenture,


What is cobol?

0 Answers  


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

3 Answers   ADP,


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)?

1 Answers   CGI,


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 ??

2 Answers   HCL,


What is the difference between PIC 9.99 and 9v99?

7 Answers  


In which area will you utilize 88 level items in cobol?

0 Answers  


How can you get the ksds file records into your cobol program?

0 Answers  


what is Pic 9v99 Indicates?

2 Answers  


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


how would find total records in files using seqientional

1 Answers   HSBC,


Categories