Hi,
The #CONFIG/#ENDCONFIG was introduced in PBP3 and the first piece of code you posted was written when the CONFIG was handled in a different way.
If you have a config block within ASM/ENDASM and compile it with PBP3 you will get the error message that you get because PBP3 then it then tries to use "both" the default configuration from the .PBPINC file AND the ones in the ASM/ENDASM block - kind of.
If you want to use the configuration in the first piece of code then simply change ASM to #CONFIG and ENDASM to #ENDCONFIG. It'll then use that configuration instead of the defauly and I think you'll be fine.
/Henrik.
Bookmarks