Hello All,
I have a situation where I have 2 physical files. File A and File B for the sake of this discussion. File A is my base PF, meaning the fields in here won't change. However in File B, on occasion fields will be added and dropped. I would like to create a relationship between the two files or tables so I can have access to new fields as they are added. I familiar with creating PF and LF but we would like to get around having to recompile all programs that use File B. I was told I could create a view. Is it possible to read a view in RPGLE? Or would I have to do embedded SQL to read the view.
Any help on this topic will be appreciated.
I have a situation where I have 2 physical files. File A and File B for the sake of this discussion. File A is my base PF, meaning the fields in here won't change. However in File B, on occasion fields will be added and dropped. I would like to create a relationship between the two files or tables so I can have access to new fields as they are added. I familiar with creating PF and LF but we would like to get around having to recompile all programs that use File B. I was told I could create a view. Is it possible to read a view in RPGLE? Or would I have to do embedded SQL to read the view.
Any help on this topic will be appreciated.