Closed irfanshar closed 4 months ago
The problem is here. Recipes that use extractAndLaunch are still outputting to output.log instead of their own log files.
The fix is easy, just change from using $(LOGFILE)
to $(logfile)
.
However, this now brings to light a pre-existing problem.
In https://github.com/IBM/bob-recursive-example we have QCLSRC/PAR201.CLLE
and QILESRC/PAR201.ILEPGM
.
If we make the change, both will generate a PAR201.splf, and whichever object is built more recently will overwrite the previous one.
@edmundreinhardt if two files have the same name, but in different directories, what behaviour do you think makes sense for our splf.
I was thinking of updating our logic to object.extension.splf
.
So in our example we would have PAR201.CLLE.splf
and PAR201.ILEPGM.splf
.
What do you think?
This is an excellent question.
I suppose the only way to be absolutely sure we are not conflicting is to use the path as well.
i.e.
QCLSRC_PAR201_CLLLE.splf
QILESRC_PAR201._ILEPGM.splf
I am using _ because we get into trouble sometimes with the . when code is parsing for file extensions
Spool files are not generated for any recipes that use extractAndLaunch.sh, but the joblog.json shows that they exit