1
MP Server / Re: File loaded into CMOD but no trace found in System Log and System Load
« on: August 17, 2015, 01:38:41 AM »
Loading using arsadmin load command also does not put a 87 log message
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <arscsxit.h>
#include <stdio.h>
ArcI32
ARSCSXIT_EXPORT
ARSCSXIT_API
LOADEXIT( ArsCSXitLoadExit *load )
{
printf("LOAD ID : %s",load->load_id);
ArcI32 rc;
rc = 0;
return( rc );
}
OnDemand Load Id = >5018-1-0-14FAA-14964-14964<
Loaded 1 rows into the database
Document compression type used - OD77. Bytes Stored = >908< Rows = >1<
LOAD ID : 5018-1-0-14FAA-14964-14964
SQL : Select Id, Agid, dec2bin(Doc_Perms) From Arsagperms
Oracle Function :
CREATE OR REPLACE FUNCTION dec2bin (N in number) RETURN varchar2 IS
binval varchar2(64);
N2 number := N;
BEGIN
while ( N2 > 0 ) loop
binval := mod(N2, 2) || binval;
N2 := trunc( N2 / 2 );
end loop;
return binval;
END dec2bin;