What is the necessary keyword used in a physical file to refer field definitions from the field reference file?
Answer Posted / ravikant kumar
REF which is a file level keyword is necessary to define at file level in a physical file.
The syntax is as follows:
REF(library name/name of the field reference file)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can level check error occur if we do chgpf?
what is message subfile?
difference between view and index ?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
what opcode could be used to test an alphanumeric field for all numeric values?
what is the use of dspatr(mdt) keyword?
when do you use f-spec. Continuation line ?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what is the maximum number of record formats in dspf?
what are dds required for subfile?
what is overlay?
how do you know that records are locked?
records can be read/update/deleted with which file?
how many printer files can be defined in f specs ?
How to add 99 menu (page down) option in menu creation..