Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2550


What is the problem of ordered sequential files access?

1164


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1540


How many bytes S(8) comp field occupy and its maximum value?

2144


What is length is cobol?

1101


How arrays can be defined in COBOL?

1223


What are 77 levels used for?

1108


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2550


What is the difference between comp and comp-3 usage?

1201


How many sections are there in data division in COBOL?

1138


What is the difference between PIC 9.99 and 9v99 in COBOL?

1334


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2473


Write the code implementing the perform … varying.

1075


What the difference is between continue and next sentence?

1172


how to access the file from prodution from changeman tool and to submit a file to production

7549