i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?

Answer Posted / madhan

yes. Both siva and vidya's answer is correct.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1429


A table has two indexes defined. Which one will be used by the SEARCH?

759


What is the difference between comp and comp-3 usage?

681


Which division and paragraphs are mandatory for a COBOL program?

709


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

1943






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


How do you reference the fixed block file formats from cobol programs

705


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098


What type of SDLC u followed? Why?

1520


Whats the difference between search & search ALL?

5264


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


How to print 10 to 1 if the input have only 10 digit number?

811


What do you understand by psb and acb?

666


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1907


What are the pertinent COBOL

2045