Over the years I have tried to setup the defaults file for use when running adpatch but it just never seemed to work like it should for me so I thought I would revisit is again and ask the group for feedback.
What I have tried is this:
adpatch defaultsfile=$APPL_TOP/admin/$INST/defaults.txt and then I was told to type '
abort' when it prompts for the 'default directory' (ie. just after the
Enter the directory where your Oracle Applications patch has been unloaded prompt.
Then I try and run adpatch with options like this:
adpatch defaultsfile=$APPL_TOP/admin/$INST/defaults.txt logfile=28685719.log patchtop=/stage/patchtop//28685719 interactive=no workers=4
But adpatch knows my last patch didn't complete so I get this sort of output:
Your previous AutoPatch session did not run to completion.***Do you wish to continue with your previous AutoPatch session ?***AutoPatch could not find a response to the above promptor found an incorrect response in the defaults file.You must run AutoPatch in an interactive sessionand provide a correct value.You should check the fileSo what I found was if I add '
abandon=yes' to my command and run it again then it works and then I can now run adpatch and provide it with my defaults file and the patch and log name and it finally works like I hoped it would but it seems like it shouldn't be that hard and I am perhaps doing something wrong. Anyone use this feature?
------------------------------
Mark Schlechte
DBA
City of Regina
Regina SK
------------------------------