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...

What are subroutines ? and how do we pass data to the sub
routines?

Answer Posted / harish

subroutines are normal cobol program called by another
program...

so data passed through linkake section

in main prog we have to code

call 'sub' using a1,a2

then in subprog accept these a1 and a2 with same name or
differnt doesnt matter

then in procedure division

procedure division using a1,a2.
.........

pls correct me if anything wrong


HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1435


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17880


What is the difference between PIC 9.99 and PIC9v99?

1338


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1203


How to print 10 to 1 if the input have only 10 digit number?

1262


how do you reference the rrds file formats from cobol programs

1575


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

1216


What are various search techniques in cobol? Explain.

1070


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


What kind of error is trapped by on size error option?

1239


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1109


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2472


What is the usage of comp fields in cobol?

1188


Name the sections present in data division.

1246


What is the difference between comp and comp-3?

1185