In SQL RPGLE program, I declare a cursor using a view..
The view has name Emp_Pat_Dept_Data(EMPdata)
the empdata is the AS400 name. In my cursor def which name I should use. Also for the fields referenced do I need to use the renamed field names in the view definition or I can use the field names in the actual PF