difference between read(1) and read work file once ?
Answers were Sorted based on User's Feedback
Answer / niki
Read(1) file1 in physical sequence:
1. Used to raed adabas file.
2. here (1 ) represents the number of record to be read
its a processing loop eg
Read(1) file1 in physical sequence
--
---
---
end-read
read work file :
1. Used to read flate file.
2. Once option is used to read only one record
3. its not a processing loop
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / dd
Basically no difference.
Both of the statements are used for reading a single record
from the work file.So both will give only one record.
| Is This Answer Correct ? | 0 Yes | 13 No |
Explain control variable in online screens?
The natural file converted to PDF file if Yes then explain ?
Tell me what type of files we can process thru file-aid?
Explain the address converter?
How can we see the copy book length using file-aid?
How to receive data passed through jcl parm parameter in a natural program?
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 ?
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]
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?
Types Of Read , FIND
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain how are you going to remove duplicates from the file that is being read?