There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

How can you add a particular field/coloumn in copybook?

3 Answers   ADP, DELL, L&T,


how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array

3 Answers   ADP,


how you will define variables length in cobol.

3 Answers   Temenos,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


What do you understand by passing by reference and passing by content?

1 Answers  






i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


why we are using set in searchall?

4 Answers   IBM,


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


db2 variable decimal(15,2) what is the equalent size of cobol variable

2 Answers   Syntel,


What are declaratives and what are their uses in cobol?

0 Answers  


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


Categories