Shell Script CONCSUB Utility Completion Status

Hi All ,
I'm trying to call a concurrent program from a shell script using CONCSUB utility. Is there a way to wait for the concurrent program to be completed in the shell script and get the RETCODE value which the concurrent program is returning?
My Current Code is something like this:
     v_conc_request2=`CONCSUB XXCONC/xfunct1on '"'$APPL_SHORT_NAME'"' '"'$RESP_NAME'"' \
                         $userName WAIT=15 CONCURRENT XXXX XXCXXXXXX \
                         '"'$CURRDATE'"' '"'ALL-XXXPRD'"'`
     v_conc_id2=`echo $v_conc_request2 | cut -f3 -d" "`
     echo "v_conc_id2: "$v_conc_id2
if [ $? -ne 0 ]; then
          errorMessage="Error while submitting the concurrent request for Downstream"
          echo $errorMessage
          echo $errorMessage | mailx -s "Automated Currency Rates Load Failure- DownStream" -n "$email"
          exit 1
else
echo "Concurrent Program Successfully submitted for ALL Downstream Environments"
     fi
fi
This is working fine but its only getting the request id i want to get the return status of the concurrent program. Since my logic is based on the return status of the concurrent program i need to do some logic.
Appreciate your help on this one.
Thanks in advance!

for those who wanted the solution, here it is..
v_conc_request1=`CONCSUB XXCONC/xfunct1on '"'$APPL_SHORT_NAME'"' '"'$RESP_NAME'"' \
$userName WAIT=15 CONCURRENT XXXX XXXXGEDLRTLD \
'"'$CURRDATE'"' '"'XXXXX'"'`
v_conc_id1=`echo $v_conc_request1 | cut -f3 -d" "`
echo "v_conc_id1: "$v_conc_id1
CONC_STATUS=`sqlplus -s $1 <<!
SET feedback OFF;
SET head OFF;
SET pages 0;
SET lines 300;
SET feedback OFF;
SET term OFF;
WHENEVER SQLERROR EXIT FAILURE;
SELECT phase_code || ',' ||
status_code
FROM FND_CONCURRENT_REQUESTS fcr
WHERE request_id = $v_conc_id1;
exit
!`
export PHASE_CODE=`echo $CONC_STATUS | cut -d',' -f1`
export STATUS_CODE=`echo $CONC_STATUS | cut -d',' -f2`
echo phase_code : $PHASE_CODE
echo status_code : $STATUS_CODE
if [ "$PHASE_CODE" = 'C' ] && [ "$STATUS_CODE" = 'E' ]; then
errorMessage="Error while submitting the concurrent request for XXXX"
echo $errorMessage
echo $errorMessage | mailx -s "Automated XXXCurrency Rates Load Failure- XXXX" -n "$email"
exit 1
else
echo completed normally
fi
Edited by: 876473 on Sep 8, 2011 6:29 AM

