Operator ++ on Character?
I have to make an excerise for school,
program is supposes to Keep count of the times a character has been typed in a string.
i'm realy stuck on the part where i have to count the chars
can somebody help me out please
so here is my code so far
public class Letters {
private String invoer;
private HashMap <Character,Integer> chars;
public Letters() {
chars = new HashMap<Character,Integer>();
public void read() {
Scanner scanner = new Scanner(System.in);
scanner.useDelimiter("\n");
System.out.print("Geef een zin:");
invoer = scanner.next();
public void count() {
for(int i=0;i<chars.size();i++){
switch (invoer.charAt(i))
case 'a' : Letters.put('a',character(a)); break;
public void showCharacters() {
}Edited by: muckv on Feb 28, 2008 8:21 AM
muckv wrote:
is there way to avoid 26 counters?Yes. Each letter you get check the map for an existing entry. If there is one, then add one to it and overwrite. If not simply store "1" against the letter. And use a TreeMap, that way your results automatically come out in alphabetical order.
Similar Messages
-
Regular Expression Character Sets with Pattern and Matcher
Hi,
I am a little bit confused about a regular expressions I am writing, it works in other languages but not in Java.
The regular expressions is to match LaTeX commands from a file, and is as follows:
\\begin{command}([.|\n\r\s]*)\\end{command}
This does not work in Java but does in PHP, C, etc...
The part that is strange is the . character. If placed as .* it works but if placed as [.]* it doesnt. Does this mean that . cannot be placed in a character range in Java?
Any help very much appreciated.
Kind Regards
Paul BainIn PHP it seems that the "." still works as a all character operator inside character classes.
The regular expression posted did not work, but it does if I do:
\\begin{command}((.|[\n\r\s])*)?\\end{command}
Basically what I'm trying to match is a block of LaTeX, so the \\begin{command} and \\end{command} in LaTeX, not regex, although the \\ is a single one in LaTeX. I basically want to match any block which starts with one of those and ends in the end command. so really the regular expression that counts is the bit in the middle, ((.|[\n\r\s])*)?
Am I right it saying that the "?" will prevent the engine matching the first and last \\bein and \\end in the following example:
\\begin{command}
some stuff
\\end{command}
\\begin{command}
some stuff
\\end{command} -
Start extract msext: OGG-00551 Database operation failed
Hi all,
GG Sqlserver2008 to Oracle11gR2.
I have configured the above setup.
Initial LOAD was successful, using the following prms
Source:(inext.prm)
=====
SOURCEISTABLE
SOURCEDB HR, userid sa, password sa
RMTHOST dtc-pc, MGRPORT 7809
RMTFILE d:\GGora\dirdat\ex
TABLE hrschema.emp;
Target: (inload.prm)
=====
SPECIALRUN
END RUNTIME
USERID gg_user, PASSWORD welcome1
EXTFILE d:\ggora\dirdat\ex
SOURCEDEFS d:\ggora\dirdef\emp.def
MAP hrschema.emp, TARGET gg_user.emp;
Then I proceed to LIVE DATA CAPTURE. But my extract process got error? maybe the prm is not correct?
Source: (msext.prm)
===============
EXTRACT MSEXT
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
SOURCEDB HR, userid sa, password sa
RMTHOST dtc-pc, MGRPORT 7809
RMTTRAIL d:\ggora\dirdat\ms
TABLE HRSCHEMA.EMP;
Target: (msrep.prm)
==============
REPLICAT MSREP
USERID gg_user, PASSWORD welcome1
SOURCEDEFS d:\ggora\dirdef\emp.def
MAP hrschema.emp, TARGET gg_user.emp;
I got error on the source EXTRACT MSEXT
2013-06-21 23:35:01 ERROR OGG-00551 Database operation failed: Couldn't connect to HR. ODBC error: SQLSTATE 37000 native database error 4060. [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "emp" requested by the login. The login failed.
2013-06-21 23:35:01 ERROR OGG-01668 PROCESS ABENDING.
ggserr.log
=======
2013-06-21 23:31:18 INFO OGG-00983 Oracle GoldenGate Manager for SQL Server, mgr.prm: Manager started (port 7808).
2013-06-21 23:32:37 INFO OGG-00987 Oracle GoldenGate Command Interpreter for SQL Server: GGSCI command (DTC): start manager.
2013-06-21 23:35:00 INFO OGG-00987 Oracle GoldenGate Command Interpreter for SQL Server: GGSCI command (DTC): start extract msext.
2013-06-21 23:35:00 INFO OGG-00963 Oracle GoldenGate Manager for SQL Server, mgr.prm: Command received from GGSCI on host DTC-PC.domain:51376 (START EXTRACT MSEXT ).
2013-06-21 23:35:00 INFO OGG-00975 Oracle GoldenGate Manager for SQL Server, mgr.prm: EXTRACT MSEXT starting.
2013-06-21 23:35:01 INFO OGG-00992 Oracle GoldenGate Capture for SQL Server, MSEXT.prm: EXTRACT MSEXT starting.
2013-06-21 23:35:01 INFO OGG-03035 Oracle GoldenGate Capture for SQL Server, MSEXT.prm: Operating system character set identified as windows-1252. Locale: en_PH, LC_ALL:.
2013-06-21 23:35:01 ERROR OGG-00551 Oracle GoldenGate Capture for SQL Server, MSEXT.prm: Database operation failed: Couldn't connect to HR. ODBC error: SQLSTATE 37000 native database error 4060. [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "emp" requested by the login. The login failed.
2013-06-21 23:35:01 ERROR OGG-01668 Oracle GoldenGate Capture for SQL Server, MSEXT.prm: PROCESS ABENDING.
=========
I can login to HR using ggsci
=====================
GGSCI (DTC-PC) 8> dblogin sourcedb hr, userid sa, password sa
2013-06-22 00:23:26 INFO OGG-03036 Database character set identified as windows-1252. Locale: en_US.
2013-06-22 00:23:26 INFO OGG-03037 Session character set identified as windows-1252.
Successfully logged into database.
Please help...
Thanks a lot,
zxyHi all,
For the succeeding LIVE CAPTURE LOADING:
I resolved my issue by using the ODBC System DSN "Sqlserver native client" driver.
It failed if I use the ODBC System DSN "Sqlserver" driver
On the other hand the INITIAL LOAD, is good with the reverse.
It is ok with the DSN "Sqlserver" driver only and not the native client driver.
Thanks a lot, -
Db character set, client character set, OS character set
Hi,
I'm confused about all these character set: DB character set, National character set, Client character set, Operating system character set, NLS_LANGUAGE parameter in init.ora file, NLS_LANG parameter in registry.
Can anyone explain the differences of these to me?
Many thanks.Hi 101514,
The answers to your questions are listed here in the Globalization Support FAQ on OTN.
http://technet.oracle.com/tech/globalization/content.html
Regards
Nat -
Initial load failing between identical tables. DEFGEN skewed and fixable?
Initial load failing between identical tables. DEFGEN skewed and fixable?
Error seen:
2013-01-28 15:23:46 WARNING OGG-00869 [SQL error 0 (0x0)][HP][ODBC/MX Driver] DATETIME FIELD OVERFLOW. Incorrect Format or Data. Row: 1 Column: 11.
Then compared the discard record against a select * on the key column.
Mapping problem with insert record (target format)...
**** Comparing Discard contents to Select * display
ABCHID = 3431100001357760616974974003012 = 3431100001357760616974974003012
*!!! ABCHSTEPCD = 909129785 <> 9 ???*
ABCHCREATEDDATE = 2013-01-09 13:43:36 = 2013-01-09 13:43:36
ABCHMODIFIEDDATE = 2013-01-09 13:43:36 =2013-01-09 13:43:36
ABCHNRTPUSHED = 0 = 0
ABCHPRISMRESULTISEVALUATED = 0 = 0
SABCHPSEUDOTERM = 005340 = 005340
ABCHTERMID = TERM05 = TERM05
ABCHTXNSEQNUM = 300911112224 = 300911112224
ABCHTIMERQSTRECVFROMACQR = 1357799914310 = 1357799914310
*!!! ABCTHDATE = 1357-61-24 00:43:34 <> 2013-01-09 13:43:34*
ABCHABCDATETIME = 2013-01-09 13:43:34.310000 = 2013-01-09 13:43:34.310000
ABCHACCOUNTABCBER =123ABC = 123ABC
ABCHMESSAGETYPECODE = 1210 = 1210
ABCHPROCCDETRANTYPE = 00 = 00
ABCHPROCCDEFROMACCT = 00 = 00
ABCHPROCCDETOACCT = 00 = 00
ABCHRESPONSECODE = 00 = 00
…. <snipped>
Defgen comes out same when run against either table.
Also have copied over and tried both outputs from DEFGEN.
+- Defgen version 2.0, Encoding ISO-8859-1
* Definitions created/modified 2013-01-28 15:00
* Field descriptions for each column entry:
* 1 Name
* 2 Data Type
* 3 External Length
* 4 Fetch Offset
* 5 Scale
* 6 Level
* 7 Null
* 8 Bump if Odd
* 9 Internal Length
* 10 Binary Length
* 11 Table Length
* 12 Most Significant DT
* 13 Least Significant DT
* 14 High Precision
* 15 Low Precision
* 16 Elementary Item
* 17 Occurs
* 18 Key Column
* 19 Sub Data Type
Database type: SQLMX
Character set ID: ISO-8859-1
National character set ID: UTF-16
Locale: en_EN_US
Case sensitivity: 14 14 14 14 14 14 14 14 14 14 14 14 11 14 14 14
Definition for table RT.ABC
Record length: 1311
Syskey: 0
Columns: 106
ABCHID 64 34 0 0 0 0 0 34 34 34 0 0 32 32 1 0 1 3
ABCHSTEPCD 132 4 39 0 0 0 0 4 4 4 0 0 0 0 1 0 0 0
ABCHCREATEDDATE 192 19 46 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
ABCHMODIFIEDDATE 192 19 68 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
ABCHNRTPUSHED 130 2 90 0 0 0 0 2 2 2 0 0 0 0 1 0 0 0
ABCHPRISMRESULTISEVALUATED 130 2 95 0 0 0 0 2 2 2 0 0 0 0 1 0 0 0
ABCHPSEUDOTERM 0 8 100 0 0 0 0 8 8 8 0 0 0 0 1 0 0 0
ABCTERMID 0 16 111 0 0 0 0 16 16 16 0 0 0 0 1 0 0 0
ABCHTXNSEQNUM 0 12 130 0 0 0 0 12 12 12 0 0 0 0 1 0 0 0
ABCHTIMERQSTRECVFROMACQR 64 24 145 0 0 0 0 24 24 24 0 0 22 22 1 0 0 3
ABCTHDATE 192 19 174 0 0 0 0 19 19 19 0 5 0 0 1 0 0 0
ABCHABCDATETIME 192 26 196 0 0 1 0 26 26 26 0 6 0 0 1 0 0 0
ABCHACCOUNTABCER 0 19 225 0 0 1 0 19 19 19 0 0 0 0 1 0 0 0
ABCHMESSAGETYPECODE 0 4 247 0 0 1 0 4 4 4 0 0 0 0 1 0 0 0
ABCHPROCCDETRANTYPE 0 2 254 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
ABCHPROCCDEFROMACCT 0 2 259 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
ABCHPROCCDETOACCT 0 2 264 0 0 1 0 2 2 2 0 0 0 0 1 0 0 0
ABCHRESPONSECODE 0 5 269 0 0 1 0 5 5 5 0 0 0 0 1 0 0 0
… <snipped>
The physical table shows a PACKED REC 1078
And table invoke is:
-- Definition of table ABC3.RT.ABC
-- Definition current Mon Jan 28 18:20:02 2013
ABCHID NUMERIC(32, 0) NO DEFAULT HEADING '' NOT
NULL NOT DROPPABLE
, ABCHSTEPCD INT NO DEFAULT HEADING '' NOT NULL NOT
DROPPABLE
, ABCHCREATEDDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
NULL NOT DROPPABLE
, ABCHMODIFIEDDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
NULL NOT DROPPABLE
, ABCHNRTPUSHED SMALLINT DEFAULT 0 HEADING '' NOT NULL NOT
DROPPABLE
, ABCHPRISMRESULTISEVALUATED SMALLINT DEFAULT 0 HEADING '' NOT NULL NOT
DROPPABLE
, ABCHPSEUDOTERM CHAR(8) CHARACTER SET ISO88591 COLLATE
DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
, ABCHTERMID CHAR(16) CHARACTER SET ISO88591 COLLATE
DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
, ABCHTXNSEQNUM CHAR(12) CHARACTER SET ISO88591 COLLATE
DEFAULT NO DEFAULT HEADING '' NOT NULL NOT DROPPABLE
, ABCHTIMERQSTRECVFROMACQR NUMERIC(22, 0) NO DEFAULT HEADING '' NOT
NULL NOT DROPPABLE
, ABCTHDATE TIMESTAMP(0) NO DEFAULT HEADING '' NOT
NULL NOT DROPPABLE
, ABCHABCDATETIME TIMESTAMP(6) DEFAULT NULL HEADING ''
, ABCHACCOUNTNABCBER CHAR(19) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
, ABCHMESSAGETYPECODE CHAR(4) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
, ABCHPROCCDETRANTYPE CHAR(2) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
, ABCHPROCCDEFROMACCT CHAR(2) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
, ABCHPROCCDETOACCT CHAR(2) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
, ABCHRESPONSECODE CHAR(5) CHARACTER SET ISO88591 COLLATE
DEFAULT DEFAULT NULL HEADING ''
…. Snipped
I suspect that the fields having subtype 3 just before the garbled columns is a clue, but not sure what to replace with or adjust.
Any and all help mighty appreciated.Worthwhile suggestion, just having difficulty applying.
I will tinker with it more. But still open to more suggestions.
=-=-=-=-
Oracle GoldenGate Delivery for SQL/MX
Version 11.2.1.0.1 14305084
NonStop H06 on Jul 11 2012 14:11:30
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-01-31 15:19:35
Operating System Version:
NONSTOP_KERNEL
Version 12, Release J06
Node: abc3
Machine: NSE-AB
Process id: 67895711
Description:
** Running with the following parameters **
2013-01-31 15:19:40 INFO OGG-03035 Operating system character set identified as ISO-8859-1. Locale: en_US_POSIX, LC_ALL:.
Comment
Comment
REPLICAT lodrepx
ASSUMETARGETDEFS
Source Context :
SourceModule : [er.init]
SourceID : [home/ecloud/sqlmx_mlr14305084/src/app/er/init.cpp]
SourceFunction : [get_infile_params]
SourceLine : [2418]
2013-01-31 15:19:40 ERROR OGG-00184 ASSUMETARGETDEFS is not supported for SQL/MX ODBC replicat.
2013-01-31 15:19:45 ERROR OGG-01668 PROCESS ABENDING. -
ABAP/4 Keywords for all SAP R/3 Versions
Hello Experts,
Is there any DB Table available in Data Dictionary where all these ABAP/4 Keywords available; if yes do please let me know if not available then do please provide me with all ABAP/4 Keywords of all versions of SAP R/3 if possible
points will be awarded if helpful.
Thanks in AdvanceHello Arif,
There no particular table to check all the key words in ABAP.
To check system fields Go for
Se11-- SYST.
TO get the key words go to ABAPDOCU- type ur required key word in the search given in the last section.
The best option would be to debug ABAPDOCU, when you do a click on Keywords
Or Check the Pooled table : TSE05
As you must be knowing ABAPDOCU is in SABAPDOCU Package.....!!
There are a number of tables used; like ABTREE,etc !
Explore and find whether you can get some clue!
Find the keywords here...
Keywords Description
, [, ], {, } Syntax conventions, Syntax notation
*, " Comments
** Arithm. Operator: Exponentiation (COMPUTE)
+, -, *, / Arithmetical operators (COMPUTE)
->, =>, ->>, ~, ?= Operators in ABAP Objects
ABS Mathematical function: Absolute amount COMPUTE)
ACOS Mathematical function: Cosine arc (COMPUTE)
ADD Add
ADD-CORRESPONDING Field string addition
ADJACENT DUPLICATES Delete duplicates from internal table (DELETE)
AND Comparison operator: and
ANY TABLE Generic table type for internal tables
APPEND Append line to internaltable
ASIN Mathematical function: Sine arc (COMPUTE)
ASSIGN Assign field symbol
AT Event, control break, field group determination
ATAN Mathematical function: Tangent arc
AUTHORITY-CHECK Check authorization
AVG Aggregate expression: Average (SELECT)
BACK Positioning in list
BETWEEN Relational operator: Between
BINARY SEARCH Binary read of internaltable (READ TABLE)
BIT-NOT Bit calculation operator: NOT (COMPUTE)
BIT-AND Bit calculation operator: AND (COMPUTE)
BIT-OR Bit calculation operator: OR (COMPUTE)
BIT-XOR Bit calculation operator: AND/OR (COMPUTE)
SET BIT Set bit of an X field
GET BIT Read bit of an X field
BLANK LINES Switch on blank lines in list
BREAK-POINT Stop processing in debug mode
C Data type for fixed-length character string
CA Contains any characters -Relational operator forstring comparison
CALL Call external component
CASE Begin case distinction
CATCH Exception handling (catch runtime errors)
CEIL Mathematical function: Smallest whole value
CENTERED Output format: Centered(WRITE)
CHECK Check condition
CHECKBOX Display as checkbox
PARAMETERS ... AS CHECKBOX on the selection screen
WRITE ... AS CHECKBOX in a list
CLASS Definition of a class
CLASS-DATA Static attributes in classes
CLASS-METHODS Static methods in classes
CLASS-EVENTS Static events in classes
CLASS-POOL Introduction for type Kprograms
CLEAR Initialize data object
CLIENT Client handling when
DELETE ... CLIENT SPECIFIED deleting from a database
EXPORT ... TO DATABASE ... CLIENT Storing a data cluster
IMPORT ... FROM DATABASE ... CLIENT Reading a data cluster
EXPORT ... TO SHARED BUFFER ... CLIENT Storing a data cluster
IMPORT ... FROM SHARED BUFFER ... CLIENT Reading a data cluster
INSERT ... CLIENT SPECIFIED inserting into a database
MODIFY ... CLIENT SPECIFIED Insert/Modify in database(s)
SELECT ... CLIENT SPECIFIED reading from a database
UPDATE ... CLIENT SPECIFIED updating a database
CLOSE Close file/cursor
CN Contains Not Only - Relational operator for character comparison:
CNT Field groups: Number ofdifferent values
CO Contains Only - Relational operator for character comparison:
CODE PAGE Character set
TRANSLATE ... FROM/TOCODE PAGE Translate character codes
COLLECT Internal table: Add entries
COLOR Output format: Color (FORMAT)
COMMENT Comment on selection screen
SELECTION-SCREEN COMMENT Generate comment
COMMIT Close processing unit
COMMUNICATION Data exchange
COMPUTE Perform calculations
CONCATENATE Concatenate character fields
CONDENSE Condense character fields
CONSTANTS Defing constants
CONTEXTS Communicate contexts
CONTINUE Exit current loop pass
CONTROLS Define controls for visualization
CONVERT Convert fields
COS Mathematical function: Cosine (COMPUTE)
COSH Mathematical function: Hyperbola cosine (COMPUTE)
COUNT Aggregate expression: Count (SELECT)
COUNTRY Set country ID (SET)
CP Relational operator forcharacter comparison:
DATABASE Contains Pattern
CREATE Generate an object or data object
CS Contains character - Relational operator forcharacter comparison
CURRENCY Output format: Correct format for currency (WRITE)
CURSOR Cursor
CLOSE Close database cursor
FETCH NEXT CURSOR Read lines with a database cursor
GET CURSOR FIELD Get field name
OPEN CURSOR Open database cursor
SET CURSOR Position cursor
CUSTOMER-FUNCTION Call customer enhancement
DATA Define data
DATABASE Data cluster
DELETE FROM DATABASE Delete from a database table
EXPORT ... TO DATABASE Store in a databasetable
IMPORT ... FROM DATABASE Read from a database table
DATASET Sequential file
CLOSE DATASET Close file
DELETE DATASET Delete file
EXPORT ... TO DATASET Store data cluster in file
IMPORT ... FROM DATASET Read data cluster from file
OPEN DATASET Open file Open file
READ DATASET Read from a file
TRANSFER Output to a file
DECIMALS Output format: Places after the decimal point - (WRITE)
DEFINE Define macro
DELETE Delete from tables or from objects
DEMAND Request information from a context
DESCRIBE Determine attributes ofdata objects
DIALOG Call a dialog module (CALL)
DISTINCT Duplicates
SELECT DISTINCT Selection set without duplicates
AVG( DISTINCT ... ) Average without duplicates (SELECT)
COUNT( DISTINCT ... ) Sequential file
MAX( DISTINCT ... ) Maximum without duplicates (SELECT)
MIN( DISTINCT ... ) Minimum without duplicates (SELECT)
SUM( DISTINCT ... ) Sum without duplicates (SELECT)
DIV Arithmetic operator: Whole number division
DIVIDE Divide
DIVIDE-CORRESPONDINGField string division Field string division
DO Loop
DYNPRO Screen Screen
DELETE DYNPRO Delete Delete
EXPORT DYNPRO Export Export
GENERATE DYNPRO Generate Generate
IMPORT DYNPRO Import Import
SYNTAX-CHECK FOR DYNPRO Check Check
EDITOR-CALL Call editor
ELSE Query
ELSEIF Query
END-OF-DEFINITION End of a macro definition
END-OF-PAGE Event: End of page handling in lists
END-OF-SELECTION Event: After processingof all records in a LDB
ENDAT End of an event introduced by AT
ENDCASE End of case distinction
ENDCATCH End of exception handling
ENDDO End of a DO loop
ENDEXEC End of a Native SQL statement
ENDFORM End of a subroutine
ENDFUNCTION End of a function module
ENDIF End of a query
ENDINTERFACE End of an interface definition
ENDLOOP End of a LOOP
ENDMODULE End of a module definition
ENDON End of a conditional statement
ENDPROVIDE End of a PROVIDE loop
ENDSELECT End of a SELECT loop
ENDWHILE End of a WHILE loop
EQ Relational operator: Equals
EXEC SQL Native SQL statement
EXIT Exit loop or terminate processing
EXP Mathematical function: Exponential function
EXPONENT Output format: Exponentdisplay (WRITE)
EXPORT Export data
EXTENDED CHECK Switch extended syntax check on/off (SET)
EXTRACT Generate extract dataset
FETCH Read line from a database table
FIELD-GROUPS Define field groups
FIELD-SYMBOLS Define field symbols
FLOOR Mathematical function:Largest whole value
FORM Define subroutine
FORMAT Output format for lists
FOR UPDATE Read database table with lock (SELECT)
FRAC Mathematical function: Fraction (COMPUTE)
FREE Release resources no longer needed
FUNCTION Define function module
CALL FUNCTION Call function module
FUNCTION-POOL Introduction for type Fprograms
GE Relational operator: Greater than or equal
GENERATE Generate a program or screen
GET Event, read settings
GT Relational operator: Greater than
HASHED TABLE Table type for internalhashed tables
HEADER LINE Define an internal table with header line (DATA)
HELP-ID Help ID for F1 help
DESCRIBE FIELD ... HELP-ID Determine help ID
HELP-REQUEST Self-programmed help (F1)
PARAMETERS ... HELP-REQUEST for parameters
SELECT-OPTIONS ... HELP-REQUEST for selection options
HIDE Store line information
HOTSPOT Output format: Hotspot,interaction by simple - mouse click (FORMAT)
ICON Icons in lists
IF Query
IMPORT Import data or a screen
IN Relational operator: Selection criterion
INCLUDE Include program components
INDEX Line index in an internal table
INDEX TABLE
DELETE ... INDEX Delete line
INSERT ... INDEX Insert line
MODIFY ... INDEX Modify line
READ TABLE ... INDEX Read line
INFOTYPES Declare HR info type
INITIAL Relational operator: Initial value
INITIAL SIZE Define an internal table type (TYPES)
INITIALIZATION Event: Before display of the selection screen
INPUT Output format: Ready for input (FORMAT)
INSERT Insert into tables or objects
INTENSIFIED Output format: Intensified (FORMAT)
INTERFACE Definition of an interface
INTERFACES Class component interface
INTERFACE-POOL Introduction fortype J programs
INVERSE Output format: Inverse (FORMAT)
IS Relational operator
IS ASSIGNED Relational operator: Is the field symbol assigned?
IS INITIAL Relational operator: Initial value
IS REQUESTED Relational operator: Existence of a formal
parameter
JOIN Join (SELECT)
LANGUAGE Set language for text elements (SET)
LE Relational operator: Less than or equal
LEAVE Leave processing
LEFT-JUSTIFIED Output format: Left-justified (WRITE)
LIKE Use an existing field as areference
TYPES ... LIKE Create a type
DATA ... LIKE Create a field
LINE Line in a list
MODIFY LINE Modify line
READ LINE Read line
LINE-COUNT Number of lines per page (NEW-PAGE)
LINE-SIZE Line size (NEW-PAGE)
LIST-PROCESSING List processing (LEAVE)
LOAD Load program componentsin internal table
LOAD-OF-PROGRAM Execution at load time
LOCAL Rescue actual parameters of a subroutine
LOCAL COPY Assign local copy to a field symbol
LOCALE Set text environment (SET)
SET LOCALE Set text environment
GET LOCALE Determine text environment
LOG Mathematical function: Natural logarithm (COMPUTE)
Logical condition
SELECT ... WHERE when reading database tables
UPDATE ... WHERE when changing database tables
DELETE ... WHERE when deleting fromdatabase tables
SELECT ... FROM ... ON when reading usinga join
LOG10 Mathematical function: Base 10 logarithm (COMPUTE)
LOOP Loop
LT Relational operator: Less than
M Relational operator: Byte contains zeros and ones
MARGIN List output: Distance from edge (SET)
MATCHCODE Matchcode handling
PARAMETERS ... MATCHCODE for parameters
SELECT-OPTIONS ... MATCHCODE for selection options
MAX Aggregate expression: Maximum (SELECT)
MEMORY ABAP/4 memory
EXPORT ... TO MEMORY Roll out data to memory
IMPORT ... FROM MEMORY Restore data from memory
MESSAGE Output message
MESSAGE-ID Specify message class (REPORT)
METHOD Definition of a method
METHODS Class component method
MIN Aggregate expression: Minimum (SELECT)
MOD Arithmetic operator: Remainder after division
(COMPUTE)
MODIFY Modify tables or objects
MODULE Flow logic: Module
MOVE Assignment
MOVE-CORRESPONDING Component-by-component assignment
MULTIPLY Multiply
MULTIPLY-CORRESPONDING Field string multiplication
NA Relational operator forcharacter comparison:
Contains not any characters
NE Relational operator: Not equal
NEW-LINE List processing: New line
NEW-PAGE List processing: New page
NODES Interface work area forlogical databases
NO-GAP Output format: Leave nogaps (WRITE)
NO-HEADING Display no column headers (NEW-PAGE)
NO-SCROLLING Do not scroll line (NEW-LINE)
NO-SIGN Output format: No preceding signs (WRITE)
NO-TITLE Do not display standardpage header (NEW-PAGE)
NO-ZERO Output format: No leading zeros (WRITE)
NON-UNIQUE Defines an
TYPES internal table type
DATA internal table object
NP Relational operator forcharacter comparison:
Does not contain pattern
NS Relational operator forcharacter comparison:
Does not contain character
O Relational operator: Byte positions occupied by1
OBJECT External object
CREATE OBJECT Generate
FREE OBJECT Release
OCCURS Defines an
TYPES internal table type
DATA internal table object
ON CHANGE Control break
OPEN Open file/cursor
OR Relational operator: OR
ORDER BY Sort table rows (SELECT)
OVERLAY Overlay character fields
PACK Conversion
PARAMETER Parameter in global SAP memory
GET Read parameter
SET Set parameter
PARAMETERS Define report parameters
PERFORM Execute subroutine
PF-STATUS Set GUI status
POSITION List processing: Defineoutput position
PRINT Print formatting (NEW-PAGE)
PRINT-CONTROL Define print format
PRIVATE Class area not visible from outside
PROGRAM Introduction for type Mand S programs
LEAVE PROGRAM Leave program
PROPERTY Object property
GET PROPERTY Get property
SET PROPERTY Set property
PROVIDE Internal tables: Interval-related processing
PUT Trigger event
RADIOBUTTON Radio button (PARAMETERS)
RAISE Raise exceptions and events
RAISING Raise error message in function module
RANGES Define internal table for selection criterion
READ Read tables or objects
RECEIVE Receive results (RFC)
REFRESH Delete internal table
REFRESH CONTROL Initialize control
REJECT Do not process current database line further
REPLACE Replace characters
REPORT Introduction for type 1programs
DELETE REPORT Delete program
EDITOR-CALL FOR REPORT Call ABAP program editor
INSERT REPORT Insert program in library
READ REPORT Read program
RESERVE List processing: Conditional new page
RESET Output format: Reset all formats (FORMAT)
RIGHT-JUSTIFIED Output format: Right justified (WRITE)
ROLLBACK Roll back database changes
ROUND Output format: Scaled (WRITE)
RTTI Runtime type identification
RUN TIME ANALYZER Activate/Deactivate runtime analysis (SET)
SCAN Analyze ABAP/4 source code
SCREEN Screen
CALL SCREEN Call screen
SET SCREEN Set next screen
LEAVE SCREEN Leave screen
LEAVE TO SCREEN Branch to a screen
LOOP AT SCREEN Loop through screen fields
MODIFY SCREEN Modify screen fields
SCROLL List processing: Scroll
SCROLL-BOUNDARY List processing: Fix lead columns (SET)
SEARCH Find character
SELECT Read database table
SELECT-OPTIONS Define selection criterion
SELECTION-SCREEN Design selection screen
AT SELECTION-SCREENEvent: After editing ofselection screen
SHARED BUFFER Cross-transaction application buffer
DELETE FROM SHARED BUFFER delete from application buffer
EXPORT ... TO SHARED BUFFER Store data in application buffer
IMPORT ... FROM SHARED BUFFER Read data from application buffer
SELECTION-TABLE Selection table (SUBMIT)
SET Set different processing parameters
SHIFT Move character
SIGN Mathematical function: Sign (COMPUTE)
SIN Mathematical function: Sine (COMPUTE)
SINGLE Select single record (SELECT)
SINH Mathematical function: Hyperbola sine (COMPUTE)
SKIP List processing: Outputblank line
SORT Sort internal table or extract dataset
SORTED TABLE Table type for internaltables that are always kept
SPLIT Split character fields
SQRT Mathematical function: Square root (COMPUTE)
STANDARD TABLE Table type for standardinternal tables
START-OF-SELECTION Event: Before first access to LDB
STATICS Define static data
STOP Stop data selection (LDB)
STRING Data type for variable-length character sequence
STRLEN Character function: Current length (COMPUTE)
STRUCTURE Data structure
INCLUDE STRUCTURE Use structure
SUBMIT Program call
SUBTRACT Subtract
SUBTRACT-CORRESPONDING Field string subtraction
SUM Calculate control total
SELECT ... SUM Aggregate expression: Total
SUPPLY Supply context key fields
SUPPRESS DIALOG Suppress dialog
SYMBOL Output as symbol (WRITE)
SYNTAX-CHECK Syntax check for programs and screens
SYNTAX-TRACE Syntax check log
SYSTEM-CALL Call to various system services
SYSTEM-EXCEPTIONS Catch runtime errors (CATCH)
TABLE LINE Unstructured lines in internal tables
TABLE_LINE Unstructured lines in internal tables
TABLES Declare database table
TABLE Set or array operations for database tables
DELETE ... FROM TABLE Delete block of lines
INSERT ... FROM TABLE Insert block of lines
MODIFY ... FROM TABLE Insert/update block of lines
UPDATE ... FROM TABLE Update block of lines
SELECT ... INTO TABLE Copy block of lines to internal table
TAN Mathematical function: Tangent (COMPUTE)
TANH Mathematical function: Hyperbola tangent (COMPUTE)
TEXT Locale-specific
CONVERT TEXT Set format
SORT itab AS TEXT Sort an internal table
SORT AS TEXT Sort an extract dataset
TEXTPOOL Text elements
DELETE TEXTPOOL Delete
INSERT TEXTPOOL Insert
READ TEXTPOOL Read
TIME Time measurement
GET RUN TIME Get runtime
GET TIME Get time
SET RUN TIME ANALYZER Switch runtime analysison/off
TIME STAMP Time stamp
GET TIME STAMP Get time stamp
CONVERT TIME STAMP Convert time stamps to date/time
WRITE f TIME ZONE Output of time stamps to lists
TITLEBAR Set screen title (SET)
TOP-OF-PAGE Event: Top of page handling in lists
TRANSACTION SAP transaction
CALL TRANSACTION Call
LEAVE TO TRANSACTION Leave to
TRANSFER Output to file
TRANSLATE Character conversion incharacter fields
TRANSPORTING Selective field transport
MODIFY ... TRANSPORTING Modify lines of an internal table
READ ... TRANSPORTING Read lines of an internal table
LOOP ... TRANSPORTING Loop through an internal table
TRUNC Mathematical function: Whole number part (COMPUTE)
TYPE Define a type
TYPES ... TYPE Define a type
DATA ... TYPE Define a field
TYPE-POOL Introduction for type Tprograms
TYPE-POOLS Include type group
TYPES Define types
ULINE List processing: Underscore
UNDER Output format: One under the other (WRITE)
UNIQUE Define an
TYPES internal table type
DATA internal table object
UNIT Output format: Unit (WRITE)
UNPACK Conversion
UPDATE Update database table
USER-COMMAND List processing: Execute command immediately (SET)
USING Use parameter or format
USING Parameter of a subroutine
USING EDIT MASK Output format: Use template (WRITE)
VALUE-REQUEST Self-programmed value help(F4)
PARAMETERS ... VALUE-REQUEST for parameters
SELECT-OPTIONS ... VALUE-REQUEST for selection options
WHEN Case distinction
SELECT ... WHERE when reading from databasetables
UPDATE ... WHERE when changing database tables
DELETE ... WHERE when deleting database tables
LOOP AT ... WHERE when looping at internal tables
DELETE ... WHERE when deleting from internal tables
WHILE Loop
WINDOW List processing: Outputin window
WITH-TITLE Output standard page header (NEW-PAGE)
WORK Processing unit
COMMIT WORK Close unit
ROLLBACK WORK Close unit, but undo changes
WRITE List processing: Output
WRITE TO Correct type output in a variable
X Data type for fixed-length byte sequence
XSTRING Data type for variable-length byte sequence
Z Relational bit operator: Bit positions occupiedby
Regards
Sasidhar Reddy Matli. -
Error when running extract paramfile on windows
can somone please tell me what uncognized parameter is?
E:\GGS>extract.exe PARAMFILE dirprm\inext.prm REPORTFILE dirrpt\inext.rpt
Oracle GoldenGate Capture for SQL Server
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
Windows x64 (optimized), Microsoft SQL Server on Apr 23 2012 07:48:51
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-03-22 12:55:12
Operating System Version:
Microsoft Windows Server 2008 Enterprise Edition, on x64
Version 6.0 (Build 6002: Service Pack 2)
Process id: 3648
Description:
** Running with the following parameters **
2013-03-22 12:55:12 INFO OGG-03035 Operating system character set identifie
d as windows-1252. Locale: en_US, LC_ALL:.
Source Context :
SourceModule : [er.init]
SourceID : [er/init.cpp]
SourceFunction : [get_infile_params]
SourceLine : [2812]
ThreadBacktrace : [7] elements
: [E:\ggs\gglog.dll(??1CContextItem@@UEAA@XZ+0x31
3f) [0x00000001801075AF]]
: [E:\ggs\gglog.dll(?_MSG_ERR_STARTUP_PARAMERROR_
ERRORTEXT@@YAPEAVCMessage@@PEAVCSourceContext@@PEBDW4MessageDisposition@CMessage
Factory@@@Z+0xd3) [0x000000018003E893]]
: [E:\ggs\extract.exe(ERCALLBACK+0x153c5) [0x0000
0001400AC3A5]]
: [E:\ggs\extract.exe(shutdownMonitoring+0x1b683)
[0x00000001400E0F33]]
: [E:\ggs\extract.exe(VAMRead+0x92280) [0x0000000
14032D0B0]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThun
k+0xd) [0x0000000077A9B1BD]]
: [C:\Windows\system32\ntdll.dll(RtlUserThreadStart+0x
21) [0x0000000077BD6861]]
2013-03-22 12:55:12 ERROR OGG-00303 Unrecognized parameter.
2013-03-22 12:55:12 ERROR OGG-01668 PROCESS ABENDING.never mind, it's just a parameter
-
Replicat Error Illegal Tandem file name while reading definition file
Hi All,
I have problem while running replicat on the target db2 database i have source db is Oracle database .
** Running with the following parameters **
2012-06-06 16:38:59 INFO OGG-03035 Operating system character set identified as ISO-8859-1. Locale: en_US, LC_ALL:.
--checkparams
REPLICAT REP01
TARGETDB b88, USERID db2b88, PASSWORD ********
2012-06-06 16:38:59 INFO OGG-03036 Database character set identified as ISO-8859-1. Locale: en_US.
2012-06-06 16:38:59 INFO OGG-03037 Session character set identified as ISO-8859-1.
SOURCEDEFS ./dirdef/source_ora4.def
Source Context :
SourceModule : [er.init]
SourceID : [/scratch/aime1/adestore/views/aime1_staoi06/oggcore/OpenSys/src/app/er/init.cpp]
SourceFunction : [get_infile_params]
SourceLine : [1550]
2012-06-06 16:38:59 ERROR OGG-00303 Problem at line 27. Illegal Tandem file name: SAPSR3./1CN/CBPSAP001.
2012-06-06 16:38:59 ERROR OGG-01668 PROCESS ABENDING.I Have Replicat Parameter :
--checkparams
REPLICAT REP01
TARGETDB b88, USERID db2b88, PASSWORD *******
SOURCEDEFS ./dirdef/source_ora4.def
--DDLERROR DEFAULT IGNORE
HANDLECOLLISIONS
--assumetargetdefs
MAP SAPSR3.*, TARGET SAPSR3.*;how to clear this isue..?
thanks, a lot
Riyas
Edited by: riyas on 06-Jun-2012 03:29Do you mean like this
this is full my replicat params
--checkparams
REPLICAT REP01
TARGETDB b88, USERID db2b88, PASSWORD kagome31
SOURCEDEFS ./dirdef/source_ora4.def
--DDLERROR DEFAULT IGNORE
HANDLECOLLISIONS
--assumetargetdefs
--SOURCEDEFS ./dirdef/source_ora2.def
--SOURCEDEFS ./dirdef/test_db.def
--MAPEXCLUDE SAPSR3.PATCHHIST
MAP SAPSR3.*, TARGET SAPSR3.*;
--MAP DB.*, TARGET db2b88.*;Edited by: riyas on 06-Jun-2012 03:19 -
Using Symbol Font in Pages/Keynote etc.
Here is a strange problem: Whenever I want to insert a greek character from Symbol font Pages (09 as well as 08, and Keynote ...) replaces it by some standard font (probably Helvetica). In effect, Symbol is not available. If I want to write a simple formula containig a greek character (as e.g a small beta) I have to use Mathtype or copy and paste from word. Good old Appleworks also works fine with Symbol font.
Can anybody help?? What am I doing wrong???Using the character pallette or activating the greek keyboard will of course do. It seems an awkwardly labourious way to me, though. If I understand you correctly there is no other way. Why would symbol font (which is not greek but symbol!) not work in the same way as e.g. Wingdings (Zapf Dingbats behaves just as symbol, though)? I Don't care for Unicode, but this, I think, is unfortunate.
It is the other way around - the way monotonic Greek and mathematics are drawn in Adobe PostScript is a disaster -:). It helps to read Inside Macintosh: Text, published in 1993, and the PostScript Language Reference Manual, first and second version.
How was monotonic Greek and mathematics drawn on the Apple LaserWriter in 1985? Well, it was drawn by depicting the glyphs for monotonic Greek and mathematics in the built-in Adobe Symbol font program dictionary onto Apple Roman.
Adobe PostScript provides two procedures to get from characters to glyphs, StandardEncoding and FontSpecific encoding. The latter encoding vector is used when the Adobe PostScript configurable name space that replaces a character set is used to overrule the operating system character set.
If you were typing monotonic Greek because you wanted to type Greek, and not because you wanted to type mathematics, you were in the ditch with this hack since the hack broke spelling, sorting and searching which are processes that are predicted on character codes.
Apple Royal, now Apple Advanced Typography, was a project that took two directions to address the problem of drawing to the display and the printer.
First, the CMAP Character Map was intended to include the characters for the writing systems of world scripts.
Second, the layout logic to map from characters to glyphs was intended to provide evaluatable appearances for stylistic alternates such as small capitals, superscripts, subscripts and ligatures.
Adobe PostScript is a one-to-one mapping model that by definition is incapable of protecting the source character string when drawing fine typography.
You may rest assured that the issue of interactive input methods is on the agenda for computer manufacturers. For instance, Microsoft failed in a bid to acquire Swiss keyboard maker Logitech in 2008.
/hh -
Replicat process abending with no error in logfile
Hi,
I m trying to replication from 11g to 10g on the same physical host. Below the replicat abending but unable to find the source of error in view GGSEVT logfile.
GGSCI (rhel5.4_prod) 8> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXTLOCAL 00:00:00 00:00:07
REPLICAT ABENDED REPLOCAL 00:00:00 18:12:27
2013-04-16 09:58:40 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start mgr.
2013-04-16 09:58:41 INFO OGG-00983 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started (port 7809).
2013-04-16 09:58:45 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extract extlocal.
2013-04-16 09:58:45 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host rhel5.4_prod (START EXTRACT EXTLOCAL ).
2013-04-16 09:58:45 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXTLOCAL starting.
2013-04-16 09:58:45 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, extlocal.prm: EXTRACT EXTLOCAL starting.
2013-04-16 09:58:45 INFO OGG-03035 Oracle GoldenGate Capture for Oracle, extlocal.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-04-16 09:58:46 INFO OGG-03500 Oracle GoldenGate Capture for Oracle, extlocal.prm: WARNING: NLS_LANG environment variable does not match database character set, or not set. Using database
character set value of US7ASCII.
2013-04-16 09:58:46 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, extlocal.prm: Virtual Memory Facilities for: BR
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/BR/EXTLOCAL.
2013-04-16 09:58:46 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, extlocal.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/dirtmp.
2013-04-16 09:58:46 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, extlocal.prm: Positioning to Sequence 22, RBA 18459664, SCN 0.1177097.
2013-04-16 09:58:46 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, extlocal.prm: Positioned to Sequence 22, RBA 18459664, SCN 0.1177097, Apr 15, 2013 4:21:50 PM.
2013-04-16 09:58:46 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, extlocal.prm: EXTRACT EXTLOCAL started.
2013-04-16 09:58:46 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from EXTRACT on host rhel5.4_prod (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ).
2013-04-16 09:58:46 INFO OGG-01677 Oracle GoldenGate Collector for Oracle: Waiting for connection (started dynamically).
2013-04-16 09:58:46 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from SERVER on host localhost.localdomain (REPORT 4714 7819).
2013-04-16 09:58:46 INFO OGG-00974 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started collector process (Port 7819).
2013-04-16 09:58:46 INFO OGG-01228 Oracle GoldenGate Collector for Oracle: Timeout in 300 seconds.
2013-04-16 09:58:51 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, extlocal.prm: Socket buffer size set to 27985 (flush size 27985).
2013-04-16 09:58:51 INFO OGG-01229 Oracle GoldenGate Collector for Oracle: Connected to rhel5.4_prod:11890.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000000 (byte -1, current EOF 1145).
2013-04-16 09:58:51 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing /u05/GG/dirdat/aa000000.
2013-04-16 09:58:51 INFO OGG-01055 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery initialization completed for target file /u05/GG/dirdat/aa000000, at RBA 1145.
2013-04-16 09:58:51 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, extlocal.prm: Output file /u05/GG/dirdat/aa is using format RELEASE 11.2.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000000 (byte 1145, current EOF 1145).
2013-04-16 09:58:51 INFO OGG-01735 Oracle GoldenGate Collector for Oracle: Synchronizing /u05/GG/dirdat/aa000000 to disk.
2013-04-16 09:58:51 INFO OGG-01735 Oracle GoldenGate Collector for Oracle: Synchronizing /u05/GG/dirdat/aa000000 to disk.
2013-04-16 09:58:51 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing /u05/GG/dirdat/aa000000.
2013-04-16 09:58:51 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, extlocal.prm: Rolling over remote file /u05/GG/dirdat/aa000001.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000001 (byte -1, current EOF 0).
2013-04-16 09:58:51 INFO OGG-01053 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery completed for target file /u05/GG/dirdat/aa000001, at RBA 1018.
2013-04-16 09:58:51 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery completed for all targets.
2013-04-16 09:58:51 INFO OGG-01517 Oracle GoldenGate Capture for Oracle, extlocal.prm: Position of first record processed Sequence 22, RBA 18459664, SCN 0.1177097, Apr 15, 2013 4:21:50 PM.
2013-04-16 09:58:51 INFO OGG-00732 Oracle GoldenGate Capture for Oracle, extlocal.prm: Found crash recovery marker from thread #1 on sequence 23 at RBA 1040. Aborting uncommitted transactions
2013-04-16 09:58:56 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start replicat replocal.
2013-04-16 09:58:56 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host rhel5.4_prod (START REPLICAT REPLOCAL ).
2013-04-16 09:58:56 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT REPLOCAL starting.
2013-04-16 09:58:56 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, replocal.prm: REPLICAT REPLOCAL starting.
2013-04-16 09:58:56 INFO OGG-03035 Oracle GoldenGate Delivery for Oracle, replocal.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-04-16 09:58:56 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, replocal.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/dirtmp.
2013-04-16 09:58:56 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, replocal.prm: REPLICAT REPLOCAL started.Configuration
GGSCI (rhel5.4_prod) 9> view params mgr
PORT 7809
USERID ggs_owner, PASSWORD ggs_owner
PURGEOLDEXTRACTS /u05/GG/dirdat/ex, USECHECKPOINTS
GGSCI (rhel5.4_prod) 10> view params extlocal
extract extlocal
userid ggs_owner, password ggs_owner
setenv (ORACLE_HOME="/u03/app/oracle/product/11.2.0/db_1")
setenv (ORACLE_SID="PROD11G")
rmthost 192.168.1.9, mgrport 7809
rmttrail /u05/GG/dirdat/aa
TABLE TESTUSER.*;
GGSCI (rhel5.4_prod) 11> view params replocal
REPLICAT replocal
SETENV (ORACLE_HOME="/u02/app10g/oracle10g/product/10.2.0/db_1")
SETENV (ORACLE_SID="PROD10G")
SETENV (NLS_LANG="AMERICAN_AMERICA.US7ASCII")
ASSUMETARGETDEFS
USERID ggs_owner, PASSWORD ggs_owner
MAP TESTUSER.*, TARGET TESTUSER.*;Hi,
Not sure if you have created a definition file. Try if your source and target has a mismatch. Also, find below some additional parameters which will help in sorting out the issue:
DISCARDFILE :
Valid for Extract and Replicat
Use the DISCARDFILE parameter to generate a discard file to which GoldenGate can log records that it cannot process. Records can be discarded for several reasons. For example,
a record is discarded if the underlying table structure changed since the record was written to the trail. You can use the discard file to help you identify the cause of processing errors. Each entry in the discard file contains the discarded record buffer and an error code indicating the reason. GoldenGate creates the specified discard file in the dirrpt subdirectory of the GoldenGate installation directory. You can view it with a text editor or by using the following command in GGSCI.
VIEW REPORT
Where: is the fully qualified name of the discard file.
To prevent having to perform manual maintenance of discard files, use either the PURGE or APPEND option. Otherwise, you must specify a different discard file name before starting
each process run, because GoldenGate will not write to an existing discard file. To set an upper limit for the size of the file, use either the MAXBYTES or MEGABYTES option. If
the specified size is exceeded, the process will abend. Default By default, GoldenGate does not generate a discard file.
DISCARDROLLOVER:
Valid for Extract and Replicat
Use the DISCARDROLLOVER parameter to set a schedule for aging discard files. For long or continuous runs, setting an aging schedule prevents the discard file from filling up and
causing the process to abend, and it provides a predictable set of archives that can be included in your archiving routine.
When the DISCARDROLLOVER age point is reached, a new discard file is created, and old files are renamed in the format of ., where:
? is the name of the Extract or Replicat group
? is a number that gets incremented by one each time a new file is created, for
example: myext0.dsc, myext1.dsc, myext2.dsc, and so forth.
You can specify a time of day, a day of the week, or both. Specifying just a time of day (AT option) without a day of the week (ON option) generates a discard file at the specified time every day.
Default Disabled. No rules specified.
REPERROR:
Use REPERROR to specify an error and a response that together control how Replicat responds to the error when executing the MAP statement. You can use REPERROR at the MAP level to override and supplement global error handling rules set with the REPERROR parameter. Multiple REPERROR statements can be applied to the same MAP statement to
enable automatic, comprehensive management of errors and interruption-free replication processing.
DEFAULT Sets a global response to all errors except those for which explicit REPERROR statements are specified.
GETDELETES | IGNOREDELETES:
Valid for Extract and Replicat
Use the GETDELETES and IGNOREDELETES parameters to control whether or not GoldenGate processes delete operations. These parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
GETUPDATES | IGNOREUPDATES:
Valid for Extract and Replicat
Use the GETUPDATES and IGNOREUPDATES parameters to control whether or not GoldenGate processes update operations. The parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
GETINSERTS | IGNOREINSERTS:
Valid for Extract and Replicat
Use the GETINSERTS and IGNOREINSERTS parameters to control whether or not insert operations are processed by GoldenGate. The parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
Update the parameter file on target as
edit params <TARGET PARAM FILE>
REPLICAT rcreator
SOURCEDEFS /u01/app/oracle/product/goldengate/dirdat/defecreator
DISCARDFILE /u01/app/oracle/product/goldengate/dirdat/creator_err, purge
DISCARDROLLOVER ON saturday
USERID goldengate, PASSWORD AACAAAAAAAAAAAKAPATACEHBIGQGCFZCCDIGAEMCQFFBZHVC, ENCRYPTKEY default
REPERROR (DEFAULT, DISCARD)
IGNOREDELETES
IGNOREUPDATES
GETINSERTS
MAP meditate.life, TARGET CONSCIOUSNESS.tenure, &
COLMAP (PERSON_ID=HUMAN_ID, &
INITIALNAME=FIRSTNAME, &
ENDNAME=LASTNAME, &
BIRTH_DATE=DATE_OF_BITH, &
AGE_AT_DEATH=AGE_AT_TIME_OF_DEATH, &
DEED_ID_AT_DEATH=DEED_ID_AT_TIME_OF_DEATH), &
KEYCOLS (PERSON_ID, INITIALNAME,ENDNAME);
Now stop and start the replicat on target as:
GGSCI (goldengate) 9> stop replicat RCREATOR
Sending STOP request to REPLICAT RCREATOR ...
Request processed.
GGSCI (goldengate) 10> info all -
Hi,
My replicat process abended after delete command was issued on the source, reason being there isn't any unique, primarykeys as well as KEYCOLS value.
So now i want make goldengate read from another trailfile instead of existing trailfile,
ie gg is currently reading from rt000020 trailfile, so i want instruct gg to read from rt000021 trailfile.
Can anyone let me the solution for this.
Thanks,
Bharat DamarlaHi,
I tried to start with a particular RBA (99999855) from file rt000021 but still its reading from rt000020 only and failing that the specified RBA isnt found. Here is the error report
2012-09-04 07:52:17 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
REPLICAT rdw_drr
USERID goldgate, PASSWORD *********
HANDLECOLLISIONS
DBOPTIONS SUPPRESSTRIGGERS,DEFERREFCONST
ASSUMETARGETDEFS
--DDL INCLUDE ALL
--DDLERROR DEFAULT IGNORE RETRYOP
DISCARDFILE /u02/oradata/gg/discard,append
MAP rdw.*, TARGET rdw.*;
MAP rdw.remote_machines, TARGET rdw.remote_machines;
MAP rdw.mach_xfer_hist, TARGET rdw.mach_xfer_hist;
MAP rdw.meter_def, TARGET rdw.meter_def;
MAP rdw.module_type_def, TARGET rdw.module_type_def;
MAP rdw.OGG_TEST_PARTITION, target rdw.OGG_TEST_PARTITION KEYCOLS(FAULT_HISTOGRAM_HIST_ID);
2012-09-04 07:52:17 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u01/app/goldengate/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 2G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 4G
CACHESIZEMAX (strict force to disk): 3.41G
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Database Language and Character Set:
NLS_LANG = "AMERICAN_AMERICA.AL32UTF8"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "AL32UTF8"
** Run Time Messages **
Opened trail file */u02/oradata/gg/datacapture/rt000020* at 2012-09-04 07:52:17
Source Context :
SourceModule : [er.processloop]
SourceID : [scratch/aime1/adestore/views/aime1_adc4150256/oggcore/OpenSys/src/app/er/processloop.cpp]
SourceFunction : [process_extract_loop]
SourceLine : [873]
ThreadBacktrace : [7] elements
: [u01/app/goldengate/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x2aab838dd06e]]
: [/u01/app/goldengate/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ..
.)+0x2cc) [0x2aab838d944c]]
: [/u01/app/goldengate/libgglog.so(_MSG_ERR_ER_GENERIC_FAILURE(CSourceContext*, char const*, CMessa
geFactory::MessageDisposition)+0x31) [0x2aab838c12a9]]
: [u01/app/goldengate/replicat(process_extract_loop()+0x246e) [0x536cde]]
: [u01/app/goldengate/replicat(main+0x732) [0x548752]]
: [lib64/libc.so.6(__libc_start_main+0xf4) [0x343341d994]]
: [u01/app/goldengate/replicat(__gxx_personality_v0+0x322) [0x4be48a]]
2012-09-04 07:52:38 ERROR OGG-01028 Incompatible record (101) in /u02/oradata/gg/datacapture/rt000020, rba 99999855 (gett
ing header).
* ** Run Time Statistics ** *
Reading /u02/oradata/gg/datacapture/rt000020, current RBA 99999855, 0 records
Report at 2012-09-04 07:52:38 (activity since 2012-09-04 07:52:17)
No records were replicated.
2012-09-04 07:52:38 ERROR OGG-01668 PROCESS ABENDING. -
Golden Gate for mysql5.5 extract is Abended,and not error in the file
Dear All,
golden gate for mysql5.5 to oracle 11g,extract is Abended ,but there didn't have error in the log , And sometimes the successful extraction some records;
extract :
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
sqlexec "set names gbk;"
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama.merchants_member_card_customer;
datapump:
EXTRACT DPRD_M1
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
RMTHOST 192.168.2.57, MGRPORT 7089, compress --COMPRESSUPDATESETWHERE
RMTTRAIL /home/oracle/goldengate/dirdat/m1
NOPASSTHRU
TABLE mama.merchants_member_card_customer;
GGSCI>>info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPRD_M1 00:00:00 00:00:01
EXTRACT ABENDED EXT_M1 00:11:49 00:01:56
REPORT:
GGSCI>>view report ext_m1
Oracle GoldenGate Capture for MySQL
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
Linux, x64, 64bit (optimized), MySQL Enterprise on Apr 23 2012 05:23:34
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-09-29 18:38:08
Operating System Version:
Linux
Version #1 SMP Wed Jun 13 18:24:36 EDT 2012, Release 2.6.32-279.el6.x86_64
Node: M46
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 6322
Description:
** Running with the following parameters **
2013-09-29 18:38:08 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama100,PASSWORD ****************
sqlexec "set names gbk;"
Executing SQL statement...
2013-09-29 18:38:08 INFO OGG-00893 SQL statement executed successfully.
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama100.merchants_member_card_customer;
2013-09-29 18:38:08 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/goldengate/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 64G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 128G
CACHESIZEMAX (strict force to disk): 96G
Database Version:
MySQL
Server Version: 5.5.24-patch-1.0-log
Client Version: 6.0.0
Host Connection: 192.168.2.46 via TCP/IP
Protocol Version: 10
2013-09-29 18:38:08 INFO OGG-01056 Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Positioning to begin time 2013-9-29 06:26:18.
** Run Time Messages **
2013-09-29 18:38:08 INFO OGG-01516 Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
TABLE resolved (entry mama100.merchants_member_card_customer):
TABLE mama100."merchants_member_card_customer";
Using the following key columns for source table mama100.merchants_member_card_customer: id.
2013-09-29 18:38:08 INFO OGG-01054 Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Recovery completed for all targets.
ggsevt:
2013-09-29 18:38:08 INFO OGG-00963 Oracle GoldenGate Manager for MySQL, mgr.prm: Command received from GGSCI on host localhost (START EXTRACT EXT_M1 ).
2013-09-29 18:38:08 INFO OGG-00975 Oracle GoldenGate Manager for MySQL, mgr.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-00992 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-03035 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
2013-09-29 18:38:08 INFO OGG-00893 Oracle GoldenGate Capture for MySQL, ext_m1.prm: SQL statement executed successfully.
2013-09-29 18:38:08 INFO OGG-01815 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/goldengate/dirtmp.
2013-09-29 18:38:08 INFO OGG-00993 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 started.
2013-09-29 18:38:08 INFO OGG-01056 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 Oracle GoldenGate Capture for MySQL, ext_m1.prm: VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioning to begin time 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01516 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for all targets.
2013-09-29 18:38:09 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for target file /home/oracle/goldengate/dirdat/m1000002, at RBA 1435, CSN 000086|000000055512672.
2013-09-29 18:38:09 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for all targets.GGSCI>>info ext_m1 showch
EXTRACT EXT_M1 Last Started 2013-09-29 18:38 Status ABENDED
Checkpoint Lag 00:11:49 (updated 00:12:05 ago)
VAM Read Checkpoint 2013-09-29 18:26:18.665841
Current Checkpoint Detail:
Read Checkpoint #1
VAM External Interface
Startup Checkpoint (starting position in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Recovery Checkpoint (position of oldest unprocessed transaction in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Current Checkpoint (position of last record read in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Write Checkpoint #1
GGS Log Trail
Current Checkpoint (current write position):
Sequence #: 0
RBA: 917
Timestamp: 2013-09-29 18:30:55.655570
Extract Trail: dirdat/m1
CSN state information:
CRC: 20-82-1D-34
CSN: Not available
Header:
Version = 2
Record Source = A
Type = 8
# Input Checkpoints = 1
# Output Checkpoints = 1
File Information:
Block Size = 2048
Max Blocks = 100
Record Length = 20480
Current Offset = 0
Configuration:
Data Source = 5
Transaction Integrity = 1
Task Type = 0
Status:
Start Time = 2013-09-29 18:38:08
Last Update Time = 2013-09-29 18:38:08
Stop Status = A
Last Result = 0 -
Condition Profile Definition issue
Dear Experts,
I am setting up Event Driven GATP.
In SPRO, while setting up Qty. Assignment to ODL (QODL), I go to "Define Process Category for Quantity Assignment to Order Due List". And there I defined a "Condition Profile", then under this I should get option to define 'Fields' for setting up the condition like for material, Plant etc. But I am not getting 'Fields' folder.
Please let me know why I am not getting 'Fields' folder:
Is it because of some authorization issue with my user?
Or have I missed some setting?
I am in 7.0 version.
Regards
RinjuHi Rinju,
If the FIELDS folder won't display in the Dialog Structure for Condition Profiles in the IMG Activity Define Process Category for Quantity Assignment to Order Due Lists (QODL), here's a workaround:
In SE11 go to display the table view /SAPAPO/V_EDQAPP. Then in the menu (topmost menu of the screen) go to Utilities>Contents. A popup window will display entitled "<SYSTEM NO> dETERMINE WORK AREA:ENTRY". Select the condition profile you created in the IMG Activity Define Process Category for Quantity Assignment to Order Due Lists (QODL). After you ENTER, you will be at the FIELDS folder screen where you can enter the Field Name, Operator, Lower Charact. Value, Upper Charact. Value etc, by clicking 'Display/Change', New entries, etc. Enter as you would had the folder been in the IMG activty.
Hope this helps
Ramon -
OGG-00204,Missing TARGET specification.
Hi All,
I'm having some issues on my replicat process as I'm encountering this error "OGG-00204, MIssing TARGET specification" when I'm trying to start it,
my replicat parameter file includes "TARGET" on table mapping, am i missing something? please see below the error log and replicat parameters below.
i tried googling it but i don't have any luck on finding a solution, please help.
GG version
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Solaris, x64, 64bit (optimized), Oracle 11g on Apr 24 2012 01:48:54
DB version 11.2.0.1.0
ERROR LOG
2013-08-29 21:08:38 INFO
OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start replicat RPGRPA0A.
2013-08-29 21:08:38 INFO
OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host unknown (START REPLICAT RPGRPA0A ).
2013-08-29 21:08:38 INFO
OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT RPGRPA0A starting.
2013-08-29 21:08:39 INFO
OGG-00995 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: REPLICAT RPGRPA0A starting.
2013-08-29 21:08:39 INFO
OGG-03035 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Operating system character set identified as US-ASCII. Locale: en_US_POSIX, LC_ALL:.
2013-08-29 21:08:39 INFO
OGG-00506 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Both GETTRUNCATES and DDL replication are enabled.
2013-08-29 21:08:39 INFO
OGG-01815 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/ogg/ggs/dirtmp.
2013-08-29 21:08:39 INFO
OGG-00996 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: REPLICAT RPGRPA0A started.
2013-08-29 21:08:39 ERROR OGG-00204 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Missing TARGET specification.
2013-08-29 21:08:39 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: PROCESS ABENDING.
-bash-3.00$
REPLICAT PARAMETER
REPLICAT RPGRPA0A
getenv (ORACLE_SID)
USERID ggs_owner, &
PASSWORD AADAAAAAAAAAAAJANEMJKFJARJIFTJCHBABBCIBEQJNIGJVFIGQJAGGIHHTHTHAIGIUJPGSDTCOECFVA, &
ENCRYPTKEY clarityogg
ASSUMETARGETDEFS
DBOPTIONS DEFERREFCONST
DISCARDFILE ./dirout/dscrpgrpa0a.dsc, APPEND
APPLYNOOPUPDATES
GETTRUNCATES
--ERROR HANDLING
REPERROR (-1, EXCEPTION)
REPERROR (-1403, EXCEPTION)
DDLERROR DEFAULT IGNORE RETRYOP
--OPTIMIZATION
BATCHSQL
GROUPTRANSOPS 2000
--DDL REPLICATION
DDL &
INCLUDE OBJNAME "SCHEMA2.APRTEMP" &
INCLUDE OBJNAME "SCHEMA2.AWAIT_TASK4" &
INCLUDE OBJNAME "SCHEMA2.BASH_CUSTOMER_RBG" &
INCLUDE OBJNAME "SCHEMA2.BC_CBG" &
EXCLUDE INSTR 'AS SELECT'
--TABLE REPLICATION
SEQUENCE SCHEMA2.*;
MAP SCHEMA1.APRTEMP, TARGET SCHEMA2.APRTEMP;
MAP SCHEMA1.AWAIT_TASK4, TARGET SCHEMA2.AWAIT_TASK4;
MAP SCHEMA1.BASH_CUSTOMER_RBG, TARGET SCHEMA2.BASH_CUSTOMER_RBG;
MAP SCHEMA1.BC_CBG, TARGET SCHEMA2.BC_CBG;
Thanks a lot
VillyFound the answer, i just removed sequence schema2.* and the replicat runs fine.
-
OGG-00868 SQL Server 2008 has problem with ODBC in the EXTRACT process
Hello Everyone
I want to replicate tables between MS SQLServer 2008 and Oracle 10g
I have Windows XP / MS SQLServer 2008 and Oracle Database 10g R 10.2.0.1.0 running on Red Hat Linux
I followed the steps from the white paper (http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html)
and Installed Oracle Golden Gate Version 11.2.1.0.1 (for Linux) and the Version 11.2.1.0.1 32bits (for Windows XP)
I followed all steps of the white paper without problem and I could do the initial load in
the Oracle Database from SQL Server sucessfully.
But when I tried to set and start the Extract process from SQL SERVER
a error was generated in the file c:\gg\dirrpt\MSEXT.rpt and the process is ABENDING
GGSCI > info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 03:22:29
2013-08-25 11:59:41 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messag).
2013-08-25 11:59:41 ERROR OGG-01668 PROCESS ABENDING.
If somebody has a clue or faced something similar please let me how could solve it.
Thanks
JuanHello mb_ogg,
Yes, I had created a Data Source HR Driver= SQL Server (second Tab System DSN) and I also had tried with
the driver SQL Server Native Client 10.0 but I faced the same error.
The database by default is EMP
Below is my configuration
Microsoft SQL Server ODBC Driver Version 03.85.1117
Data Source Name: HR
Data Source Description:
Server: JUAN-XP
Database: EMP
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Integrated Security: Yes
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
I also clicked on the button "Test Data Source" with the below messages:
Microsoft SQL Server ODBC Driver Version 03.85.1117
Running connectivity tests...
Attempting connection
Connection established
Verifying option settings
Disconnecting from server
TESTS COMPLETED SUCCESSFULLY!
Then I went to Database Properties (Right Click) /Oprtion and Recovery model field has Full value
I also made a Backup (Backup Type = Full)
The Backups was made to Disk: C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\EMP.bak
Today I repeated the same steps and I got the same error (I Copied at the end):
I also have the follow question:
Is necessary define the location of the backup of MS SQL Server to say to GG where it can get it?
GSCI (juan-xp) 1> DBLOGIN SOURCEDB HR
2013-08-27 21:16:32 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:16:32 INFO OGG-03037 Session character set identified as wind
ows-1252.
Successfully logged into database.
GGSCI (juan-xp) 3> ADD TRANDATA HRSCHEMA.EMP
Logging of supplemental log data is enabled for table hrschema.emp
GGSCI (juan-xp) 4> EDIT PARAMS DEFGEN
GGSCI (juan-xp) 5> exit
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:18:23
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3236
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
Source Context :
SourceModule : [defgen.main]
SourceID : [defgen/defgen.c]
SourceFunction : [create_defgen_file]
SourceLine : [808]
2013-08-27 21:18:23 ERROR OGG-00037 DEFSFILE file c:\gg\dirdef\emp.def alrea
dy exists.
2013-08-27 21:18:23 ERROR OGG-01668 PROCESS ABENDING.
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:19:03
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3312
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
sourcedb hr
2013-08-27 21:19:05 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:19:05 INFO OGG-03037 Session character set identified as wind
ows-1252.
table hrschema.emp;
Retrieving definition for hrschema.emp
Definitions generated for 1 table in c:\gg\dirdef\emp.def
C:\gg>ggsci
Oracle GoldenGate Command Interpreter for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 02:57:42
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (juan-xp) 1> start manager
MGR is already running.
GGSCI (juan-xp) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
GGSCI (juan-xp) 3> ADD EXTRACT MSEXT, TRANLOG, BEGIN NOW
EXTRACT added.
GGSCI (juan-xp) 4> ADD RMTTRAIL /u01/app/oracle/gg/dirdat/ms, EXTRACT MSEXT
RMTTRAIL added.
GGSCI (juan-xp) 5> EDIT MSEXT
ERROR: Invalid command.
GGSCI (juan-xp) 6> edit params msext
GGSCI (juan-xp) 7> START EXTRACT MSEXT
Sending START request to MANAGER ('GGSMGR') ...
EXTRACT MSEXT starting
GGSCI (juan-xp) 8> show all
Parameter settings:
SET SUBDIRS ON
SET DEBUG OFF
Current directory: C:\gg
Using subdirectories for all process files
Editor: notepad
Reports (.rpt) C:\gg\dirrpt
Parameters (.prm) C:\gg\dirprm
Replicat Checkpoints (.cpr) C:\gg\dirchk
Extract Checkpoints (.cpe) C:\gg\dirchk
Process Status (.pcs) C:\gg\dirpcs
SQL Scripts (.sql) C:\gg\dirsql
Database Definitions (.def) C:\gg\dirdef
GGSCI (juan-xp) 9> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 00:02:34
GGSCI (juan-xp) 10> EDIT MSEXT
Report MSEXT.rpt with same error
Oracle GoldenGate Capture for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:49:54
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:30:26
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 2452
Description:
** Running with the following parameters **
2013-08-27 21:30:26 INFO OGG-03035 Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
EXTRACT MSEXT
SOURCEDB HR
2013-08-27 21:30:28 INFO OGG-03036 Database character set identified as windows-1252. Locale: en_US.
2013-08-27 21:30:28 INFO OGG-03037 Session character set identified as windows-1252.
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
RMTHOST OCM, MGRPORT 7809
RMTTRAIL /u01/app/oracle/gg/dirdat/ms
TABLE HRSCHEMA.EMP;
2013-08-27 21:30:28 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\gg\dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 1G
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1.57G
CACHESIZEMAX (strict force to disk): 1.41G
Database Version:
Microsoft SQL Server
Version 10.00.1442
ODBC Version 03.52.0000
Driver Information:
SQLSRV32.DLL
Version 03.85.1117
ODBC Version 03.52
Source Context :
SourceModule : [ggvam.param]
SourceID : [../gglib/ggvam/cvamparams.cpp]
SourceFunction : [com_goldengate_vam::validateIfSqlServer]
SourceLine : [1955]
2013-08-27 21:30:28 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system admi).
2013-08-27 21:30:28 ERROR OGG-01668 PROCESS ABENDING.
Thanks
Juan
Maybe you are looking for
-
How can I put a "esc" character in the command line of the Iinstrument I/O Assistant?
Hello I'm trying to prepare a VI for a device (Ultrasonic detector) connected to my RS-232 serial port, and which requires commands and enquires in the format The problem is very simple....since is a non printable character, how can I put it in the c
-
Zen Micro 2.20.05 and Undocking method
Well I upgraded to 2.20.05 and I am happy to report it is working great and synching great with my Yahoo music subscription! I didn't even lose any songs during the upgrade. My question is that when I undocked after the upgrade I still got the bad "f
-
BO XI applet's saveAs url parameters
Post Author: Federico Schnabel CA Forum: Migration to XI R2 Hi, I'm trying to migrate 6.5 to XI R2 and I'm completely new to Web Intelligence API. I want to create a new document in Java Report Panel applet and pass storageToken of that document to t
-
MM-SRV-SUS: Setting for Service Procurement SRM7.0 ECC 6.0 Ehp4
Hello, I have to implemente the service procurement scenario between MM and SUS. Can you explain me what are the main settings that I have to make in order to implement the service procurement scenario ? It'is very irgent. Please help me. Good work,
-
I have a user with a BB 8130 (Verizon) who complains that every time he travels out of his local area, the messages on his BB disappear. Unfortunately, he is in a remote office, so I haven't actually seen his handheld. I had the local admin in that