syntax for all WRITE COMMAND in natural language
Answers were Sorted based on User's Feedback
Answer / euler
You must put ' ' at begin and end of your text.
like this:
WRITE 'HERE COMES YOUR TEXT'
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ragha deepthi
if we want to display the value of the variable then
write #variable
if we want to display the literal or string then
write 'all izzz well'
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sundar selvaraj
I suggest you refer to natural documentation online. It is
available at:
http://documentation.softwareag.com/natural/nat424mf/overvie
w.htm
Note: This is for version 4.2.4
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / joydeep
Write has got lot of syntaxes, parameters, formats. The
simplest is -
WRITE String/literals/variables
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / euler
You can use the "perform subroutine name-of-routine" to make what you want with the 'go to'; you call a subroutine and treat one variable choosen for you when the program return back to the normal point.
| Is This Answer Correct ? | 0 Yes | 0 No |
differnce between read work file 1 and read work file once? why we are using work file once?
The natural file converted to PDF file if Yes then explain ?
What is the difference between External subroutine and subprogram?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Can we see the copy book length using file-aid?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Explain why do we use file-aid for seqential files?
How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.
What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.
what is the difference between read and find ?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
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]