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 77 levels used for?
how to access the file from prodution from changeman tool and to submit a file to production
What is the local-storage section?
Describe the cobol database components?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what is search and searchall?what is the diffrence between them?give an best example?
What is the compute verb? How is it used?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How do you reference the following file formats from cobol programs?
Explain about different table spaces.
In COBOL programming, what is PERFORM? What is VARYING?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Explain how you can characterize tables in cobol?
how do you reference the rrds file formats from cobol programs