how many subpgms we can use in a main pgm ?
how do u link sub pgm to main pgm ?
how can i use the parameters declared in main pgm to sub pgm ?
Answer Posted / kiran
There is no limit.... we can write n number of sub programs
in main pgm.
by using linkage section in data division in sub program
by using IS GLOBAL keyword
ex 01 name pic x(10) IS Global
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how do you reference the ksds vsam file formats from cobol programs
Difference between array and sub-script ?
A table has two indexes defined. Which one will be used by the SEARCH?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are the pertinent COBOL commands?
Write a program to explain size error.
What are the different rules for performing sort operation?
Explain how to differentiate call by context by comparing it to other calls?
Which mode is used to operate the sequential file?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Name the divisions, which are available in a cobol program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between Global and External Variables?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.