how you read control card into array?

Answer Posted / kssb78

Yes Shweta is correct.

The alternate way to execute is to read the inputs in
control card DD statement SYSIN is using a ACCEPT statement
and move it into a working storage variable

Later using a subscript / index we can move the value into
an array.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is s000 u4087 error? please give the all error codes in cobol,jcl.

17028


Can we redefine the field of x(200) to less than 200?

814


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

700


What is the difference between Global and External Variables?

660


What are declaratives and what are their uses in cobol?

706






how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1921


How to know whether the module is dynamical or statistical?

650


Which mode is used to operate the sequential file?

658


Write the code implementing the perform … varying.

639


Why did you choose to work with ibm mainframe cobol programming?

627


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

2728


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1951


How do we get current date from system with century in COBOL?

796


What kind of error is trapped by on size error option?

738


How arrays can be defined in COBOL?

661