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


difference between fetch , call and callnat

Answers were Sorted based on User's Feedback



difference between fetch , call and callnat..

Answer / aswini

Hi,

This is just to add little more description to Niki's
answer.

FETCH: This comes in 2 forms.
FETCH 'program' is just like the CHAIN in COBOL, where in
the control does not come back to the calling program.
With Fetch there can be parameters passed to the called
program.
FETCH RETURN: Similar to FETCH, but the control will
comeback to the calling program. Like the CALL statement in
COBOL.
CALL: Calling the non-Natural programs and the control will
come back to the calling module.
CALLNAT: Calling sub program with/with out parameters.

Is This Answer Correct ?    17 Yes 1 No

difference between fetch , call and callnat..

Answer / nagendra rampuria

FETCH is used to call a natural pgm,
CALL is used to call a cobol pgm from a natural pgm,
CALLNAT is used to call a subpgm from a natural pgm.

Is This Answer Correct ?    12 Yes 3 No

difference between fetch , call and callnat..

Answer / niki

Fetch- calling a natural pgm
CALL- it is used to call another pgm (other then natural)
CALLNAT- calling a natural subpgm
Fatch retrun- it will retrun the contol back

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More Natural Interview Questions

What is STACK in Natural? How we can use it in Program? Give me Eg.?

2 Answers   IBM,


how many work file we can code in jcl?

2 Answers  


Explain the difference between external subroutine and subprogram?

0 Answers  


What exactly is a hyperdescriptor? How does it work?

3 Answers  


Define cobol coding sheet?

0 Answers  


What is data trace system 2.0 used for?

0 Answers  


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

0 Answers  


Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

0 Answers  


Explain the data storage?

0 Answers  


how to move cursor to a particular field when position is not known?

3 Answers  


How can we see the copy book length using file-aid?

0 Answers  


Tell me what type of files we can process thru file-aid?

0 Answers  


Categories