difference between fetch , call and callnat
Answers were Sorted based on User's Feedback
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 |
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 |
control variable in online screens
Can we update with histogram?
Define cobol coding sheet?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Types Of Read , FIND
differnce between read work file 1 and read work file once? why we are using work file once?
what type of files we can process thru file-aid
What is the quality process in development?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain difference between read work file 1 and read work file once? Why we are using work file once?