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

Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2

9 Answers   HSBC,


how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


S9(5)V9(2) occupies how many bytes memory ?

6 Answers   Cap Gemini,


01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?

7 Answers  


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


what is difference between the sysabend and userabend?

2 Answers  


wht is packed decimal in cobol

2 Answers  


01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

13 Answers   HSBC,


A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,


Categories