Similar Messages

  • Can't run shell script to save my life

    Hello,
    I have a shell script which I need Java to start. When I pass the parameters in Java I get an exit value of 2. I never set an exit/error value of 2 in my code. What is even more strange, is that when I run the exact same strings I use in the processCommands array, the shell script starts and complete just fine. I have even tried commenting out getting the exitValue just in case my little script wasn't completely done.
    Here is the code.
                    ArrayList<String> processCommands = new ArrayList<String>();
                    processCommands.add(processorString);
                    processCommands.add(dropboxString);
                    processCommands.add(name);
                    for (String string : processCommands)
                        System.out.print(string + " ");
                    System.out.println("");
                    ProcessBuilder processor = new ProcessBuilder();
                    processor.command(processCommands);
                    Process ProcessPdf = null;
                    ProcessPdf = processor.start();
                    ProcessPdf.waitFor();
                    int exitValue = ProcessPdf.exitValue();
                    System.out.println("Exit Value: " + String.valueOf(exitValue));The input I am working with is:
    //home//adynammic//userfiles//demo//dropbox//process.sh
    //home//adynammic//userfiles//demo//dropbox
    s5.pdf
    The shell script even runs from the command line with all the extra slashes. I am running an Ubuntu system if that helps.
    Your help is greatly appreciated,
    Chem E

    There are a number of things that can be going wrong.
    First, get rid of the extra slashes. They're probably not causing a problem, but there's no need for them, and we might as well eliminate that variable.
    Is that shell script executable by the user that's running your Java code?
    Does the shell script start with a line like
    #!/bin/shwhere /bin/sh is the full path to a valid shell such as bash, zsh, tcsh, etc.?
    Is that shell listed in /etc/shells?
    (Yes, I know, since it works from the command line, this stuff shouldn't be an issue, but, again, let's eliminate variables, just to be sure.)
    Does that script assume some environment variables or pwd that might not be present when running from your Java code?
    Which of those 3 commands gives the exit status of 2? Start with just one of them, and don't add the others until you get that one working.

  • Data guard monitoring shell script

    uname -a
    Linux DG1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Hi Guys,
    I am looking for a shell script that i can cron ,which monitors dataguard env (10g and 11g )and sent email alerts if DR go out of sync say by 10 or 15 logs
    i found couple on the net but not working for some reason
    http://emrebaransel.blogspot.com/2009/07/shell-script-to-check-dataguard-status.html
    if you guys have some please share

    You are using an advanced version of Oracle and want to plug an obsolete script into it??
    Why not just monitor the Data Guard with EM or Grid Control and setup emails in there? It is 100% more reliable than anything else.

  • Using rsh within shell script unable to run CONCSUB utility.

    I am writing a shell script which will connect to the application server from my DB server.
    I am using RSH for the same and it is working. Now I want to submit Active Users Request using CONCSUB but
    I am not finding correct syntax for the same.
    I am able to execute adstpall.sh using the below combination of commands:
    rsh <server> ". <SCRIPT_LOCATION>/adstpall.sh apps/paswd" > /usr/admin/scripts/my_direc
    Similarly I want to execute CONCSUB but I am not finding the exact syntax for its execution from rsh.
    Thank you very much.

    Hi,
    Thank for the note IDs. But the issue is I am trying to connect to my application server from the DB server using RSH.
    After connecting I am starting the application services using adstrtal.sh and post which I intend to do sanity check
    by submitting Active Users from backend using CONCSUB utility.
    I am getting the below message when trying to do so:
    CONCSUB APPS/****** SYSADMIN "System Administrator" SYSADMIN WAIT=Y CONCURRENT FND FNDSCURS PROGRAM_NAME='"Active Users"'
    ++ CONCSUB APPS/******* SYSADMIN 'System Administrator' SYSADMIN WAIT=Y CONCURRENT FND FNDSCURS 'PROGRAM_NAME="Active Users"'
    /oracle/admin/scripts/U_D/abc123/CONCSUB.sh: line 3: CONCSUB: command not found
    I am able to execute CONCSUB within a shell script on my application server though (just placing the CONCSUB command within a file and executing it).
    CONCSUB APPS/******* SYSADMIN "System Administrator" SYSADMIN WAIT=Y CONCURRENT FND FNDSCURS PROGRAM_NAME='"Active Users"'
    + CONCSUB APPS/******* SYSADMIN 'System Administrator' SYSADMIN WAIT=Y CONCURRENT FND FNDSCURS 'PROGRAM_NAME="Active Users"'
    Submitted request 11897805 for CONCURRENT FND FNDSCURS PROGRAM_NAME="Active Users"
    Normal completion
    ========
    Please guide.
    Thanks,
    Farheen Rasul.

  • Help Read:shell script using CONCSUB utility

    I have a shell script that will re registered as a conc prgm and then this shell script will inturn call another CONC PGM which is a report. Due to some secuirty issues we have to do this way,
    But my problem is the Printer parameters that are passed on to the shell script need to be passed to the conc pgm which generates the report..
    Plzz help me .. this is the code that calls the CONC PGM , which is a report
    NMHR_REQUEST_ID=`echo $FCP_LOGIN | cut -d"/" -f2 |
    CONCSUB APPS "$RESP_APPL_NAME" "$P_RESP_NAME" $USERNAME WAIT=Y CONCURRENT $APPL_NAME '"TAX_EXEMPT"' "$P_LOCATION"` PRINTER='"$VAL_PRINTER"' NUMBER_OF_COPIES='"$VAL_NOC"' PRINT_STYLE='"$VAL_PRINT_STYLE"' LANGUAGE='"$VAL_LANGUAGE"'
    Plzz help. if there is anything wrong..
    Thanks in advance..

    Hi,
    Following is the sample for using printer setting.
    CONCSUB apps/apps
    SYSADMIN "System Administrator" SYSADMIN
    WAIT=Y
    CONCURRENT FND FNDSCARU
    LANGUAGE=FRENCH
    PRINTER=hplj4l
    NUMBER_OF_COPIES=1
    PRINT_STYLE=LANDSCAPE
    What is the error message?
    Regards
    Prashant Pathak

  • Shell script using CONCSUB utility

    I'm trying to run a shell script using CONCSUB. I've checked several documents on metalink related to CONCSUB but didn't find an example to run a shell scripts using CONCSUB. Can someone post an example please. I would really appreciate it.

    From Metalink note 240718.1
    For a concurrent program defined via "Define Concurrent Program" form
    but submitted via CONCSUB, the following parameters can be used by CONCSUB :
    PRINTER=<printer name>
    NUMBER_OF_COPIES=<number of reports to be printed>
    PRINT_STYLE=<printer style to be used>
    LANGUAGE=<language to be used>
    Sample:
    CONCSUB apps/apps SYSADMIN "System Administrator" SYSADMIN \
    WAIT=Y CONCURRENT FND FNDSCARU LANGUAGE=FRENCH \
    PRINTER=hplj4l NUMBER_OF_COPIES=1 \
    PRINT_STYLE=LANDSCAPE
    Note: the others parameters which can be used with CONCSUB
    are described in the "System Administration User Guide" as follow :
    $ CONCSUB <APPS username>/<APPS password> \
    <responsibility application short name> \
    <responsibility name> \
    <username> \
    [WAIT=N|Y|<n seconds>] \
    CONCURRENT \
    <program application short name> \
    <program name> \
    [PROGRAM_NAME=<description>] \
    [REPEAT_TIME=<resubmission time>] \
    [REPEAT_INTERVAL= <number>] \
    [REPEAT_INTERVAL_UNIT=< resubmission unit>] \
    [REPEAT_INTERVAL_TYPE=< resubmission type>] \
    [REPEAT_END=<resubmission end date and time>] \
    [START=<date>] \
    [IMPLICIT=< type of concurrent request> \
    [<parameter 1> ... <parameter n>]
    For parameters that follow the CONCURRENT parameter and include
    spaces, enclose the parameter argument in double quotes, then again in
    single quotes.

  • Problem while calling concsub from shell script

    Hi All,
    I am facing problem when I am trying to run CONCSUB utility from shell script.The same works well when I try it from command line.The only prob I am facing from shell script is assigning values to temporary variables.
    This is how my script looks
    #!/bin/bash
    export PARM5="$5"
    export PARM6="$6"
    export PARM7="$7"
    echo "INTPARM5=\"$PARM5\""
    echo "INTPARM6=\"$PARM6\""
    echo "INTPARM7=\"$PARM7\""
    echo $FND_TOP/bin/CONCSUB $1 ONT 'Order Management Super User, Vision Operations (USA)' $3 WAIT=Y CONCURRENT ONT $PROGRAM "$INTPARM5" "$INTPARM6" "$INTPARM7"When I try to run the above shell based concurrent program it doesn't pass the parameters as expected and it errors out saying "Wrong number of arguments to call the procedure"
    I tried my luck from some of the previous posts ({thread:id=2360776} ),but to vain
    If anyone has any ideas,please suggest!!
    Thanks in advance!!
    Edited by: sandy on May 4, 2013 12:54 PM

    Here are your proofs
    Proocedure
       PROCEDURE abc(--p_errbuf            OUT   VARCHAR2,
                                                --p_errcode           OUT   VARCHAR2,
                                 p_order_no          IN    NUMBER DEFAULT NULL,
                                                p_customer_id       IN    NUMBER DEFAULT NULL,
                                 p_name              IN    VARCHAR2 DEFAULT NULL
          IS
                    v_cname    VARCHAR2(200);
               v_ordered_date DATE;
               v_order_number  NUMBER;
              v_order_type    VARCHAR2(200);
    BEGIN
                fnd_file.put_line(fnd_file.output, 'Begin Execution');
       SELECT DISTINCT ac.customer_name,
                    d.ordered_date ordered_date,
                    d.order_number order_number,
                    x.NAME order_type
            INTO   v_cname
               ,v_ordered_date
               ,v_order_number
               ,v_order_type
               FROM oe_order_headers_all d,
                    oe_transaction_types_tl x,
                    wsh_delivery_details b,
                    wsh_delivery_assignments c
                    ,ar_customers ac
              WHERE 1 = 1
                AND ac.customer_id = b.customer_id
                AND d.order_type_id = x.transaction_type_id
                AND x.LANGUAGE = 'US'
                AND b.released_status = 'B'
                AND b.source_header_id = d.header_id
                AND c.delivery_detail_id = b.delivery_detail_id
                AND d.order_number=NVL(p_order_no,d.order_number)
                AND ac.customer_id = NVL(p_customer_id,ac.customer_id)
             AND x.name=NVL(p_name,x.name)
                AND NOT EXISTS (SELECT 1
                                FROM wsh_delivery_details b
                               WHERE 1 = 1
                                      AND b.released_status != 'B'
                                      AND b.source_header_id = d.header_id)
                                       --BETWEEN ('1213794') and ('1213797'))
                AND rownum<2;
            INSERT INTO xxc_temp(customer_name,ordered_date,order_number,order_type) VALUES(v_cname,v_ordered_date,v_order_number,v_order_type);
            COMMIT;
             fnd_file.put_line(fnd_file.output, 'Order Number is' || v_order_number);
             fnd_file.put_line(fnd_file.output, 'Order Type is'   || v_order_type);
       END;Script
    #!/bin/bash
    set -x
    export PARM5="$5" 
    export PARM6="$6"
    export PARM7="$7"
    sqlplus -s $1 <<EOF
    set head off feed off serverout on size 1000000
    exec abc('$PARM5','$PARM6','$PARM7');
    exit
    EOFNow when I run the 'XX Order Detail CSV Report' I get the below log and no Output
    +---------------------------------------------------------------------------+
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXKES_PDF_TRANSFER module: XX Order Detail CSV Report
    +---------------------------------------------------------------------------+
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+
    + export PARM5=66432
    + PARM5=66432
    + export PARM6=
    + PARM6=
    + export PARM7=Mixed
    + PARM7=Mixed
    + sqlplus -s APPS/APPS
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0
    +------------- 1) PRINT   -------------+
    Disabling requested Output Post Processing.  Nothing to process.  The output of the request is zero byte.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+After the concurrent program executed I queried the table xxc_temp and here you see the data
    SQL> select * from xxc_temp;
    CUSTOMER_NAME
    ORDERED_D ORDER_NUMBER ORDER_TYPE
    A. C. Networks
    18-FEB-13        66432 MixedMy procedure fetches the data fro given set of i/p parameters but it doesn't give o/p coz it's a host based conc program.Please advise if there's a way to get the o/p in a host based conc program
    Thanks!!

  • Error while submitting a conc program through CONCSUB in shell script

    Hi All,
    I am working on 11.5.10.2.
    I have a shell script from which I am calling a concurrent program using CONCSUB utility as below
    CONCSUB $p_login $p_resp_appl_short_name "$p_resp_name" $p_user_name CONCURRENT $p_conc_appl_short_name $p_conc_prog_name "ABC" $v_seq_num
    There are two types of error I am getting:
    1. When I am submitting it from Order Management Super User it is giving error
    Please enter a valid responsibility. The responsibility Order Management Super User does not exist or is not active. Check that the correct application short name is specified for your responsibility.
    2. When I am submitting it from some custom responsibility I am getting following error
    Cannot submit concurrent request for program APPS/APPS0
    Check if the concurrent program is registered with Application Object Library.
    Check if you specified the correct application short name for your concurrent program.
    Cannot submit your concurrent request
    Please suggest me the possible cause of the error.
    Thanks
    Vishalaksha

    It is solved now. In the script I had p_data_file_path=$10 instead of p_conc_prog_name=${10}. This is the reason I was not getting the right concurrent program name as input parameter.
    Thanks
    Vishalaksha

  • Shell script directed to one Dynamic Dashboard to monitor status of all DB

    Hi team,
    straight to scenario now..
    I have 15 databases to manage..i wrote shell scripts for monitoring each database status of ping,listener,vnc server, concurrent server, forms server, metric server, workflow, filesystem usage, alert-log etc..
    Now each and every time i will get 15 mails for one database each half n hour and it will get filled for sure if i get many alerts at single time...i thought of having a dashboard where my script output should display alerts on 3-D pie chart, bar chart etc..
    Imagine all databases statuses on one dashboard with colours displaying peaks and lows also the data gets dynamic changes every 30 mins.....
    charts will let me know to fix the issue easier..so next time i wont care how many mails reach me i will look up to dashboard and can observe what went wrong...
    please let me know any third party software available or self oracle or linux tools available.....
    hope anyone would give me suitable solution
    thanks
    dkoracle

    AFAIK Grid Control is completely free*, you just have to be careful to not go into the pages that require Management Pack licensing if you haven't purchased them for the DBs you're monitoring.
    Personally I have always used a combination of GC and shell script alerts. You don't want the GC environment to be your SPoF.
    *other than the associated server costs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to use CONCSUB program in shell script program

    I have to write a shell script which will further call the concurrent program.
    My concurrent program is having 3 parameters. Plz send some suggestion
    R's
    Vijay

    Pl use the search feature to locate threads that have discussed this issue before. Some examples -
    Re: modify .out file
    Re: shell script using CONCSUB utility
    HTH
    Srini

  • Exit status running java classpath in a unix shell script

    I'm new to putting java into unix scripts. I have a java classpath running inside of a unix shell script. During my testing it will error with java.io.FileNotFoundException error, which I know why that is, but when I set in my unix shell script this to see the right exit status of success/fail, it always shows a 0 for success when that isn't really the case. Below is the two lines I have set to capture the exit status and just display that exit status for now.
    notifycode=$?
    echo $notifycode
    I have these 2 lines above on a line right below my java command in my unix shell script. How can I get my unix shell script to show the right exit status if the java classpath command fails? Thanks for any help.

    That's Java code, it says "End this Java application and send return code 1 back to the shell". As for how the shell gets the return code from the application, that's a question about your shell and not about Java programming, no?

  • How to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also

    how to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also

    032ee1bf-8007-4d76-930e-f77ec0dc7e54 wrote:
    how to run 3 job(a,b,c) parallel in unix shells script and after will complete d will start  and we have to handle the error also
    Please don't overwhelm us with so many details!  
    Just off the top of my head ... as a general approach ... something like
    nohup proca
    nohup procb
    nohup procc
    while (some condition checking that all three procs are still running ... maybe a ps -ef |grep  )
    do
    sleep 2
    done
    procd
    But, we'd really need to know what it is you are really trying to accomplish, instead of your pre-conceived solution.

  • Shell Script for db status

    Dear experts,
    I have to do the below requirments can you please help me on this,
    i have to check the database status on every 2 hour intravel, i need a shell script to check the database status whether up or down, if the status is up i have to call .sql file , if the status is down the mail will be sent to dba team with mailx functionality, can any one plz help me on this? this requirment needs to be used only shell script code. thanks in advance
    Os is AIX
    db version 11.2.0.2

    I can think of a few ways this can mislead...
    expired password
    mail problems (both mail not working, and too much mail on Monday...)
    network problems (for example, db can be up and working, but that client can't get there - false negative)
    Client dead, or process can't start (false postive - no mail, therefore no problem)
    Login storm (so only some new connections rejected, random false negative or false positive)
    Listener down or related login problems, device with executables offline, out of horsepower - users still working, but no new logins.
    Multiple problems (I've seen more than once, both phone lines and power fail, no notification sent)
    Error not discriminatory enough - the email should at least send the error it got.
    False positive - only script can get to db, users can't with modern tiered architecture.
    client tnsnames.ora not available or corrupted.
    Nothing wrong with having a script, you just have to watch the requirements and definitions. More sophisticated solutions have problems too. In the end you have to decide what the operational priorities are. Two hours down might be OK at 4AM but not at 6. You also don't want to stretch the limits of an UPS.

  • Why execution status of stored procedure in shell script is returning same?

    Hi Friends,
    My shell script has below code to execute Pl/Sql procedure.depending on pl/sql procedure status i need to execute the script further.
    i am testing error condition.So i kept exe instead of exec for executing procedure.it suppose to return non zero.But iam not getting the correct status in shell script using $?.
    even for error condition also status is returning zero(0).How to catch execution status of stored procedure in shell script?
    can you please me suggest whats is wrong in below code?
    echo "*************************************************************"
    echo "             cleaning replica tables"
    echo "*************************************************************"
    sqlplus -s migrat/****@dotis01<<ENDOFSQL
    WHENEVER SQLERROR EXIT 1;
    exe PKG_OTU_HELPER.SP_CLEANUPREPLICA;
    Commit;
    exit;
    ENDOFSQL
    status=$?
    echo $status // showing 0 always.
    +if [ $status -ne 0 ]+
    then
    echo "issues in cleaning in replica tables"
    exit;
    fi
    +#Loading of data from flat files to migration tables using sqlldr programs+
    echo "*************************************************************"
    echo "      Loading of data from flat files to migration tables"
    echo "*************************************************************"
    sh /opt/finaclesoftware/UBS_10.4.02_AIX/AIX/DB/CRM/Oracle/OTU/Retail/ControlFiles/LoadData1.com
    Thanks,
    Venkat Vadlamudi

    The whenever sqlerror clause is a sqlplus command. When Oracle (that is, the sql engine of the pl/sql engine) raises and error in a sql statement, the whenever sqlerror command determines what happens.
    Exec is also a sqlplus command, exec <procedure> is shorthand for begin <procedure> end;, that is, it creates an anonymous block.
    Your misspelling of exec as exe is not an Oracle error, it is a sqlplus error. The command never actually gets to Oracle, so there has not been a sqlerror for whenever sqlerror to respons to.
    Consider, I do not have a procedure called p
    SQL> desc p
    ERROR:
    ORA-04043: object p does not existI try to call it with exe as in your code:
    SQL> exe p;
    SP2-0042: unknown command "exe p" - rest of line ignored.Note the error message is form sqlplus (SP2).
    But, if I call it correctly usinf exec:
    SQL> exec p;
    BEGIN p; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'P' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignorednow I have a sql error, and whenever sqlerror exit 1 would quit sqlplus with a return value of 1.
    John

  • Shell Script + GoldenGate (Logdump utility)

    Can anyone help me in this?
    As we know in oracle goldengate using Logdump utility we can retrieve the previous RBA by these commands.
    open <trail file>
    pos <current RBA>
    sfh prev
    it gives previous RBA
    Now I want to extract this RBA using shell script. And I want to save this RBA for the further use.
    Can anybody help me out?

    Pass in the RBA as input. Shift arguments, or prompt for user input.
    #!/bin/ksh
    ./logdump << EOF
    open ./dirdat/rt000016
    pos 0
    n
    EOF
    [oracle@oel32 ggs]$ chmod 744 dolog.ksh
    [oracle@oel32 ggs]$ dolog.ksh
    Oracle GoldenGate Log File Dump Utility
    Version 11.1.1.0.0 Build 078
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Logdump 253 >Current LogTrail is /u01/app/ggs/dirdat/rt000016
    Logdump 254 >Reading forward from RBA 0
    Logdump 255 >
    2011/02/16 21:39:05.787.043 FileHeader Len 1557 RBA 0
    Name: FileHeader
    3000 0416 3000 0008 4747 0d0a 544c 0a0d 3100 0002 | 0...0...GG..TL..1...
    0002 3200 0004 2000 0000 3300 0008 02f1 c2a6 6f00 | ..2... ...3.......o.
    7ea3 3400 0021 001f 7572 693a 6f65 6c33 323a 6163 | ~.4..!..uri:oel32:ac
    6d65 3a63 6f6d 3a3a 7530 313a 6170 703a 6767 7335 | me:com::u01:app:ggs5
    0002 7535 0000 2100 1f75 7269 3a6f 656c 3332 3a61 | ..u5..!..uri:oel32:a
    636d 653a 636f 6d3a 3a75 3031 3a61 7070 3a67 6773 | cme:com::u01:app:ggs
    3500 0021 001f 7572 693a 6f65 6c33 323a 6163 6d65 | 5..!..uri:oel32:acme
    Logdump 256 >[oracle@oel32 ggs]$

Maybe you are looking for