V. 9.1.1
Ahh... i think I've figured it out, not sure i fully understand why.
Original Code:
Program FA3631S type VGWebTransaction //VAGen Info - web transaction program
{
includeReferencedFunctions = yes, allowUnqualifiedItemReferences = yes,
throwNrfEofExceptions = yes, handleHardIOErrors = no, V60ExceptionCompatibility = yes,
I4GLItemsNullable = no, textLiteralDefaultIsString = no, localSQLScope = yes, enableJ2EE = yes,
inputRecord = CW-STAFF, inputUIRecord = FA3631UI1
}
// Data Declarations
....
function main()
// VAGen Info - initialization needed for migration
VAGen_EZESYS = VGLib.getVAGSysType();
FA3631-MAIN: FA3631-MAIN();
end // end main
end //FA3631S
Function FA3631-MAIN()
VGVar.handleHardIOErrors = 1; /* Handle hard errors*/
FA3631-ACCESS();
FA3631-GET-ID();
FA3631-IO-PROCESS();
FA3631-XFER-UI1();
end //FA3631-MAIN
The open select was working with the main. I think it needed the label since the function is actually outside of the program, but inside the member. This is how programs were converted as we migrated from VaGen. With our new development all the functions in the member are inside the program. When I move the functions to be inside the program all is right with the world (ok just the F3 but that's what I was hoping for).
David.Durand