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 / sen
Same as kiran said
But to get the parameters used in tha main program can be used by {procedure division using var-1,var-2} in the sub program
Eg if ur var name is ws-1 and ws-2
Then we can get values by
Procedure division using ws-1,ws-2.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write a program that uses move corresponding.
Can a Search can be done on a table with or without Index?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is a SSRANGE and NOSSRANGE?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Write the code to count the sum of n natural numbers.
In COBOL programming, what is PERFORM? What is VARYING?
What are the rules of the move verb?
Can you please let me know the centre name of INS certification in Kolkata.