how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

Answers were Sorted based on User's Feedback



how can u find out just by seeing wheater it is main program or sub program ? any two ways to identi..

Answer / ankur

If the Program is having 'USING' clause with procedure
division then it will be Sub-program.

Eg - PROCEDURE DIVISION USING DFHCOMMAREA.

Is This Answer Correct ?    14 Yes 1 No

how can u find out just by seeing wheater it is main program or sub program ? any two ways to identi..

Answer / guest

for mainprogram it ends with stoprun,subprogram ends with
exit

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More COBOL Interview Questions

how to code in cobol while using variable block file?

1 Answers  


How to increase the logical record length of existing PS file?

7 Answers  


Can anyone please give the example of Inline Perform.

6 Answers   TCS,


suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

2 Answers   IBM,


Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 Answers  






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

2 Answers   Syntel,


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?

8 Answers   UST,


What rules are followed by the search verb.

0 Answers  


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


What is the default value of DISP for temp datasets

5 Answers   IBM,


Categories