My Oracle Support Banner

R12.2: 'Maintain Snapshot' Option Fails With "Incorrect number of arguments" Error (Doc ID 1925217.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Applications DBA - Version 12.2 to 12.2.4 [Release 12.2]
Information in this document applies to any platform.


When attempting to run 'Maintain Snapshot' using adadmin in EBS 12.2.x version, the following error occurs:

Reading: Product = "[prod_short_name]", Directory = "sql"

Incorrect number of arguments at line [n1] of temporary output file:
Expected 2 arguments, found [n2]

AD Administration error:

Unable to get files for "patch" subdirectory

adusnapMaintainSnapshot() : Error calling adusnapUpdateCurrentView2()

 Recording Adadmin action :ADADMIN_UPDATE_CURRENT_VIEW
Error calling adusnapPartialCurVw()
Error calling adusnapMaintainSnapshot

The issue can be reproduced at will with the following steps:
1. Upgrade to AD/TXK delta 5.
2. Run 'Maintain Snapshot' using adadmin.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.