Would like to know if have an expecific command that
returns a code or something about the execution of a
CALLNAT.
For example
...
CALLNAT 'SUBPRG' [parameter] [parameter] ...
[here comes a code or command that checks if the CALLNAT
was successful]

Answer Posted / jaishree

There is no command that says if the CALLNAT was sucessful.
You will need to internally define a logic in the
subprogram so that when read in main program will say that
the execution was successful.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are you going to remove duplicates from the file that is being read?

717


What is data trace system 2.0 used for?

5392


Explain difference between escape(top or bottom) and escape immediate(top or bottom?

851


Explain how to find occurrence of mu and pe fields in a file?

708


How to receive data passed through jcl parm parameter in a natural program?

753


Explain why do we use file-aid for seqential files?

772


What is the difference between read work file 1 and read work file once? Why we are using work file once?

736


The natural file converted to PDF file if Yes then explain ?

2864


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

770


Explain the difference between external subroutine and subprogram?

856


Explain difference between read(1) and read work file once?

719


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

729


Explain the data storage?

759


Explain control variable in online screens?

774


What is the quality process in development?

794