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

Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


In COBOL programming, what is PERFORM? What is VARYING?

0 Answers   CDC,


what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C

3 Answers   TCS,


how to transfer the file from pc to mainframe??

4 Answers  


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,






what is the purpose of linkage section?

10 Answers  


How is sign stored in a comp-3 field?

7 Answers  


How you can read the file from bottom?

0 Answers  


What is difference between static and dynamic call in cobol?

0 Answers  


can we redefine 77 level item is it possible

4 Answers   HCL,


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?

1 Answers   HCL,


Categories