How can you declare the file ?



How can you declare the file ?..

Answer / g.naveen

ENVIRONMENT DIVISION.
FILE-CONTROL.
SELECT FILE1 ASSIGN TO DISK1.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More COBOL Interview Questions

TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


Under which scenario you would go for a static call as opposed to dynamic call?

5 Answers   TCS,


How do you come out of an EVALUATE statement?

3 Answers  


How do u write test cases?

0 Answers   IBM,


what are the limitations of Inline Perform?

3 Answers   Zensar,






Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


When can the USING phrase be included in the call statement ?

2 Answers  


When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

1 Answers   CTS,


77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

9 Answers   TCS,


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


How many maximum number of procedures can we write in one COBOL program?

6 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


Categories