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

Can we change the password using ALTER? anyone tried and changed?

0 Answers   IBM,


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

0 Answers  


What is rmode(24)

0 Answers  


can any one help -s806

6 Answers  


what is linkcard in cobol?

1 Answers   TCS,






whats the difference between search and search all?

4 Answers   Patni,


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


I have a sequential file. How do I access a record in this sequential file randomly in my program ?

8 Answers   CGI, Xansa,


HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


Categories