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 rmode(any) ?

1204


State the various causes of s0c1, s0c5 and s0c7.

1035


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1197


Name some of the examples of COBOl 11?

3098


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1124


Mention the guidelines to write a structured cobol program?

1047


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2240


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

2495


Which mode is used to operate the sequential file?

1161


Name the sections present in data division.

1186


What is length is cobol?

1068


Write a program to explain size error.

1156


How do get the result of your program directly on your pc?

2307


how do you reference the fixed unblock file formats from cobol programs

1185


Difference between array and sub-script ?

1619