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

is this below syntax correct?

CALL 'subprg' using A,B

Please help

Answer Posted / lu

yes, ...look at this ex:

For calling sub-modules DYNAMICALLY - Code:
In Working Storage Section -

01 WS-PROGRAM PIC X(08).

MOVE 'SUBPROGA' TO WS-PROGRAM
CALL WS-PROGRAM USING ....(Your Parameters)

MOVE 'SUBPROGB' TO WS-PROGRAM
CALL WS-PROGRAM USING ....(Your Parameters)

MOVE 'SUBPROGC' TO WS-PROGRAM
CALL WS-PROGRAM USING ....(Your Parameters)


For Calling STATICALLY, check your compiler option. If it
is NODYNAM then use -
Code:
CALL 'SUBPROGA' USING ...(Your parameters)
CALL 'SUBPROGB' USING ...(Your parameters)
CALL 'SUBPROGC' USING ...(Your parameters)

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1103


What are literals?

1109


explain sorting techniques in cobol program?

1176


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9066


how to refer the data field?

2249


Can a Search can be done on a table with or without Index?

1271


Write a program to explain size error.

1175


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

1190


What are the access modes of START statement?

1254


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1233


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

1214


What is the difference between goback, stop run and exit program in cobol?

1572


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2089


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1319


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

1157