how do u link sub pgm to main pgm ?

Answers were Sorted based on User's Feedback



how do u link sub pgm to main pgm ?..

Answer / ankit

linking of pgm is done by 'call statements ' linking of pgm
is done by o/s we need to just use call statements in cobol
pgm, we cannot explicitly link pgms

Is This Answer Correct ?    8 Yes 0 No

how do u link sub pgm to main pgm ?..

Answer / muttaiah

By Call stmt and compiler option dynam or nodynam.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

i Want All cobol ERROR codes?

4 Answers   HCL, IBM,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


Why did you choose to work with ibm mainframe cobol programming?

1 Answers  


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


wht is the difference between goto and perform stmts

7 Answers   DELL,


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

1 Answers  


What are options have been removed in COBOL 11?

1 Answers  


Explain about level numbers?

3 Answers  


what is linkcard in cobol?

1 Answers   TCS,


Categories