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

What are the differences bitween cobol and cobol-2?

1 Answers   Wipro,


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


What is the difference between a DYNAMIC and STATIC call in COBOL?

2 Answers  






input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


How to retrive the 9th records out of ten records using the cobol program ?

3 Answers   UST,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


What are the different rules for performing sort operation?

0 Answers  


Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,


What are differences between COBOL and java ? why we are giving more preference to COBOL ?

3 Answers   TCS,


Categories