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

Why did you choose to work with ibm mainframe cobol programming?

1091


What is the compute verb? How is it used?

1131


Discuss about changing dataset name in proc.

1224


What is a scope terminator give example?

1100


how do you reference the ksds vsam file formats from cobol programs

1179


Write a program that uses move corresponding.

1128


how do you reference the variable block file formats from cobol programs

1239


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2579


What is static and dynamic call in cobol?

1054


Write a cobol program making use of the redefine clause.

1159


What is the local-storage section?

1139


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1288


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3256


What is Pic 9v99 Indicates in COBOL?

1250


What is the Purpose of Pointer in the string?

1071