I am brand new to RPG programming.
With the code above I am trying to define an external table file and prefix it. However when I try to set any fields from the Venshipp print file, like so:
I get a compile error stating: the name or indicator is not defined. This happens with all fields from Venshipp.
Am I missing something obvious here? My understanding of RPG is once you define an external files you can make reference to its fields, am I defining the file incorrectly?
Code:
F/SPACE 2 FVShpPerf IF E K Disk Prefix(sp) FVenshipp O E Printer Prefix(rpt) OfLInd(*IN90)
Code:
Z-ADD 0 rptRptTot
Am I missing something obvious here? My understanding of RPG is once you define an external files you can make reference to its fields, am I defining the file incorrectly?
Comment