If the number of parameter is more than the expected then
NAT0919 error is displayed. How many parameter are allowed
in a CALL and CALLNAT statement?
Answers were Sorted based on User's Feedback
Answer / dipti karale
If you call an external program using CALL INTERFACE4 '<pgmnam>' then you may specify unlimited number of parameters to the external program. If you are using the CALL statement without the INTERFACE4 then only 40 parameters can be specified with the CALL statement.
As for the CALLNAT statement, I have used up to 500 parameters but not quite sure the maximum parameters allowed with a CALLNAT statement.
| Is This Answer Correct ? | 4 Yes | 0 No |
Can we see the copy book length using file-aid?
How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.
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 find occurrence of mu and pe fields in a file?
Can you explain control variable in online screens?
Describe the COBOL coding sheet
2 Answers Cap Gemini, Royal Infotech,
what is the difference between read and find ?
what type of files we can process thru file-aid
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]
What is the difference between read(1) and read work file once?
Explain control variable in online screens?
What is Natural?