Answer Posted / 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 |
Post New Answer View All Answers
Explain how to find occurrence of mu and pe fields in a file?
Explain how many work file we can code in jcl?
Explain the difference between external subroutine and subprogram?
Explain how are you going to remove duplicates from the file that is being read?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Tell me what type of files we can process thru file-aid?
What is a hyperdescriptor? How does it work?
How are you going to remove duplicates from the file that is being read?
How to receive data passed through jcl parm parameter in a natural program?
How to find occurrence of mu and pe fields in a file?
Explain the data storage?
How to create 1 ddm that fetches 3 adabas files simultaneously?