I am very new to Natural and am trying to execute a program in the natural editor using the Create object option:
in the below screen :
Code Function C Create Object E Edit Object R Rename Object D Delete Object X Execute Program L List Object(s) S List Subroutines Used ? Help . Exit Code .. _ Type .. _ Name .. ________________________________
I created the program which is to read a file using the ISN of a record and display 2 fields and saved it.
For example consider this code for reading the file which has the DDM name EMPLOYEE
> + Program TEST
0010 DEFINE DATA LOCAL
0020 1 EMPLOYEE VIEW OF EMPLOYEE
0030 2 EMPLOYEE-NAME
0040 2 EMPLOYEE-ID
0060 READ (1) EMPLOYEE WITH ISN = 123456
0070 DISPLAY EMPLOYEE EMPLOYEE-ID
The check command shows that there are no syntax errors
However when I try to execute this program using the X option , I get the foll error :
ERROR: 0082 PROGRAM: TEST ERROR LINE: 0000 STATUS: C
Can someone help!